Skip to contentSkip to conversation

git compile error on AIX

DISCUSSION Dinakar 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Dinakar

author
#0 lore raw

Hello:
I am trying to compile git-1.6.0 on AIX 5.3 with gcc (GCC) 4.2.3. I getting following error.
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
/usr/bin/getopt: Not a recognized flag: d
Usage: install [-c DirectoryA] [-f DirectoryB] [-i] [-m] [-M Mode] [-O Owner]

               [-G Group] [-S] [-n DirectoryC] [-o] [-s] File [DirectoryX

...]
gmake[1]: *** [boilerplates.made] Error 2
gmake: *** [all] Error 2

I would appreciate, if you could help me to resolve this issue.

Thank you.
Dinakar

Signature · 2 lines
View this message in context: http://n2.nabble.com/git-compile-error-on-AIX-tp1499908p1499908.html
Sent from the git mailing list archive at Nabble.com.
#1 lore raw
Quoted 5 lines · Dinakar

/usr/bin/getopt: Not a recognized flag: d
Usage: install [-c DirectoryA] [-f DirectoryB] [-i] [-m] [-M Mode] [-O Owner]

               [-G Group] [-S] [-n DirectoryC] [-o] [-s] File [DirectoryX

...]

Your "install" program is telling you that it does not understand 'd' option ("install -d" to create a directory, I presume).

Quoted 4 lines

gmake[1]: *** [boilerplates.made] Error 2
gmake: *** [all] Error 2

I would appreciate, if you could help me to resolve this issue.

An obvious solution would be to get a better install.

You seem to be using gmake, so perhaps you already have ginstall and can use it like "gmake INSTALL=ginstall"?