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

installing subversion as non-root

From: Seth Daniel <subversion_at_sethdaniel.org>
Date: 2004-10-09 01:19:39 CEST

Hello,

I'm attempting to build subversion RPMs for internal use inside my
place of work. When I build and install as root everything works fine.
When I build and install as a non-root user I get the messages you see
below (the message below are the last few lines of the failed compile).

What's strange is that *sometimes* when I build as non-root everything
works. I generally build with the following arguments:

./configure --with-ssl --with-apxs=<path to apxs>
            --with-apr=<path to apr> --with-apr-util=<path...>
            --without-berkeley-db --disable-mod-activation
            --with-libs=<libdir>
make
make DESTDIR=$HOME/subversion install

This is with the tarball of subversion 1.1.0. I use the apxs, apr, and
apr-util from apache 2.0.52.
Again, sometimes this works and sometimes I get the output below. I
don't build RPMs as root so it would be a great help if I could figure
out why this (sometimes) happens. Thanks for any help.

gcc -shared activity.lo deadprops.lo file_revs.lo liveprops.lo log.lo
merge.lo mod_dav_svn.lo repos.lo update.lo util.lo version.lo
-Wl,--rpath -Wl,/opt/vindicia/lib -L/usr/lib
-L/home/build/admin/rpm/BUILD/subversion-1.1.0/subversion/libsvn_subr/.libs
-L/home/build/admin/rpm/BUILD/subversion-1.1.0/subversion/libsvn_delta/.libs
-L/home/build/admin/rpm/BUILD/subversion-1.1.0/subversion/libsvn_fs_fs/.libs
-L/home/build/admin/rpm/BUILD/subversion-1.1.0/subversion/libsvn_fs/.libs
-L/opt/vindicia/lib -lsvn_repos-1 -lsvn_fs-1 -lsvn_delta-1 -lsvn_subr-1
-Wl,-soname -Wl,mod_dav_svn.so -o .libs/mod_dav_svn.so
/usr/bin/ld: cannot find -lsvn_repos-1
collect2: ld returned 1 exit status
libtool: install: error: relink `mod_dav_svn.la' with the above command
before installing it
libtool: install: warning: remember to run `libtool --finish
/opt/vindicia/libexec/apache2'
grep:
/home/build/admin/rpm/tmp/install/subversion-1.1.0-1/opt/vindicia/libexec/apache2/mod_dav_svn.la:
No such file or directory
grep:
/home/build/admin/rpm/tmp/install/subversion-1.1.0-1/opt/vindicia/libexec/apache2/mod_dav_svn.la:
No such file or directory
Warning! dlname not found in
/home/build/admin/rpm/tmp/install/subversion-1.1.0-1/opt/vindicia/libexec/apache2/mod_dav_svn.la.
Assuming installing a .so rather than a libtool archive.
chmod 755
/home/build/admin/rpm/tmp/install/subversion-1.1.0-1/opt/vindicia/libexec/apache2/mod_dav_svn.so
chmod: failed to get attributes of
`/home/build/admin/rpm/tmp/install/subversion-1.1.0-1/opt/vindicia/libexec/apache2/mod_dav_svn.so':
No such file or directoryapxs:Error: Command failed with rc=65536.
make[1]: *** [install-mods-shared] Error 1
make[1]: Leaving directory
`/.hdb1/home/build/admin/rpm/BUILD/subversion-1.1.0'
error: Bad exit status from /home/build/admin/rpm/tmp/rpm-tmp.65662 (%install)

-- 
seth / @sethdaniel.org
Silence is the only virtue you have left.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 9 01:19:59 2004

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.