[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
/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

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
revision-install:
        subversion/svnversion/svnversion $(top_srcdir) /repos/svn/trunk > $(DESTDIR)$(includedir)/subversion-1/svn-revis
ion.txt

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

Dan

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.

HTH
Sameer

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.