Summary: | Subversion apache module cannot be loaded due to missing symbol | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Trieloff <lars> |
Component: | [OLD] Development | Assignee: | Paul de Vrieze (RETIRED) <pauldv> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | CC: | cardoe |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Lars Trieloff
2004-02-25 12:49:31 UTC
Try to first unmerge subversion. Then merge it. Also make sure there are no stray files laying behind I tried a fresh installation of subversion, but it will not compile against python2.3. Setting PYVER="2.2" from the command line will not work. /bin/sh ./libtool --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSWIGPYTHON -mcpu=athlon -O3 -pipe -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/bindings/swig -I./subversion/include -I/usr/lib/swig1.3 -DSVN_SWIG_VERSION=103021 -I/usr/include/apache2 -I/usr/include/apache2 -I/usr/include/python2.3 -I./subversion/include -I. -I/usr/include/neon -I/usr/include/apache2 -I/usr/include/apache2 -o subversion/bindings/swig/swigutil_py.lo -c ./subversion/bindings/swig/swigutil_py.c cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc -L/var/tmp/portage/subversion-1.0.0/image//usr/lib -mcpu=athlon -O3 -pipe -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -rpath /usr/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo date.lo error.lo hash.lo io.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.1 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl ./libtool: ./libtool: No such file or directory make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127 make: *** Waiting for unfinished jobs.... In file included from /usr/include/python2.3/Python.h:8, from subversion/bindings/swig/swigutil_py.c:20: /usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined <command line>:7:1: warning: this is the location of the previous definition !!! ERROR: dev-util/subversion-1.0.0 failed. !!! Function src_compile, Line 118, Exitcode 2 !!! make of subversion failed trieloff root # Adding USE="-python" on the command line brings breakage because libtool cannot be found. USE="-python" emerge /usr/portage/dev-util/subversion/subversion-1.0.0.ebuild ... gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -mcpu=athlon -O3 -pipe -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/include -I. -I/usr/include/neon -I/usr/include/apache2 -I/usr/include/apache2 -o subversion/tests/libsvn_fs/strings-reps-test.o -c subversion/tests/libsvn_fs/strings-reps-test.c cd subversion/libsvn_subr && /bin/sh ./libtool --silent --mode=link gcc -L/var/tmp/portage/subversion-1.0.0/image//usr/lib -mcpu=athlon -O3 -pipe -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -rpath /usr/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo date.lo error.lo hash.lo io.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo validate.lo xml.lo /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.1 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl ./libtool: ./libtool: No such file or directory make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-util/subversion-1.0.0 failed. !!! Function src_compile, Line 118, Exitcode 2 !!! make of subversion failed Python support should work if you rebuild swig (and all other packages) to use python-2.3 instead of python-2.2 To use Subversion with Apache 2 you must set the apache2 USE flag. As far as the Python support being broken, it is dependant on your version of swig. It sounds like you need to run python-updater as well as revdep-rebuild and follow along. Doing all three of these will solve the problem 100% I guess this should be solved by now It works with a later version of subversion. |