Platform: Solaris 9.x Hardware: Sparc I have compiled subversion successfully without the mod_dav_svn (with-apxs) disabled. The regular svn tools work with static fine.
Compiling subversion on SOLARIS 9 with shared fails. I need shared
for apxs with apache2. However the problem is with second stage re-link.
What can I do to over come the linker problem.
Part of spec file here:
(Here is the requirement)
%if "%{with_mod_dav_svn}" == "yes"
BuildPreReq: apache2
%endif
(This is from the build section)
%build
.
.
./configure --prefix=%{l_prefix} --with-berkeley-db=%{l_prefix}
--with-ssl --with-zlib --enable-static %if "%{with_mod_dav_svn}" ==
"yes"
--with-apxs --enable-swig-bindings=no
%endif
--enable-swig-bindings=no:
I disabled this due to errors with compilation with python and swig.
Note:
I have removed --disable-static otherwise subversion will not build
mod_dav_svn.
my command line look like this:
$> openpkg rpm -v -ba --define "with_mod_dav _svn yes"
/usr/local/RPM/SRC/subversion/subversion.spec
Here is the top of the config.log file from subversion-1.0.5:
$ ./configure --prefix=/usr/local --with-berkeley-db=/usr/local
--with-ssl --with-zlib --enable-static --with-apxs
--enable-swig-bindings=no
And here is my Error:
ld.so.1: svnversion: fatal: libsvn_client-1.so.0: open failed: No such
file or directory
make: *** [revision-install] Error 137
error: Bad exit status from /usr/local/RPM/TMP/rpm-tmp.29543 (%install)
RPM build errors:
Bad exit status from /usr/local/RPM/TMP/rpm-tmp.29543 (%install)
I really need web-dav / mod_dav_svn support so that I can use svn via
http/https access to our repositories and web access.
Possible that somebody already has an spec file for me to use
Best Regards,
Frank T.
signature.asc
Description: This is a digitally signed message part
