[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ranlib: command not found - Subversion1.3.1 Make install on Solaris9

From: <ilmars.katajs-paeglis_at_chase.com>
Date: 2006-05-24 23:08:24 CEST

.configure and make run w/ warnings.

f.e. make file had the following warnings:
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libgdbm.la' seems
to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libiconv.la'
seems to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libgdbm.la' seems
to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libiconv.la'
seems to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libgdbm.la' seems
to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libiconv.la'
seems to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libgdbm.la' seems
to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libiconv.la'
seems to be moved
cd subversion/mod_authz_svn && /bin/bash
/download/sas/sourcecd/subversion-1.3.1/libtool --tag=CC --silent
--mode=link gcc -g -O2 -g -O2 -pthreads -D_LARGEFILE64_SOURCE -DNE_LFS
-L/download/sas/sourcecd/subversion-1.3.1/apr-util/xml/expat/lib -rpath
/opt/apache2/modules -avoid-version -module -o mod_authz_svn.la
mod_authz_svn.lo ../../subversion/libsvn_subr/libsvn_subr-1.la
../../subversion/libsvn_repos/libsvn_repos-1.la -lsocket
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libgdbm.la' seems
to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libiconv.la'
seems to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libgdbm.la' seems
to be moved
libtool: link: warning:
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../..//libiconv.la'
seems to be moved

all the above libraries are in /usr/local/lib

sun ranlib is on the path:
>which ranlib
/usr/ccs/bin/ranlib

.config file found it as well
checking for ranlib... ranlib

and it is executable
>ls -l ranlib
-r-xr-xr-x 1 root bin 375 Apr 6 2002 ranlib

-r-xr-xr-x 2 root bin 422168 Jul 8 2004 ranlib

one thing is that it seems that .config finds sun native ranlib and other
components, but when i run make file i try to run it w/ GNU make.
I am guessing I need to adjust .configure file to point to right
locations, but not sure where to start :).

Any thoughts will be appreciated.
ilmars

Ilmars Katajs-Paeglis

Michael Eager <eager@eagercon.com>
05/24/2006 04:45 PM
 
        To: ilmars.katajs-paeglis@chase.com
        cc: users@subversion.tigris.org
        Subject: Re: ranlib: command not found - Subversion1.3.1
Make install on Solaris9

ilmars.katajs-paeglis@chase.com wrote:
>
> Thanks Michael,
>
> I installed GNU Binutils. In fact I have two ranlib on the system now.
>
> GNU Binutil: located in /opt/sfw/sparc-sun-solaris2.9/bin-
> and Solaris native: */usr/ccs/bin/ranlib*
>
> Unfortunately, make install still fails w/ ranlib cannot find error. How

> do I create .configure/make file that it points to proper ranlib?

Can you run "make", but not "make install"?

First, make sure that ranlib can be found on your path. Run the
"which ranlib" command to verify this. If it's not on your path,
add one of the directories and try again. (I don't know which would be
better.)

Second, check to see if configure found ranlib. In the listing which
configure generates you should see something like
"checking for ranlib... ranlib". If it scrolls past too quickly, you
can capture a log file by executing "./configure | tee configure.log".
You can also look at the config.log file which configure generates.
You should see something like
    configure:6084: checking for ranlib
    configure:6100: found /usr/bin/ranlib
    configure:6111: result: ranlib
but with the correct paths.

Third, make sure that ranlib is an executable file. You should
see something like the following:
    $ ls -l /usr/bin/ranlib
    -rwxr-xr-x 1 root root 49K Jun 29 2005 /usr/bin/ranlib*

-- 
Michael Eager             eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 24 23:10:05 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.