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

Help, I've got problems with mod_dav_svn.so installation

From: Andrew Gray <andrew.gray_at_workcoverqld.com.au>
Date: 2007-05-18 04:36:19 CEST

Hi, I am needing help getting mod_dav_svn.so into my apache install.
I am running on HP-UX 11.23 (Itanium).
I have configured and installed apache from source as follows:
[/subversion/pkgsrc/httpd-2.0.59] $ ./configure
--prefix=/opt/subversion/apache ; make ; make install
And then I configured subversion as follows (I didn't use the deps
package either, because it causes problems compiling, so I
compile+install zlib and neon seperately). Message is as follows:
[/subversion/pkgsrc/subversion-1.4.3] $ ./configure
--with-apache=/subversion/pkgsrc/httpd-2.0.59 --without-berkeley-db
 -I/opt/subversion/apache/include" \
 --disable-shared --prefix=/opt/subversion
### NB the reason I used --disabled-shared was to work-around another
problem I had with compiling where I would get this error:
gcc: +b: No such file or directory
which comes from within libtool I think. I still don't understand
this error, but adding --disable-shared seems to bypass whatever
is causing this strange error.
Anyway, the configure works ok, but the make fails with this
message as follows:
        cd subversion/mod_dav_svn && /bin/sh
/subversion/pkgsrc/subversion-1.4.3/libtool --tag=CC --silent
--mode=link gcc -g -O2 -g -O2 -pthread -L/usr/local/lib -rpath
-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_subr/libsvn_subr-1.la -lz
libtool: link: only absolute run-paths are allowed
*** Error exit code 1
Why is it reporting this strange error?

So I then tried a configure with different options:
[/subversion/pkgsrc/subversion-1.4.3] $ ./configure
--with-apxs=/opt/subversion/apache/bin/apxs --without-berkeley-db
CPPFLAGS="-I/opt/subversion/include -I/opt/subversion/apache/include" \
 --disable-shared --prefix=/opt/subversion
And this works, then I do a make and the make works ok too, but the
make install fails because it can't find mod_dav_svn.so in the
apache install dir (/opt/subversion/apache...) with a message as
Warning! dlname not found in
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/subversion/apache/modules/mod_dav_svn.so
chmod: can't access /opt/subversion/apache/modules/mod_dav_svn.so
apxs:Error: Command failed with rc=65536
*** Error exit code 1
So where has the mod_dav_svn.so file gone??? If I do a
find /opt/subversion/apache | grep mod_dav.svn
I get output as follows:
So it appears as if something of mod_dav_svn has installed, but not
the .so file.

So I really need help getting this going and getting mod_dav_svn.so
working. Do I need to re-compile apache or something? Am I giving
a wrong argument in configuring subversion? Should I not be using
the --disable-shared option? If I am supposed to not include the
--disable-shared option, then can someone offer help as to why I am
getting the "gcc: +b: No such file or directory" error, and how to
fix it?
Thanks all for your great forum and help in advance.
- Andy Gray

Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The contents of this message are to be used for the intended purpose only and are to be kept confidential at all times.
This message may contain privileged information directed only to the intended addressee/s. Accidental receipt of this information should be deleted promptly and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
Received on Fri May 18 04:37:30 2007

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.