Amanda-Users

Re: can't make on Solaris 10: Failed make install!

2008-01-09 11:04:44
Subject: Re: can't make on Solaris 10: Failed make install!
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
Date: Wed, 09 Jan 2008 16:58:35 +0100
On 2008-01-09 16:39, Byarlay, Wayne A. wrote:
Yes; in fact here's a tall screen grab of the tail end of the make install:

[...]
ranlib /usr/local/lib/libamanda.a
../libtool: line 6226: ranlib: command not found
*** Error code 127

The program ranlib makes an index of the archive to speed up the
linking.  In modern compilers that is already done by the program
while creating the archive.  So it does not exist anymore.

I remember from a long time ago (> 8 years?) that on some platforms
for compiling open source I had to make a command "randlib" that
effectivily did:
    ar -s
or, if that would not work, simply:
    /bin/true


*But* how did you get there?  The "./Configure" program should have
already found out about that.
Did you do a "make distclean" andrun "./Configure" again, after you
changed your path?  If not, you probably are still running with
the (cached) configure results from the wrong compiler.

--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************