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

1.4.0 install difficulties

From: Daniel Armbrust <daniel.armbrust_at_comcast.net>
Date: 2006-10-24 22:04:43 CEST

I am trying to upgrade our 1.3.1 installation to 1.4.0 - building from
source.

The system is Fedora Core 3.
My apache server is 2.0.52.
My configure line was:

"./configure --prefix=/usr/local/subversion-1.4.0/
--with-apxs=/usr/local/apache2.0.52/bin/apxs"

The "make" step seems to work ok, and I had no problems with previous
versions of subversion. However - now, when I run "make install" it's
ending with stuff like this:

<snip>
/usr/bin/install -c .libs/svnversion
/usr/local/subversion-1.4.0//bin/svnversion
/usr/bin/install -c -m 644 ./subversion/svn/svn.1
/usr/local/subversion-1.4.0//man/man1/svn.1
/usr/bin/install -c -m 644 ./subversion/svnadmin/svnadmin.1
/usr/local/subversion-1.4.0//man/man1/svnadmin.1
/usr/bin/install -c -m 644 ./subversion/svndumpfilter/svndumpfilter.1
/usr/local/subversion-1.4.0//man/man1/svndumpfilter.1
/usr/bin/install -c -m 644 ./subversion/svnlook/svnlook.1
/usr/local/subversion-1.4.0//man/man1/svnlook.1
/usr/bin/install -c -m 644 ./subversion/svnserve/svnserve.8
/usr/local/subversion-1.4.0//man/man8/svnserve.8
/usr/bin/install -c -m 644 ./subversion/svnserve/svnserve.conf.5
/usr/local/subversion-1.4.0//man/man5/svnserve.conf.5
/usr/bin/install -c -m 644 subversion/svnversion/svnsync.1
/usr/local/subversion-1.4.0//man/man1/svnsync.1
/usr/bin/install: cannot stat `subversion/svnversion/svnsync.1': No such
file or directory
/usr/bin/install -c -m 644 ./subversion/svnversion/svnversion.1
/usr/local/subversion-1.4.0//man/man1/svnversion.1
cd subversion/mod_dav_svn ; /usr/bin/install -c -d
"/usr/local/apache2.0.52/modules" ; /usr/local/apache2.0.52/bin/apxs -i
-S LIBEXECDIR="/usr/local/apache2.0.52/modules" -a -n dav_svn mod_dav_svn.la
/usr/local/apache2.0.52/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2.0.52/build/libtool' mod_dav_svn.la
/usr/local/apache2.0.52/modules
/usr/local/apache2.0.52/build/libtool --mode=install cp mod_dav_svn.la
/usr/local/apache2.0.52/modules/
libtool: install: warning: relinking `mod_dav_svn.la'
(cd /localwork/installers/subversion-1.4.0/subversion/mod_dav_svn;
/bin/sh /localwork/installers/subversion-1.4.0/libtool --tag=CC
--silent --mode=relink gcc -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE
-DNE_LFS -rpath /usr/local/apache2.0.52/modules -avoid-version -module
-o mod_dav_svn.la activity.lo deadprops.lo file_revs.lo liveprops.lo
lock.lo log.lo merge.lo mod_dav_svn.lo replay.lo repos.lo update.lo
util.lo version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la
../../subversion/libsvn_fs/libsvn_fs-1.la
../../subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la -lz @inst_prefix_dir@)
libtool: link: warning:
`/usr/lib/gcc/i386-redhat-linux/3.4.4/../../..//libexpat.la' seems to be
moved
libtool: link: warning:
`/usr/lib/gcc/i386-redhat-linux/3.4.4/../../..//libexpat.la' seems to be
moved
libtool: link: warning:
`/usr/lib/gcc/i386-redhat-linux/3.4.4/../../..//libexpat.la' seems to be
moved
libtool: link: warning:
`/usr/lib/gcc/i386-redhat-linux/3.4.4/../../..//libexpat.la' seems to be
moved
gcc: @inst_prefix_dir@: No such file or directory
libtool: install: error: relink `mod_dav_svn.la' with the above command
before installing it
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2.0.52/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache2.0.52/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
grep: /usr/local/apache2.0.52/modules/mod_dav_svn.la: No such file or
directory
grep: /usr/local/apache2.0.52/modules/mod_dav_svn.la: No such file or
directory
Warning! dlname not found in
/usr/local/apache2.0.52/modules/mod_dav_svn.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2.0.52/modules/mod_dav_svn.so
chmod: cannot access `/usr/local/apache2.0.52/modules/mod_dav_svn.so':
No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1

Three things caught my eye - and I'm not sure which (if any of them) are
trying to point out real problems:

gcc: @inst_prefix_dir@: No such file or directory
libtool: link: warning:
`/usr/lib/gcc/i386-redhat-linux/3.4.4/../../..//libexpat.la' seems to be
moved
grep: /usr/local/apache2.0.52/modules/mod_dav_svn.la: No such file or
directory

The end result after the failure is that I don't get any .so files in my
apache modules folder.

Possibly related - when I run "make check" - I get one failure:

Running all tests in switch_tests.py...FAILURE

Googling the libtool warnings brings back lots of reports - but nothing
I could find that would tell me whether or not this was actually a
problem, or just an extra warning.

The apxs error brings back a few hits, but again, nothing that helped me
figure out what the real problem is.

Yet another possible clue - if I try to run configure without extracting
the subversion-deps-1.4.0 file - then I get this error:

<snip>
checking for Apache module support via DSO through APXS... found at
/usr/local/apache2.0.52/bin/apxs
checking httpd version... recent enough
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 0.9.4
wanted regexes are 0\.9\.[7-9] 0\.9\.1[0-9] 1\.
configure: error: invalid apr version found

Do I have some sort of incompatibility between what apache was built
with, and what subversion wants?

Thanks for any advice,

Dan

-- 
*****************************
Daniel C. Armbrust
Biomedical Informatics
Information Services
Mayo Clinic Rochester
Harwick 8-36
(507) 538-1549
daniel.armbrust@mayo.edu
*****************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 24 22:27:45 2006

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.