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

Build notes: recompiling subversion 1.02 for solaris

From: Jose Luu <jluu_at_mainsoft.com>
Date: 2004-05-25 23:35:30 CEST

Hi there,

Here are my build notes, for subversion 1.02 and apache 2.0.49 on solaris 8
with the solaris compiler workshop 6U2,
I don't think they are specific to solaris, they are typical of a corporate
setup where you don't want (cannot) put the components in the locations
where they are expected by the configure scripts.

In addition to subversion and apache, I have used BerkeleyDB 4.2.52,
downloaded from the sleepycat site.

1) Compiling berkeleyDB:
cd build_unix
../dist/configure --enable-debug --disable-cryptography --enable-cxx --disab
le-tcl --prefix=/projets/prod/berkleydb/4.2.52.NC/${platform}/debug CC=${CC}
CXX=${CXX}

2) Compiling apache2
Notes:
- no modifications to the source tree
- you should have perl 5.6 in your path as 5.003 is not usable
- It is mandatory however to have BerkeyleyDB in the LD_LIBRARY_PATH,
otherwise configure does not find it (despite the fact that the location is
passed on the command line).

LD_LIBRARY_PATH=/projets/prod/berkeleydb/4.2.52.NC/{platform}/debug/lib:${LD
_LIBRARY_PATH} PATH=/soft/perl/5.6/${platform}/bin:${PATH}
./configure --enable-mods-shared='dav
dav-fs' --disable-ssl --prefix=/projets/prod/apache2/2.0.49/${platform}/debu
g --with-perl=/soft/perl/5.6/${platform}/bin/perl --with-berkeley-db=/projet
s/prod/berkeleydb/4.2.52.NC/${platform}/debug CXX=${CXX} CC=${CC}

3) Compiling subversion
Notes:
- apr and apr-utils come from apache2
- I am not sure it is useful to restate BerkeleyDB at this point since
apr-utils has been compiled with it, but anyway I did it.
- as for apache2, berkeleydb should be in the LD_LIBRARY_PATH

LD_LIBRARY_PATH=/projets/prod/berkeleydb/4.2.52.NC/${platform}/debug/lib:${L
D_LIBRARY_PATH} CC=${CC} CXX=${CXX}
./configure --with-apxs=/projets/prod/apache2/2.0.49/{platform}/debug/bin/ap
xs --with-apr=/projets/prod/apache2/2.0.49/${platform}/debug/bin --disable-s
tatic --enable-shared --prefix=/projets/prod/${package}/${version}/${platfor
m}/debug --enable-dso --disable-swig-bindings --with-apr-util=/projets/prod
/apache2/2.0.49/${platform}/debug/bin --with-berkeley-db=/projets/prod/berke
leydb/4.2.52.NC/${platform}/debug --with-dbm=db42

variable values:
platform=sparc-solaris8-6U2
CC=/opt/SUNWspro/WS6U2/bin/cc
CXX=/opt/SUNWspro/WS6U2/bin/CC

Enjoy subversion.
Jose Luu

www.applia.fr

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 26 04:56:16 2004

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

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