# git compile error on AIX

2 messages from 2008-11-14 to 2008-11-14. Participants: Dinakar, Junio C Hamano.
Thread: https://gitlist.dev/t/16333

## Dinakar, 2008-11-14 19:45

Subject: git compile error on AIX
Message-ID: <1226691918584-1499908.post@n2.nabble.com>
URL: https://gitlist.dev/e/1226691918584-1499908.post%40n2.nabble.com

```

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, 2008-11-14 20:21

Subject: Re: git compile error on AIX
Message-ID: <7v1vxe9hym.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v1vxe9hym.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <1226691918584-1499908.post@n2.nabble.com>

```
Dinakar <desas2@gmail.com> writes:

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

```
