This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Running ranlib after installation - okay or not?
- From: Peter O'Gorman <peter at pogma dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: Ian Lance Taylor <ian at airs dot com>, Andrew Pinski <pinskia at physics dot uc dot edu>, gcc at gcc dot gnu dot org
- Date: Thu, 01 Sep 2005 12:16:23 +0900
- Subject: Re: Running ranlib after installation - okay or not?
- References: <Pine.BSF.4.62.0508311718400.22973@pulcherrima.dbai.tuwien.ac.at> <m3wtm2kmsh.fsf@gossamer.airs.com> <0b7e9f70d997eb3033872da5db37f4c8@physics.uc.edu> <m3slwplxoq.fsf@gossamer.airs.com> <m3k6i1lxd2.fsf@gossamer.airs.com> <Pine.BSF.4.62.0508312203410.22973@pulcherrima.dbai.tuwien.ac.at>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gerald Pfeifer wrote:
|>
|>Except that probably this has to get into libtool somehow or
|>something. Hmmm.
|
|
| Ouch, now you got me scared. I already started testing a patch to remove
| the ranlib invocations that are part of the installation, but I'm afraid
| that level of configury work described above execeed what I feel confident
| hacking.
|
| Is anyone else going to give it a try, or should it just file a Bugzilla?
Hi,
The problem is that libtool tries to run ranlib after install and that
ranlib can fail if the library is not writable? Note that on darwin running
ranlib on a 444 lib works and changes permissions to 644, remind me to file
a bug.
I would suggest continuing to run ranlib after install, but not failing if
it does not work. You need to look for the variable old_postinstall_cmds in
libtool.m4 and ltmain.m4sh (ltconfig and ltmain.sh in gcc??) and change
either how it is set or how it is run.
Another alternative would be to set RANLIB=: before configure if your system
does not need to ranlib anything.
Hope this helps,
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQxZyhriDAg3OZTLPAQIpWgP9Fm5SHXP2X8CnpH7AAMkbSIcviisART3h
r9D4sXo4xLB253Yw8hxPsO1I6lQBTSUGV6cpK9C6eZEzb20u5YlqILe8x1jM/DDN
njjYOeY3Z9u7BQ0azKB8kE9FLzquDlpJ1hzJoBeKYYomFwilt5xXI+e74SPsskGf
I2naJmvC+yA=
=qEgR
-----END PGP SIGNATURE-----