Hello,
I am currently trying to setup a subversion server. I have some trouble compiling subversion-1.1.2 to slackware 10.
I get the following error messages when i execute "make install DESTDIR=/tmp/svn/svn_pkg" ( i apologize for the quite long messages)
Code:
libtool: install: warning: relinking `mod_dav_svn.la'
(cd /tmp/svn/subversion-1.1.2/subversion/mod_dav_svn; /bin/sh /tmp/svn/subversion-1.1.2/libtool --mode=relink gcc -g -O2 -g -O2 -pthread -DNEON_ZLIB -rpath /usr/local/httpd-2.0.52/modules -avoid-version -module -o mod_dav_svn.la 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 ../../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)
mv: cannot stat `mod_dav_svn.so': No such file or directory
libtool: install: error: relink `mod_dav_svn.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /usr/local/httpd-2.0.52/modules'
grep: /tmp/svn/svn_pkg/usr/local/httpd-2.0.52/modules/mod_dav_svn.la: No such file or directory
grep: /tmp/svn/svn_pkg/usr/local/httpd-2.0.52/modules/mod_dav_svn.la: No such file or directory
Warning! dlname not found in /tmp/svn/svn_pkg/usr/local/httpd-2.0.52/modules/mod_dav_svn.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /tmp/svn/svn_pkg/usr/local/httpd-2.0.52/modules/mod_dav_svn.so
chmod: cannot access `/tmp/svn/svn_pkg/usr/local/httpd-2.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 (ignored)
/tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -d /tmp/svn_pkg/usr/local/share/locale
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 de.mo /tmp/svn_pkg/usr/local/share/locale/de/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 es.mo /tmp/svn_pkg/usr/local/share/locale/es/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 ja.mo /tmp/svn_pkg/usr/local/share/locale/ja/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 nb.mo /tmp/svn_pkg/usr/local/share/locale/nb/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 pl.mo /tmp/svn_pkg/usr/local/share/locale/pl/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 pt_BR.mo /tmp/svn_pkg/usr/local/share/locale/pt_BR/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 sv.mo /tmp/svn_pkg/usr/local/share/locale/sv/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 zh_CN.mo /tmp/svn_pkg/usr/local/share/locale/zh_CN/LC_MESSAGES/subversion.mo
cd subversion/po ; /tmp/svn/subversion-1.1.2/ac-helpers/install-sh -c -m 644 zh_TW.mo /tmp/svn_pkg/usr/local/share/locale/zh_TW/LC_MESSAGES/subversion.mo
subversion/svnversion/svnversion . /repos/svn/trunk > /tmp/svn_pkg/usr/local/include/subversion-1/svn-revision.txt
gcc: ../../subversion/libsvn_client/.libs/libsvn_client-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_wc/.libs/libsvn_wc-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_ra/.libs/libsvn_ra-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_repos/.libs/libsvn_repos-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_fs/.libs/libsvn_fs-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_fs_base/.libs/libsvn_fs_base-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_ra_svn/.libs/libsvn_ra_svn-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so: No such file or directory
gcc: ../../subversion/libsvn_wc/.libs/libsvn_wc-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_delta/.libs/libsvn_delta-1.so: No such file or directory
gcc: /tmp/svn/subversion-1.1.2/subversion/libsvn_diff/.libs/libsvn_diff-1.so: No such file or directory
make: [revision-install] Error 1 (ignored)
These are the steps i have taken so far.
1. Unpack apache2 (httpd-2.0.52) and configured it with
Code:
./configure --prefix=/usr/local/httpd-2.0.52 --enable-dav --enable-so --with-dbm=db4 --with-berkeley-db --enable-mods-shared=most --enable-deflate
2. Compiled and installed it. I configured it to listen to port 7777 since it is running alongside with apache-1.3 which Slackware 10.0 came with.
3. Unpack subversion-1.1.2, configured it with
Code:
./configure --with-apxs=/usr/local/httpd-2.0.52/bin/apxs --with-apr=/usr/local/httpd-2.0.52/bin --with-apr-util=/usr/local/httpd-2.0.52/bin --prefix=/usr/local --with-neon=/usr/local --with-berkeley-db --with-zlib --with-editor=/usr/bin/vim
4. ran make, then make check. All test was passed.
5. ran make install , then the problem above occurs.
Further investigating, i noticed that, before running make install,
Code:
islakwayr:/tmp/svn/subversion-1.1.2>find subversion/ | grep .so
subversion/bindings/com/resource.h
subversion/bindings/swig/java/org/tigris/subversion/util/NativeResources.java
subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so
subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so.0
subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so.0.0.0
subversion/tests/.libs/libsvn_test_fs-1.so.0.0.0
subversion/tests/.libs/libsvn_test-1.so
subversion/tests/.libs/libsvn_test_fs-1.so
subversion/tests/.libs/libsvn_test_fs-1.so.0
subversion/tests/.libs/libsvn_test-1.so.0
subversion/tests/.libs/libsvn_test-1.so.0.0.0
:
:
subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so.0
subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so
subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so.0.0.0
subversion/libsvn_repos/.libs/libsvn_repos-1.so
subversion/libsvn_repos/.libs/libsvn_repos-1.so.0
subversion/libsvn_repos/.libs/libsvn_repos-1.so.0.0.0
subversion/clients/cmdline/resolved-cmd.c
subversion/clients/cmdline/resolved-cmd.o
after make install, i get
Code:
islakwayr:/tmp/svn/subversion-1.1.2>find subversion/ | grep .so
subversion/bindings/com/resource.h
subversion/bindings/swig/java/org/tigris/subversion/util/NativeResources.java
subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so.0.0.0U
subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so
subversion/libsvn_ra_local/.libs/libsvn_ra_local-1.so.0
subversion/tests/.libs/libsvn_test_fs-1.so.0.0.0
subversion/tests/.libs/libsvn_test-1.so
subversion/tests/.libs/libsvn_test_fs-1.so
subversion/tests/.libs/libsvn_test_fs-1.so.0
subversion/tests/.libs/libsvn_test-1.so.0
subversion/tests/.libs/libsvn_test-1.so.0.0.0
:
:
subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so.0
subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so
subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so.0.0.0U
subversion/libsvn_repos/.libs/libsvn_repos-1.so
subversion/libsvn_repos/.libs/libsvn_repos-1.so.0
subversion/libsvn_repos/.libs/libsvn_repos-1.so.0.0.0U
subversion/clients/cmdline/resolved-cmd.c
subversion/clients/cmdline/resolved-cmd.o
I suspect that the "U" appended at the library might be the problem? Since the filename has changed, hence the error.
Has anyone encountered this problem and how is it solved? I have already searched the internet and found other list with similar problem but, they did not have the solution posted. Anyway i'm still trying to look for an answer.
Thank you for taking time to look at this message.
best regards,
Jay