LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-14-2005, 05:58 AM   #1
jaysan
LQ Newbie
 
Registered: May 2001
Distribution: Slackware Linux 9.1
Posts: 23

Rep: Reputation: 15
help: compiling subversion-1.1.2 on Slackware 10.0


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
 
Old 01-14-2005, 04:28 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Why not use http://www.linuxpackages.net/pkg_details.php?id=5271 ?
 
Old 01-15-2005, 05:47 AM   #3
jaysan
LQ Newbie
 
Registered: May 2001
Distribution: Slackware Linux 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by uselpa
Why not use http://www.linuxpackages.net/pkg_details.php?id=5271 ?
thank you for replying.

we also checked that out, however, we might install it on one of our servers. It's running slackware 9.0.
we really need to compile it from source since we did not find a package (at linuxpackages.net) of subversion for this release of slackware.

regards,
Jay

==============================================
Just an update, i was able to compile subversion-1.1.3 at slackware 10.0.
These are the steps i did.
1. unpack the source package.
2. run ./autogen.sh
3. run ./configure
4. run make
5. made a slackware package.

When i did step #2, it compiled and installed ok. I really have no idea why. but it works now.
I am able to run svnserve. I am still having some problems with mod_dav_svn though, it still does not want to install when i try to enable mod_dav_svn. I guess this will do for now.



Last edited by jaysan; 02-07-2005 at 07:59 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion (svn) client for Slackware? shilo Slackware 1 08-22-2005 06:05 PM
subversion varun_33 Linux - Software 1 04-20-2005 12:37 PM
Subversion in Slackware 10 andrew_0812 Slackware 2 02-12-2005 03:29 PM
subversion sethgeekx86 Slackware 8 07-26-2004 03:29 PM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration