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/13 17:32:57 UTC

libtool: install: error: cannot install `libsvn_subr-1.la' to a directory not ending in /usr/local/lib

SVN users or developers,

I'm hoping someone has run into this during installation of svn 1.2.3:

I'm on Solaris 8 machine:

SunOS ironwood 5.8 Generic_117350-23 sun4u sparc SUNW,Sun-Fire-V240

I downloaded the subversion source tar into /tmp/subversion-1.2.3 and 
did the following:

./configure --prefix /opt
make all
make install

All went well during the configure and make steps (after a few glitches 
that required me to fix up my $PATH up a bit), until the make install step.

Prior to the install, I must "sudo su -" (so I have root permissions and 
environment, then fix my path again).  My current restrictions is that I 
can only write in /opt (not /usr/local).

It appears that libtool requires this libsvn_subr-1.la library to go 
into a directory ending with /usr/local/lib (which I can't write into 
per my system admin):

libtool: install: error: cannot install `libsvn_subr-1.la' to a 
directory not ending in /usr/local/lib

Any ideas?

By the way, per someone else's suggestion,  I've also tried running 
autogen.sh, and I get the following error:  libtoolize not found in path

I'm not sure where libtoolize should be located and/or where I can get it.

Thanks,

Dan

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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' to a directory not ending in /usr/local/lib

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

> subversion/svnversion/svnversion . /repos/svn/trunk > 
> /opt/include/subversion-1/svn-revision.txt
> *ld.so.1: /tmp/subversion-1.2.3/subversion/svnversion/.libs/svnversion: 
> fatal: /usr/ccs/bin/ranlib/libgcc_s.so.1: Not a directory
> *** Error code 137
> make: Fatal error: Command failed for target `revision-install'

This looks like a misconfiguration on your system. What's the output of:
	ldd subversion/svnversion/svnversion

> *Here's my $PATH in case you're wondering, it gets me through fine until 
> this point. 
> 
> ironwood{root}76: echo $PATH
> /bin:/usr/ucb/cc:/usr/bin:/usr/sbin:/etc:/usr/ucb:/usr/openwin/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/nis:.:/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

Ouch! Why have /usr/ucb/cc and /usr/ucb first in the PATH? These 
directories contain old, broken, compatiblity programs. Remove them from 
your PATH, or at least move to last position.

> A general question, isn't configure supposed to find the locations of 
> things and set the locations of things to help make my make all/install 
> go smooth?

Yes, but you still need a working environment, copnfigure can't detect 
and work around any problem.

Dimitri Papadopoulos

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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' to a directory not ending in /usr/local/lib

Posted by Daniel Koning <ko...@llnl.gov>.
<html>
<body>
VK, and/or Dimitri,<br><br>
Did as both of you suggested, and got much further - However, it choked
on the last part of the make install target (the revision-install
step).&nbsp; It created the sv-revision.txt file as a 0 byte file and
error-ed out right after that (See &quot;Not a directory&quot; fatal
error message below).<br><br>
BTW - On my system, /usr/ccs/bin/ranlib is there, but appears to be an
executable rather than a directory.<br><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>
<b>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>
</b>Here's my $PATH in case you're wondering, it gets me through fine
until this point.&nbsp; <br><br>
ironwood{root}76: echo $PATH<br>
/bin:/usr/ucb/cc:/usr/bin:/usr/sbin:/etc:/usr/ucb:/usr/openwin/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/nis:.:/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<br><br>
A general question, isn't configure supposed to find the locations of
things and set the locations of things to help make my make all/install
go smooth?<br><br>
Also, in the Makefile under the revision-install target, something looks
kind of suspicious:<br>
<b>### HACK!! Find a better way to do this<br>
</b>revision-install:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
subversion/svnversion/svnversion $(top_srcdir) /repos/svn/trunk &gt;
$(DESTDIR)$(includedir)/subversion-1/svn-revis<br>
ion.txt<br><br>
Also, I do not have permissions to do a sudo make install, I must
&quot;sudo su -&quot; and then set my path (otherwise I have roots
environment).&nbsp; Therefore, I may not have caught the nuance per VK's
suggestion to &quot;sudo make install&quot;.<br><br>
Thanks ahead of time for your help, it's been a long time since I
installed an Open source product from source (as you can probably
tell).<br><br>
Dan<br><br>
At 03:19 AM 10/14/2005, VK Sameer wrote:<br>
<blockquote type=cite class=cite cite="">On Thu, 2005-10-13 at 10:32
-0700, Daniel Koning wrote:<br><br>
&gt; I downloaded the subversion source tar into /tmp/subversion-1.2.3
and <br>
&gt; did the following:<br>
&gt; <br>
&gt; ./configure --prefix /opt<br>
&gt; make all<br>
&gt; make install<br><br>
Did you do this more than once? Perhaps without the --prefix? In
that<br>
case, I suggest blowing away /tmp/subversion-1.2.3, and re-running
the<br>
steps above, with a slight change:<br><br>
sudo make install<br><br>
If configure is run once, a 'make clean' or 'make realclean' is<br>
necessary before re-running it to pick up any new option changes.<br>
Otherwise, the changes won't make it into the Makefiles.<br><br>
HTH<br>
Sameer</blockquote>
<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: libtool: install: error: cannot install `libsvn_subr-1.la' to a directory not ending in /usr/local/lib

