[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion on SuSe Linux 9.0 (SOLVED)

From: Holger Hoffstätte <holger.hoffstaette_at_daedalos.com>
Date: 2004-02-09 10:09:38 CET

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

Only problem is that the supplied neon on SuSE9 is a bit too old. A more
recent build will eventually show up here:
but for now can be had from:

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 Hoffstätte
Daedalos Consulting GmbH
Ruhrtal 5, 58456 Witten, Germany
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 9 10:10:06 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.