You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Holger Hoffstätte <ho...@daedalos.com> on 2004/02/09 09:09:38 UTC

Re: Subversion on SuSe Linux 9.0 (SOLVED)

The key to success when building subversion on SuSE (or anywhere else, 
actually) is to make _really_ sure you use the CFLAGS used for building 
apache2 itself; otherwise mod_dav_svn might be built without e.g. -fPIC 
and will just take down apache as soon as modules start to interact, as 
happened tp me. These settings can be queried with apxs2, e.g. on SuSE9 
with the prebuilt apache-2.0.48:

# apxs2 -q CFLAGS
-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -Wall 
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

So for configuring subversion to /usr/local/ using the supplied & prebuilt 
apr/apr-util/db/neon libraries you'd use something like:

#CFLAGS="-pipe $(apxs2 -q CFLAGS)" ./configure --with-zlib 
--with-neon=/usr --with-apr=/usr --with-apr-util=/usr 
--with-apxs=/usr/sbin/apxs2

Only problem is that the supplied neon on SuSE9 is a bit too old. A more 
recent build will eventually show up here:
ftp://ftp.suse.com/pub/projects/apache/neon/
but for now can be had from:
http://bubi2.poeml.de/pub/packages/neon/

There are also updated packages for apache2 and a prebuilt subversion, but 
although the packages for subversion claim to be 0.37 they're still 0.36; 
I guess this will be fixed in time for 1.0.

Thanks a lot to Peter Poeml at SuSE for quick help!

Holger
-- 
Holger Hoffstätte
Daedalos Consulting GmbH
Ruhrtal 5, 58456 Witten, Germany
http://www.daedalos.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org