Posted by VK Sameer <sa...@collab.net>.
On Thu, 2005-10-13 at 10:32 -0700, Daniel Koning wrote:

> I downloaded the subversion source tar into /tmp/subversion-1.2.3 and 
> did the following:
> 
> ./configure --prefix /opt
> make all
> make install

Did you do this more than once? Perhaps without the --prefix? In that
case, I suggest blowing away /tmp/subversion-1.2.3, and re-running the
steps above, with a slight change:

sudo make install

If configure is run once, a 'make clean' or 'make realclean' is
necessary before re-running it to pick up any new option changes.
Otherwise, the changes won't make it into the Makefiles.

HTH
Sameer


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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' to a directory not ending in /usr/local/lib

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

> I'm hoping someone has run into this during installation of svn 1.2.3:
> 
> I'm on Solaris 8 machine:
> 
> SunOS ironwood 5.8 Generic_117350-23 sun4u sparc SUNW,Sun-Fire-V240
> 
> I downloaded the subversion source tar into /tmp/subversion-1.2.3 and 
> did the following:
> 
> ./configure --prefix /opt
> make all
> make install

I'm also on Solaris 8. I've built subversion 1.2.3 using Sun's compiler 
and installed it in /usr/local/subversion-1.2.3 instead of /usr/local. 
It works for me.

Did you maybe run in sequence:
	./configure
	./configure --prefix /opt

Try running in a fresh directory:
	./configure --prefix /opt

Dimitri Papadopoulos

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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' toa directory not ending in /usr/local/lib

Posted by VK Sameer <sa...@collab.net>.
On Fri, 2005-10-14 at 11:02 +0100, Max Bowsher wrote:
> Somehow, the below was sent to issues@, not dev@.
> issues@ is not the correct ML, dev@ is.
> Forwarding back to dev@, and please direct future replies there too.

My apologies, a faulty procmail recipe set up the To: field to
issues@subversion, instead of users@subversion. I've fixed that.
Thanks for re-sending and letting me know.

Regards
Sameer


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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' toa directory not ending in /usr/local/lib

Posted by VK Sameer <sa...@collab.net>.
On Fri, 2005-10-14 at 11:02 +0100, Max Bowsher wrote:
> Somehow, the below was sent to issues@, not dev@.
> issues@ is not the correct ML, dev@ is.
> Forwarding back to dev@, and please direct future replies there too.

My apologies, a faulty procmail recipe set up the To: field to
issues@subversion, instead of users@subversion. I've fixed that.
Thanks for re-sending and letting me know.

Regards
Sameer


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

Re: libtool: install: error: cannot install `libsvn_subr-1.la' toa directory not ending in /usr/local/lib

Posted by Max Bowsher <ma...@ukf.net>.
Somehow, the below was sent to issues@, not dev@.
issues@ is not the correct ML, dev@ is.
Forwarding back to dev@, and please direct future replies there too.

Max.


VK Sameer wrote:
> On Thu, 2005-10-13 at 10:32 -0700, Daniel Koning wrote:
> 
>> I downloaded the subversion source tar into /tmp/subversion-1.2.3 and
>> did the following:
>> 
>> ./configure --prefix /opt
>> make all
>> make install
> 
> Did you do this more than once? Perhaps without the --prefix? In that
> case, I suggest blowing away /tmp/subversion-1.2.3, and re-running the
> steps above, with a slight change:
> 
> sudo make install
> 
> If configure is run once, a 'make clean' or 'make realclean' is
> necessary before re-running it to pick up any new option changes.
> Otherwise, the changes won't make it into the Makefiles.
> 
> HTH
> Sameer


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