threads / discuss / 16333

git compile error on AIX

Subject: git compile error on AIX

## tl;dr

2 messages between Nov 14, 2008 and Nov 14, 2008.

replies: 1people: 2as markdown or json

Dinakar· Nov 14, 2008, 19:45 UTC · lore
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

-- 
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.
Junio C Hamano· Nov 14, 2008, 20:21 UTC · re: Dinakar · lore

Re: git compile error on AIX

Dinakar <desas2@gmail.com> writes:
Show 5 quoted lines
> /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).

> 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"?

← back to recent threads