Errors install git-1.5.2.2 on 64-bit AIX
- From
- Dongsheng Song <dongsheng.song@gmail.com>
- Date
- Jun 20, 2007, 02:45 UTC
- Message-ID
- <4b3406f0706191945j1a489743qfacdcafd7f7d73d4@mail.gmail.com>
After I modified Makefile:
NO_OPENSSL=1 NO_CURL=1 NO_EXPAT=1
CFLAGS = -maix64 -g -O2 -Wall LDFLAGS = -b64 -lz AR = ar -X64
Make succeed:
bash-3.00# gnumake
GIT_VERSION = 1.5.2.2
* new build flags or prefix
CC convert-objects.o
...
SUBDIR perl
cp private-Error.pm blib/lib/Error.pm
cp Git.pm blib/lib/Git.pm
Manifying blib/man3/private-Error.3
Manifying blib/man3/Git.3
SUBDIR templates
gcc -maix64 -g -O2 -Wall -DNO_OPENSSL
-DSHA1_HEADER='"mozilla-sha1/sha1.h"'
-DETC_GITCONFIG='"/usr/git/etc/gitconfig"' -DNO_STRCASESTR
-DNO_STRLCPY -o test-chmtime -lz test-chmtime.c
gcc -maix64 -g -O2 -Wall -DNO_OPENSSL
-DSHA1_HEADER='"mozilla-sha1/sha1.h"'
-DETC_GITCONFIG='"/usr/git/etc/gitconfig"' -DNO_STRCASESTR
-DNO_STRLCPY -o test-genrandom -lz test-genrandom.cBut install failed:
bash-3.00# gnumake install
SUBDIR git-gui
SUBDIR perl
SUBDIR templates
install -d -m755 '/usr/git/bin'
getopt: illegal option -- d
getopt: illegal option -- 7
getopt: illegal option -- 5
getopt: illegal option -- 5
Usage: install [-c dira] [-f dirb] [-i] [-m] [-M mode] [-O owner]
[-G group] [-S] [-n dirc] [-o] [-s] file [dirx ...]
gnumake: *** [install] Error 2Thanks for some help.
--- Dongsheng