AIX 5.3 compile Vim 7.3
#!/usr/bin/zsh
export CONF_OPT_PYTHON='--enable-pythoninterp'
export CONF_OPT_GUI='--disable-gui'
export CONF_OPT_NETBEANS='--disable-netbeans'
export CONF_ARGS='--prefix=/usr/local'
make distclean
./configure $CONF_OPT_PYTHON $CONF_OPT_GUI $CONF_OPT_NETBEANS $CONF_ARGS
# If there is a message about Modules/python.exp not accessible
$ mkdir src/Modules
$ cd src/Modules
$ ln -s /usr/local/lib/python2.6/config/python.exp
$ ln -s /usr/local/lib/python2.6/config/makexp_aix
This is compiled with Python but no gui. I had to manually run export the EXTRA_LIBS in the shell before running the script that last time.
# gcc 4.2.0 (p522)
# Run this in the shell before configure
$ export EXTRA_LIBS=/usr/lib/libpthreads.a
# gcc 3.3.2 (p521)
$ export EXTRA_LIBS=/usr/lib/libpthreads.a
$ export LDFLAGS=-L/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2
# p521
./configure --disable-gui --enable-pythoninterp --disable-netbeans --disable-nls