You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by il...@chase.com on 2006/05/19 20:56:15 UTC
ranlib: command not found - Subversion1.3.1 Make install on Solaris9
Hello,
I am getting a following error when running Subversion1.3.1 make install
on Solaris9/sparc
/bin/bash /download/sas/sourcecd/subversion-1.3.1/apr/libtool
--mode=install cp libapr-0.la /usr/local/apr/lib
cp .libs/libapr-0.so.0.9.7 /usr/local/apr/lib/libapr-0.so.0.9.7
(cd /usr/local/apr/lib && { ln -s -f libapr-0.so.0.9.7 libapr-0.so.0 || {
rm -f libapr-0.so.0 && ln -s libapr-0.so.0.9.7 libapr-0.so.0; }; })
ln: cannot create libapr-0.so.0: File exists
(cd /usr/local/apr/lib && { ln -s -f libapr-0.so.0.9.7 libapr-0.so || { rm
-f libapr-0.so && ln -s libapr-0.so.0.9.7 libapr-0.so; }; })
ln: cannot create libapr-0.so: File exists
chmod +x /usr/local/apr/lib/libapr-0.so.0.9.7
cp .libs/libapr-0.lai /usr/local/apr/lib/libapr-0.la
cp .libs/libapr-0.a /usr/local/apr/lib/libapr-0.a
ranlib /usr/local/apr/lib/libapr-0.a
/download/sas/sourcecd/subversion-1.3.1/apr/libtool: ranlib: command not
found
make[1]: *** [install] Error 127
make[1]: Leaving directory
`/export/download/sas/sourcecd/subversion-1.3.1/apr'
make: *** [external-install] Error 1
Subversion configuration:
./configure --without-berkeley-db --disable-nls
Configure and make run without errors.
Can anybody point me to what needs to be done to get ranlib? I noticed
that apr and apr-util subfolders have their own configure files. Should I
run .configure on those too?
Any pointers will be appreciated.
Ilmars
Re: ranlib: command not found - Subversion1.3.1 Make install on Solaris9
Posted by il...@chase.com.
.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 <ea...@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
Re: ranlib: command not found - Subversion1.3.1 Make install on
Solaris9
Posted by Michael Eager <ea...@eagercon.com>.
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
Re: ranlib: command not found - Subversion1.3.1 Make install on Solaris9
Posted by il...@chase.com.
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?
error follows:
ln: cannot create libapr-0.so: File exists
chmod +x /usr/local/apr/lib/libapr-0.so.0.9.7
cp .libs/libapr-0.lai /usr/local/apr/lib/libapr-0.la
cp .libs/libapr-0.a /usr/local/apr/lib/libapr-0.a
ranlib /usr/local/apr/lib/libapr-0.a
/download/sas/sourcecd/subversion-1.3.1/apr/libtool: ranlib: command not
found
make[1]: *** [install] Error 127
make[1]: Leaving directory
`/export/download/sas/sourcecd/subversion-1.3.1/apr'
make: *** [external-install] Error 1
thanks.
Ilmars
Re: ranlib: command not found - Subversion1.3.1 Make install on
Solaris9
Posted by Michael Eager <ea...@eagercon.com>.
Ranlib is part of the GNU Binutils package. You need
to install the Binutils package as well as GCC.
You can check for ranlib by executing "which ranlib".
It should be in the same directory as gcc.
ilmars.katajs-paeglis@chase.com wrote:
>
> Nathan,
>
> Thanks for your reply.
>
> I have GNU gcc. (installed from sunfreeware.com as a package)
>
> /usr/local/bin->gcc -v
> Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --disable-nls
> Thread model: posix
> gcc version 3.4.2
>
> /usr/local/bin->ldd gcc
> libiconv.so.2 => /usr/local/lib/libiconv.so.2
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
>
> Also, we have gnu make
> /usr/local/bin->ldd make
> libkstat.so.1 => /usr/lib/libkstat.so.1
> librt.so.1 => /usr/lib/librt.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libaio.so.1 => /usr/lib/libaio.so.1
> libmd5.so.1 => /usr/lib/libmd5.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
> /usr/platform/SUNW,Sun-Fire-V440/lib/libmd5_psr.so.1
>
> Not sure where I can check for existence of runlib though. How can I add
> runlib to existing GNU gcc install if it is not there?
>
> thanks,
> Ilmars
>
>
>
>
>
> Ilmars Katajs-Paeglis
> *Nathan Kidd <na...@spicycrypto.ca>*
>
> 05/19/2006 05:07 PM
>
>
> To:
> cc: users@subversion.tigris.org
> Subject: Re: ranlib: command not found - Subversion1.3.1
> Make install on Solaris9
>
>
>
>
> ilmars.katajs-paeglis@chase.com wrote:
> > I am getting a following error when running Subversion1.3.1 make install
> > on Solaris9/sparc
> ...
> > ranlib /usr/local/apr/lib/libapr-0.a
> > /download/sas/sourcecd/subversion-1.3.1/apr/libtool: ranlib: command not
> > found
> > make[1]: *** [install] Error 127
> ...
> > Can anybody point me to what needs to be done to get ranlib?
>
> ranlib is a basic part of a standard toolchain and comes with the GNU
> binutils package. (Or if you're not using GNU tools, should come with
> your commercial compiler.) Do you have a fully functioning compiler on
> your machine?
>
> -Nathan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
--
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
Re: ranlib: command not found - Subversion1.3.1 Make install on Solaris9
Posted by il...@chase.com.
Nathan,
Thanks for your reply.
I have GNU gcc. (installed from sunfreeware.com as a package)
/usr/local/bin->gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.2
/usr/local/bin->ldd gcc
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
Also, we have gnu make
/usr/local/bin->ldd make
libkstat.so.1 => /usr/lib/libkstat.so.1
librt.so.1 => /usr/lib/librt.so.1
libc.so.1 => /usr/lib/libc.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmd5.so.1 => /usr/lib/libmd5.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire-V440/lib/libmd5_psr.so.1
Not sure where I can check for existence of runlib though. How can I add
runlib to existing GNU gcc install if it is not there?
thanks,
Ilmars
Ilmars Katajs-Paeglis
Nathan Kidd <na...@spicycrypto.ca>
05/19/2006 05:07 PM
To:
cc: users@subversion.tigris.org
Subject: Re: ranlib: command not found - Subversion1.3.1
Make install on Solaris9
ilmars.katajs-paeglis@chase.com wrote:
> I am getting a following error when running Subversion1.3.1 make install
> on Solaris9/sparc
...
> ranlib /usr/local/apr/lib/libapr-0.a
> /download/sas/sourcecd/subversion-1.3.1/apr/libtool: ranlib: command not
> found
> make[1]: *** [install] Error 127
...
> Can anybody point me to what needs to be done to get ranlib?
ranlib is a basic part of a standard toolchain and comes with the GNU
binutils package. (Or if you're not using GNU tools, should come with
your commercial compiler.) Do you have a fully functioning compiler on
your machine?
-Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: ranlib: command not found - Subversion1.3.1 Make install on
Solaris9
Posted by Nathan Kidd <na...@spicycrypto.ca>.
ilmars.katajs-paeglis@chase.com wrote:
> I am getting a following error when running Subversion1.3.1 make install
> on Solaris9/sparc
...
> ranlib /usr/local/apr/lib/libapr-0.a
> /download/sas/sourcecd/subversion-1.3.1/apr/libtool: ranlib: command not
> found
> make[1]: *** [install] Error 127
...
> Can anybody point me to what needs to be done to get ranlib?
ranlib is a basic part of a standard toolchain and comes with the GNU
binutils package. (Or if you're not using GNU tools, should come with
your commercial compiler.) Do you have a fully functioning compiler on
your machine?
-Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org