You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Koning <ko...@llnl.gov> on 2005/10/20 00:44:21 UTC

Subject libtool: install: error: cannot install `libsvn_subr-1.la' to a directory

<html>
<body>
Hey Dimitri,<br><br>
Thanks for hanging in there with me on this - as you recall, my last
error was (See ERROR:) - I talked to my System Admin and see SOLUTION as
to what we did - that seemed to get the subversion make install the rest
of the way through:<br><br>
ERROR:<br>
cd subversion/po ; /tmp/subversion-1.2.3/ac-helpers/install-sh -c -m 644
zh_CN.mo /opt/share/locale/zh_CN/LC_MESSAGES/subversion.mo<br>
cd subversion/po ; /tmp/subversion-1.2.3/ac-helpers/install-sh -c -m 644
zh_TW.mo /opt/share/locale/zh_TW/LC_MESSAGES/subversion.mo<br>
subversion/svnversion/svnversion . /repos/svn/trunk &gt;
/opt/include/subversion-1/svn-revision.txt<br>
ld.so.1: /tmp/subversion-1.2.3/subversion/svnversion/.libs/svnversion:
fatal: /usr/ccs/bin/ranlib/libgcc_s.so.1: Not a directory<br>
***Error code 137<br>
make: Fatal error: Command failed for target `revision-install'<br><br>
SOLUTION:<br>
I created /usr/ccs/bin/ranlib directory,<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>-
mkdir&nbsp; /usr/ccs/bin/ranlib<br>
then I also created a symbolic link from
/nif/tools/gcc-3.4.3_native/libgcc_s.so.1 to /usr/ccs/bin/ranlib<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>- cd
/usr/ccs/bin/ranlib<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>- ln -s
/nif/tools/gcc-3.4.3_native/lib/libgcc_s.so.1 libgcc_s.so.1<br><br>
----------------------------------------------------------------------------------------<br><br>
Once it built, I had to ensure that /opt/bin was in my $PATH, and
/opt/lib:/nif/tools/gcc-3.4.3_native/lib was in my $LD_LIBRARY_PATH
(maybe it would have built if the gcc library was in my LD_LIBRARY_PATH
when I built it).<br><br>
For completeness, here is my $PATH and $LD_LIBRARY_PATH values at this
point:<br><br>
ironwood&lt;180&gt; echo $PATH<br>
.:/home/cm/bin:/usr/atria/bin:/home/koning2/bin:/nif/tools/gps/bin:/nif/tools/gnat/bin:/usr/openwin/bin:/usr/openwin/demo:/opt/SUNWspro/bin:/opt/SUNWmfwm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/secure/bin:/home/koning2/bin:/usr/dt/bin:/bin:/usr/bin:/var/opt/ssh/bin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/lib:/sbin:/etc:/usr/lib/nis:/nif/tools/bin:/usr/ucb:.:/usr/local/X11R6/bin:/usr/local/ActiveTcl/bin:/opt/hpnp/bin:/oracle/app/oracle/product/9.2.0/bin:./apr:./apr-util:/opt/bin<br><br>
<br>
And here is my $LD_LIBRARY_PATH:<br><br>
ironwood&lt;181&gt; echo $LD_LIBRARY_PATH<br>
/usr/atria/shlib:/oracle/app/oracle/product/9.2.0/lib:/usr/openwin/lib:/usr/local/X11R6/lib:/nif/tools/rsi/idl/bin/bin.solaris2.sparc:/usr/lib:/usr/dt/lib:/usr/local/lib:/usr/ucblib:/opt/SUNWspro/lib:/opt/SUNWmfwm/lib:/usr/local/ActiveTcl/lib:/nif/tools/ABICEI/lib:/opt/lib:/nif/tools/gcc-3.4.3_native/lib<br><br>
All I've tested so far is getting the version (one more question
below):<br><br>
ironwood&lt;179&gt; svn --version<br>
svn, version 1.2.3 (r15833)<br>
&nbsp;&nbsp; compiled Oct 18 2005, 13:26:41<br><br>
Copyright (C) 2000-2005 CollabNet.<br>
Subversion is open source software, see
<a href="http://subversion.tigris.org/" eudora="autourl">http://subversion.tigris.org/<br>
</a>This product includes software developed by CollabNet
(<a href="http://www.collab.net/" eudora="autourl">http://www.Collab.Net/</a>).<br><br>
The following repository access (RA) modules are available:<br><br>
* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.<br>
&nbsp; - handles 'http' scheme<br>
* ra_svn : Module for accessing a repository using the svn network
protocol.<br>
&nbsp; - handles 'svn' scheme<br>
* ra_local : Module for accessing a repository on local disk.<br>
&nbsp; - handles 'file' scheme<br><br>
Question:&nbsp; If I want to build a subversion server, I would need to
install Apache 2.x (I only have Apache 1.x on my system now), and go
through this rebuild again, correct?&nbsp; And will subversion still be
expected to function correctly (using ra_svn access method) if I did my
subversion 1.2.3 build with Apache 1.x?&nbsp; It didn't complain, and I
suspect I would only need to get Apache 2.x if I'm using ra_dav and/or
ra_svn access modes, but it's hard to understand the INSTALL notes.&nbsp;
Eventually I'll need to build a subversion server.<br><br>
Also, I hope I still don't get html formatting sent to the mail list this
time - I'm using Eudora, and tried clear format - not sure if it will
work.<br><br>
Thanks much and take care,<br><br>
<x-sigsep><p></x-sigsep>
<font face="Arial Narrow, Helvetica" size=4 color="#808080"><b><i>Dan
Koning / CM Team<br>
</i></b></font>B/481, Room 2123, Ext. 2-8926<br>
E-mail:&nbsp; <font color="#0000FF">koning2@llnl.gov,
cm-help@calaveras.llnl.gov<br>
</font></body>
</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subject libtool: install: error: cannot install `libsvn_subr-1.la' to a directory

Posted by Dimitri Papadopoulos-Orfanos <pa...@shfj.cea.fr>.
Hi,

> Once it built, I had to ensure that /opt/bin was in my $PATH, and 
> /opt/lib:/nif/tools/gcc-3.4.3_native/lib was in my $LD_LIBRARY_PATH 
> (maybe it would have built if the gcc library was in my LD_LIBRARY_PATH 
> when I built it).

Indeed, you need to have gcc's libraries in LD_LIBRARY_PATH if you want 
to use gcc. However I still don't understand why the linker would try to 
open
	/usr/ccs/bin/ranlib/libgcc_s.so.1
Maybe you have many versions of gcc on your system and some of them are 
old and/or misconfigured. Anyway, the important thing is it works now.

> [...]
> And here is my $LD_LIBRARY_PATH:
> 
> ironwood<181> echo $LD_LIBRARY_PATH
> /usr/atria/shlib:/oracle/app/oracle/product/9.2.0/lib:/usr/openwin/lib:/usr/local/X11R6/lib:/nif/tools/rsi/idl/bin/bin.solaris2.sparc:/usr/lib:/usr/dt/lib:/usr/local/lib:/usr/ucblib:/opt/SUNWspro/lib:/opt/SUNWmfwm/lib:/usr/local/ActiveTcl/lib:/nif/tools/ABICEI/lib:/opt/lib:/nif/tools/gcc-3.4.3_native/lib

As a side note, I think it's better to remove /usr/ucblib from 
LD_LIBRARY_PATH.

> [...]
> Question:  If I want to build a subversion server, I would need to 
> install Apache 2.x (I only have Apache 1.x on my system now), and go 
> through this rebuild again, correct?  And will subversion still be 
> expected to function correctly (using ra_svn access method) if I did my 
> subversion 1.2.3 build with Apache 1.x?  It didn't complain, and I 
> suspect I would only need to get Apache 2.x if I'm using ra_dav and/or 
> ra_svn access modes, but it's hard to understand the INSTALL notes.  
> Eventually I'll need to build a subversion server.

You really need Apache 2:
http://svnbook.red-bean.com/en/1.0/ch06s04.html

Dimitri Papadopoulos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org