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

[SUCCESS] built shared under solaris

From: John D Groenveld <jdg117_at_elvis.arl.psu.edu>
Date: 2002-10-10 06:39:33 CEST

Hello, dev@subversion.tigris.org,
First time caller, long time listener.
Actually just a few weeks of reading the archives and fighting with
r30xx. :)

$ cd httpd-2.0.43
$ env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/opt/gnu/bin \
CC=cc CXX=CC \
./configure --with-ssl=/opt/openssl --with-z=/opt/zlib \
--prefix=/opt/apache2 --enable-mods-shared=most --enable-ssl \
--enable-proxy --enable-rewrite --disable-static --enable-shared \
--enable-dav --enable-so

$ rm -rf httpd-2.0.43 # as root also rm the static .la's in /opt/apache2/lib
$ cd neon-0.23.5
$ env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/opt/gnu/bin \
CPPFLAGS="-I/opt/zlib/include -I/opt/apache2/include" \
LDFLAGS="-L/opt/zlib/lib -R/opt/zlib/lib -L/opt/apache2/lib -R/opt/apache2/lib
-L/opt/sleepycat/lib -R/opt/sleepycat/lib" \
CC=cc CXX=CC \
./configure --enable-maintainer-mode --prefix=/opt/subversion \
--disable-static --with-expat --enable-shared

$ rm -rf neon-0.23.5
$ cd svn
$ env PATH=/usr/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/opt/gnu/bin \
CPPFLAGS="-I/opt/zlib/include -I/opt/apache2/include" \
LDFLAGS="-L/opt/zlib/lib -R/opt/zlib/lib -L/opt/apache2/lib -R/opt/apache2/lib
-L/opt/sleepycat/lib -R/opt/sleepycat/lib -L/opt/subversion/lib
-R/opt/subversion/lib" \
CC=cc CXX=CC \
./configure --enable-maintainer-mode --prefix=/opt/subversion \
--disable-static --with-expat --enable-shared \
--with-berkeley-db=/opt/sleepycat --with-apxs=/opt/apache2/bin/apxs \
--with-apr=/opt/apache2/bin/apr-config \ --with-apr-util=/opt/apache2/bin/apu-c
onfig --with-neon=/opt/subversion

$ /opt/subversion/bin/svn --version
svn, version 0.14.3 (dev build)
   compiled Oct 9 2002, 23:48:12

Copyright (C) 2000-2002 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema

$ /opt/subversion/bin/svn info
Path:
Url: http://svn.collab.net/repos/svn/trunk
Revision: 3343
Node Kind: directory
Schedule: normal
Last Changed Author: brane
Last Changed Rev: 3343
Last Changed Date: 2002-10-09 20:07:57 -0400 (Wed, 09 Oct 2002)
Properties Last Updated: 2002-10-09 21:18:51 -0400 (Wed, 09 Oct 2002)

$HEAD localhost|grep Server
Server: Apache/2.0.43 (Unix) DAV/2 SVN/0.14.3 (dev build)

The big gotchas were explicitly enabling --with-expat, svn seems to
prefer libxml, and removing the static libs in /opt/apache2/lib and
httpd-2.0.43's src directory entirely, ap[r|u]-config seems to prefer
those static libs. I also had to hand edit svn's Makefile
to replace the link to the static libexpat with my shared one.

BTW cc -V
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09
sparc-sun-solaris2.7 and i386-pc-solaris2.8

Bedtime, scratch that, beertime and thanks for what looks to be very
cool software.
John
groenveld@acm.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 06:40:22 2002

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.