Skip to content

Instantly share code, notes, and snippets.

@chauncey
Last active January 5, 2016 14:12
Show Gist options
  • Save chauncey/10756858 to your computer and use it in GitHub Desktop.
Save chauncey/10756858 to your computer and use it in GitHub Desktop.
AIX 5.3 compile Git
[chauncey@]$ cat config.mak
# git Makefile configuration, included in main Makefile
# @configure_input@
CC = gcc
CFLAGS = -I/usr/chris/include -I/usr/local/openssl-1.0.1j/include -I/usr/local/include -I/opt/freeware/include
CPPFLAGS = -I/usr/chris/include -I/usr/local/openssl-1.0.1j/include -I/usr/local/include -I/opt/freeware/include
LDFLAGS = -L/usr/chris/lib -L/usr/local/openssl-1.0.1j/lib -L/usr/local/lib -L/opt/freeware/lib
AR = /usr/bin/ar
TAR = /usr/chris/bin/tar
DIFF = @DIFF@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
#INSTALL = @INSTALL@ # needs install-sh or install.sh in sources
prefix = /usr/local
exec_prefix = /usr/local
bindir = /usr/local/bin
gitexecdir = /usr/local/lib/exec/git-core
datarootdir = /usr/local
template_dir = /usr/local/share/git-core/templates
sysconfdir = @sysconfdir@
docdir = /usr/local/share/doc
mandir = /usr/local/share/man
htmldir = @htmldir@
[chauncey@]$ make prefix=/usr/local NO_TCLTK=YesPlease
# p521
vi Makefile
# Take out OPENSSL chunks
# Add local to PYTHON_PATH
# save
./configure --with-curl=/usr/bin/curl
# p521
./configure --prefix=/usr/chris/ --with-curl=/usr/bin/curl --without-tcltk --with-python=/usr/local/bin/python2.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment