You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Kunkee, Steve" <ku...@ugs.com> on 2006/10/14 04:08:23 UTC

subversion 1.4 undefined symbol from httpd

I am trying to upgrade my installation of Subversion from 1.3.2 to 1.4.
I am using Apache httpd 2.2.0 on HP-UX 11.11.  To get 1.4 to compile and
link, I had to add -disable-nls to some of the components. I added it to
coreutils-5.93, gettext-0.14.5, libiconv-1.9.1, neon-0.25.5, and
subversion-1.4.0. I'm not sure I needed to add it to all those, but with
those additions, it built on Linux and HP. 

I am also using zlib-1.2.3, expat-2.0.0, apr-1.2.7, and apr-util-1.2.7.
These worked well with Subversion 1.3.2.

When I try to start the httpd server, I get this message:

httpd: Syntax error on line 57 of /local/packages/conf/httpd.conf:
Cannot load /local/packages/hpp/modules/mod_dav_svn.so into server:
Unresolved external

It does not tell me which symbol is undefined. Can anyone tell me how to
get httpd to cough up the symbol, or better yet what I need to do to the
subversion configure to get mod_dav_svn built correctly?

Steve

 


Re: subversion 1.4 undefined symbol from httpd

Posted by Mohammed Rahman <mr...@yahoo.com>.
Hi,
  I just finished building the latest svn from source and I spent several days to get all the pieces working. You can try following combinations:
   
  1. Berkley db-4.4.20
  cd build_unix
../dist/configure --prefix=/opt/db-4.4.20
make
make install
   
   
  2. openldap 2.3.27
export LDFLAGS=-L/opt/db-4.4.20/lib
export CPPFLAGS=-I/opt/db-4.4.20/include
export LD_LIBRARY_PATH=/opt/db-4.4.20/lib
./configure --prefix=/opt/openldap-2.3.27
make
make install
   
   
  3. Make apache (Make sure you use apache 2.0.55, I could not get 2.2x working with webdav, dir locations are realtive to my environment, you should change them)
export LDFLAGS=-L/opt/db-4.4.20/lib:/opt/openldap-2.3.27/lib
export CPPFLAGS=-I/opt/db-4.4.20/include:/opt/openldap-2.3.27/include
export LD_LIBRARY_PATH=/opt/db-4.4.20/lib:/opt/openldap-2.3.27/lib

  ./configure --prefix=/opt/apache-2.0.55 --enable-mods-shared=all --enable-dav --enable-so --enable-maintainer-mode
make
make install
 
  
4. Make neon (make sure you use 0.25.5, dir locations are realtive to my environment, you should change them)
./configure --prefix=/opt/neon-0.25.5 CFLAGS='-fPIC'
  
make
make install
 
5. Make subversion
./configure --prefix /opt/subversion-1.4.0 --with-apr=/home/g031491/download/httpd-2.0.55/srclib/apr --with-apr-util=/opt/httpd-2.0.55/srclib/apr-util --with-apxs=/opt/apache-2.0.55/bin/apxs --with-neon=/opt/neon-0.25.5
 
make clean
make
  make install
   
  If you follow the versions correctly, you should be able to build svn with no issue. After building svn "svn --version' commnd should show following result:
   
  ----------------------------------------------------------------------------------------------------------------------------
  svn, version 1.4.0 (r21228)
   compiled Sep 18 2006, 17:10:55
  Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
  The following repository access (RA) modules are available:
  * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

  ----------------------------------------------------------------------------------------------------------------------------
   
  Good luck,
  Mohammed


"Kunkee, Steve" <ku...@ugs.com> wrote:                I am trying to upgrade my installation of Subversion from 1.3.2 to 1.4. I am using Apache httpd 2.2.0 on HP-UX 11.11.  To get 1.4 to compile and link, I had to add –disable-nls to some of the components. I added it to coreutils-5.93, gettext-0.14.5, libiconv-1.9.1, neon-0.25.5, and subversion-1.4.0. I’m not sure I needed to add it to all those, but with those additions, it built on Linux and HP. 
  I am also using zlib-1.2.3, expat-2.0.0, apr-1.2.7, and apr-util-1.2.7. These worked well with Subversion 1.3.2.
  When I try to start the httpd server, I get this message:
  httpd: Syntax error on line 57 of /local/packages/conf/httpd.conf: Cannot load /local/packages/hpp/modules/mod_dav_svn.so into server: Unresolved external
  It does not tell me which symbol is undefined. Can anyone tell me how to get httpd to cough up the symbol, or better yet what I need to do to the subversion configure to get mod_dav_svn built correctly?
  Steve
   




"I have nothing new to teach the world. Truth and non-violence are as old as the hills." ------Mahatma Gandhi