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

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

From: Daniel Koning <koning2_at_llnl.gov>
Date: 2005-10-20 02:44:21 CEST
Hey Dimitri,

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:

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

SOLUTION:
I created /usr/ccs/bin/ranlib directory,
        - mkdir  /usr/ccs/bin/ranlib
then I also created a symbolic link from /nif/tools/gcc-3.4.3_native/libgcc_s.so.1 to /usr/ccs/bin/ranlib
        - cd /usr/ccs/bin/ranlib
        - ln -s /nif/tools/gcc-3.4.3_native/lib/libgcc_s.so.1 libgcc_s.so.1

----------------------------------------------------------------------------------------

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

For completeness, here is my $PATH and $LD_LIBRARY_PATH values at this point:

ironwood<180> echo $PATH
.:/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


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

All I've tested so far is getting the version (one more question below):

ironwood<179> svn --version
svn, version 1.2.3 (r15833)
   compiled Oct 18 2005, 13:26:41

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

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.

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.

Thanks much and take care,

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 Thu Oct 20 02:46:11 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.