Forum Moderators: phranque
I have SUSE 10. I´ve downloaded GEFORGE version 4.5.6. I needed to install various dependencies from my distro DVD, but I´ve followed the instructions. I did './configure', 'make' and '/make install' but didn't tweaked ./configure options (made a default install). It was set on /etc/gforge.
My site is set up by apache at /srv/www/htdocs with right permissions (<Directory> configs, Allow all, etc)
After setting up YAST including modules as mod_dav.so, mod_svn.so, mod_dav_fs.so, apache didnt' start, with the following error:
"Cannot load /usr/lib/apache2/mod_dav_svn.so into server: /usr/lib/apache2/mod_dav_svn.so: undefined symbol: svn_fs_access_add_lock_token".
To ensure I did the right steps, I desinstaled my RPMs.
# rpm -ev apache2-prefork-2.0.54-10 apache2-mod_python-3.1.3-43 apache2-2.0.54-10 apache2-devel-2.0.54-10 neon-devel-0.24.7-8 neon-0.24.7-8 subversion-devel-1.2.3-2 OpenOffice_org-1.9.125-5 subversion-1.2.3-2 subversion-python-1.2.3-2 subversion-server-1.2.3-2 OpenOffice_org-pt-BR-1.9.125-5
(2minutes along)
And then I reinstalled from the SUSE10 site:
apache2
apache2-prefork
apache2-mod_python
apache2-devel
neon
neon-devel
subversion
subversion-devel
subversion-python
subversoin-server
I then executed them (downloaded all these 10 packages to /tmp/suserpm): 6 minutes to proceed
--------------------------------------------------------
# rpm -ivf apache2-2.0.54-10* apache2-devel* apache2-mod_python* apache2-prefork* neon-0.24* neon-devel* subversion-1.2* subversion-d* subversion-p* subversion-se*
Preparing packages for installation...
neon-0.24.7-8
subversion-1.2.3-2
Updating etc/sysconfig/svnserve...
neon-devel-0.24.7-8
subversion-devel-1.2.3-2
subversion-python-1.2.3-2
apache2-2.0.54-10
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.permissions...
Checking permissions and ownerships - using the permissions files
/etc/permissions.d/postfix
/etc/permissions.d/susehelp
/etc/permissions
/etc/permissions.easy
/etc/permissions.local
setting /usr/sbin/suexec2 to root:root 4755. (wrong permissions 0755)
Finished.
Updating etc/sysconfig/apache2...
apache2-prefork-2.0.54-10
apache2-devel-2.0.54-10
apache2-mod_python-3.1.3-43
subversion-server-1.2.3-2
--------------------------------------
However, the error continues!
root:~ # /etc/init.d/apache2 restart
Syntax error on line 2 of /etc/gforge/httpd.conf:
Cannot load /usr/lib/apache2/mod_dav_svn.so into server: /usr/lib/apache2/mod_dav_svn.so: undefined symbol: svn_fs_access_add_lock_token
root:~ #:LoadModule dav_module /usr/lib/apache2/mod_dav.so
--------------------------------------
On File /etc/gforge/httpd.conf I have the following configuration:
I tried to change positions and unload some modules with # before them, but new problems arise with other modulas as mod_authz_svn.
-------------------------------------------------------------
LoadModule dav_module /usr/lib/apache2/mod_dav.so
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
LoadModule auth_gforge_module /usr/lib/mod_auth_gforge.so
LoadModule dav_fs_module /usr/lib/apache2/mod_dav_fs.so
#
# Use name-based virtual hosting.
#
NameVirtualHost 10.5.114.98:80
#NameVirtualHost 10.5.114.98:443
#
# Primary GForge vhost
#
<VirtualHost 10.5.114.98:80>
ServerName agforge.com
# RewriteEngine on
# RewriteRule ^/(.*)$ [%{SERVER_NAME}...] [R=permanent]
#</VirtualHost>
#<VirtualHost 10.5.114.98:443>
ServerName agforge.com
ServerAdmin webmaster@agforge.com
DocumentRoot /usr/lib/gforge/www
(...)
-------------------------------------------------------------------
I didnt touch the rest of it.
In /etc/apache/httpd.conf Ie included ScriptAlias and GeforGE dir:
(...)
#Include GFORGE
Include /etc/gforge/httpd.conf
#SCRIPT ALIAS
ScriptAlias /viewcvs /etc/gforge/bin/cgi/viewcvs.cgi
ScriptAlias /query /etc/gforge/bin/cgi/query.cgi
(..)
There are no current answer on the net about this problem. Some says its a
problem with apache itself (but Im running the last version of SUSE 10) and others
say I need to download 'httpd tarball', with versions like 2.2.0. But A new problem arises
when running ./configure (configure error - C compiler cannot create executables), so I'm
checking G++ and other packages.
I would be very very glad and will appreciate every bit of wisdom about fixing these incompatibilities with SUSE 10,
mainly this SVN_FS_ACCESS token 'phrase of death'. Thank you :)