git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Errors install git-1.5.2.2 on 64-bit AIX
@ 2007-06-20  2:45 Dongsheng Song
  2007-06-20  3:21 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Dongsheng Song @ 2007-06-20  2:45 UTC (permalink / raw)
  Cc: Junio C Hamano, git

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.c

But 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 2

Thanks for some help.

---
Dongsheng

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Errors install git-1.5.2.2 on 64-bit AIX
  2007-06-20  2:45 Errors install git-1.5.2.2 on 64-bit AIX Dongsheng Song
@ 2007-06-20  3:21 ` Linus Torvalds
  2007-06-20  3:36   ` Dongsheng Song
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2007-06-20  3:21 UTC (permalink / raw)
  To: Dongsheng Song; +Cc: Junio C Hamano, Git Mailing List



On Wed, 20 Jun 2007, Dongsheng Song wrote:
> 
> But install failed:
> [ ... ]
> Usage: install [-c dira] [-f dirb] [-i] [-m] [-M mode] [-O owner]
>               [-G group] [-S] [-n dirc] [-o] [-s] file [dirx ...]
> gnumake: *** [install] Error 2

Do you possibly have a "ginstall" somewhere in addition to the GNU make?

If so, just make the "INSTALL" macro in the Makefile point to that instead 
of the (apparently totally broken) regular "install" program on AIX.

Maybe it's called "gnuinstall".

That said, the installation is really just a matter of copying, so you 
*could* just replace the uses of "install" with either "-mkdir" or "cp" 
depending on whether it's used to make sure a directory exists, or to 
actually copy the programs.

		Linus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Errors install git-1.5.2.2 on 64-bit AIX
  2007-06-20  3:21 ` Linus Torvalds
@ 2007-06-20  3:36   ` Dongsheng Song
  0 siblings, 0 replies; 3+ messages in thread
From: Dongsheng Song @ 2007-06-20  3:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Junio C Hamano, Git Mailing List

No "ginstall" or "gnuinstall". I will try compile coreutils-6.9 latter.

2007/6/20, Linus Torvalds <torvalds@linux-foundation.org>:
>
>
> On Wed, 20 Jun 2007, Dongsheng Song wrote:
> >
> > But install failed:
> > [ ... ]
> > Usage: install [-c dira] [-f dirb] [-i] [-m] [-M mode] [-O owner]
> >               [-G group] [-S] [-n dirc] [-o] [-s] file [dirx ...]
> > gnumake: *** [install] Error 2
>
> Do you possibly have a "ginstall" somewhere in addition to the GNU make?
>
> If so, just make the "INSTALL" macro in the Makefile point to that instead
> of the (apparently totally broken) regular "install" program on AIX.
>
> Maybe it's called "gnuinstall".
>
> That said, the installation is really just a matter of copying, so you
> *could* just replace the uses of "install" with either "-mkdir" or "cp"
> depending on whether it's used to make sure a directory exists, or to
> actually copy the programs.
>
>                 Linus
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-20  3:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-20  2:45 Errors install git-1.5.2.2 on 64-bit AIX Dongsheng Song
2007-06-20  3:21 ` Linus Torvalds
2007-06-20  3:36   ` Dongsheng Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).