MacOS X 10.4.10 and Bash 3.2

2007-06-30 Thread Scott Dalton

After running /configure --exec-prefix=/bin (also tried
--prefix=/bin), make succeeds, but sudo make install fails:

...
fi
/usr/bin/install -c -m 0755 bash /bin/bin/bash
/usr/bin/install -c -m 0555 bashbug /bin/bin/bashbug
( cd ./doc ; make  \
   man1dir=/usr/local/man/man1 man1ext=.1 \
   man3dir=/usr/local/man/man3 man3ext=.3 \
   infodir=/usr/local/info htmldir= DESTDIR= install )
/bin/sh ../support/mkinstalldirs /usr/local/man/man1
/bin/sh ../support/mkinstalldirs /usr/local/info
if test -n "" ; then \
   /bin/sh ../support/mkinstalldirs  ; \
fi
/usr/bin/install -c -m 644 ./bash.1 /usr/local/man/man1/bash.1
/usr/bin/install -c -m 644 ./bashbug.1 /usr/local/man/man1/bashbug.1
/usr/bin/install -c -m 644 ./bash.info /usr/local/info/bash.info
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
   install-info --dir-file=/usr/local/info/dir /usr/local/info/bash.info; \
else true; fi
if test -n "" ; then \
   /usr/bin/install -c -m 644 ./bash.html  ; \
   /usr/bin/install -c -m 644 ./bashref.html  ; \
fi
( cd ./builtins ; make  DESTDIR= install )
make[1]: Nothing to be done for `install'.
( cd ./po/ ; make  DESTDIR= install )
test -z "[EMAIL PROTECTED] [EMAIL PROTECTED] ru.gmo" || make [EMAIL PROTECTED]
[EMAIL PROTECTED] ru.gmo
make[2]: [EMAIL PROTECTED]' is up to date.
make[2]: [EMAIL PROTECTED]' is up to date.
rm -f ru.gmo && : -c --statistics -o ru.gmo ru.po
mv: rename t-ru.gmo to ru.gmo: No such file or directory
make[2]: *** [ru.gmo] Error 1
make[1]: *** [stamp-po] Error 2
make: [install] Error 2 (ignored)
...

Notice how it is sticking an extra "/bin/" in there (third and fourth
lines down).

Does this appear to be a bug? I've read everything I can think of in
your docs, and also checked the web - appears not too many people have
considered upgrading their shell.

Host Info:
$ uname -a
Darwin Vortex.fidnet.com. 8.10.0 Darwin Kernel Version 8.10.0: Wed May
23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh
powerpc


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Re: MacOS X 10.4.10 and Bash 3.2

2007-06-30 Thread Andreas Schwab
"Scott Dalton" <[EMAIL PROTECTED]> writes:

> Notice how it is sticking an extra "/bin/" in there (third and fourth
> lines down).

This is as expected.  bindir is defined as $(exec_prefix)/bin, so you
get /bin/bin for bindir if exec_prefix is defined to /bin.  You either
want --bindir=/bin or --exec-prefix= (ie. empty).

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash