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

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

From: Daniel Koning <koning2_at_llnl.gov>
Date: 2005-10-17 20:56:53 CEST
VK, and/or Dimitri,

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).  It created the sv-revision.txt file as a 0 byte file and error-ed out right after that (See "Not a directory" fatal error message below).

BTW - On my system, /usr/ccs/bin/ranlib is there, but appears to be an executable rather than a directory.

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
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
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'

Here's my $PATH in case you're wondering, it gets me through fine until this point. 

ironwood{root}76: echo $PATH

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?

Also, in the Makefile under the revision-install target, something looks kind of suspicious:
### HACK!! Find a better way to do this
        subversion/svnversion/svnversion $(top_srcdir) /repos/svn/trunk > $(DESTDIR)$(includedir)/subversion-1/svn-revis

Also, I do not have permissions to do a sudo make install, I must "sudo su -" and then set my path (otherwise I have roots environment).  Therefore, I may not have caught the nuance per VK's suggestion to "sudo make install".

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).


At 03:19 AM 10/14/2005, 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.


Dan Koning / CM Team
B/481, Room 2123, Ext. 2-8926
E-mail:  koning2@llnl.gov, cm-help@calaveras.llnl.gov
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Mon Oct 17 20:58:43 2005

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.