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

SVN on AIX

From: Drew Leske <dleske_at_uvic.ca>
Date: 2004-02-05 02:49:09 CET

Hi,

I've been trying for quite a while to get a Subversion server running on AIX.
I have successfully built Apache and thanks to a few out-of-band pointers
from Travis P, managed to build a Subversion client that doesn't barf. This
all took a depressingly long time, mostly due to my inexperience with AIX...
;) (Why I'm trying to build it on AIX: we're short on hardware and an old
RS/6000 is the only machine we've got for the pilot.)

Anyway, httpd cannot load the Subversion modules, and gives absolutely no
helpful info on why that is:

[root@wit bin]$ ./apachectl start
Syntax error on line 231 of /usr/pkg/httpd-2.0.48/conf/httpd.conf:
Cannot load /usr/pkg/httpd-2.0.48/modules/mod_dav_svn.so into server:
[root@wit bin]$ ls -l /usr/pkg/httpd-2.0.48/modules/mod_dav_svn.so
-rwxr-xr-x 1 root system 546526 Feb 04 15:15
/usr/pkg/httpd-2.0.48/modules/mod_dav_svn.so
[root@wit bin]$

Nice eh? I've searched the net on the basic error message but most people
seem to get some specifics after the second line, like missing symbols and
whatnot.

httpd runs fine without those two modules. I had a web page up with dancing
hamsters and everything.

In case it provides any clues, here's my configure for Apache:

export PREFIX=/usr/pkg/httpd-2.0.48
LIBPATH=/usr/pkg/db-4.2.52/lib CC=xlc_r ./configure \
        --prefix=$PREFIX \
        --with-berkeley-db=/usr/pkg/db-4.2.52 \
        --with-dbm=db4 \
        --enable-layout-Apache \
        --enable-so \
        --enable-dav \
        --enable-static-support \
        --enable-maintainer-mode

...and my configure for Subversion:

export LIBPATH=/usr/pkg/db-4.2.52/lib
export LD_LIBRARY_PATH=/usr/pkg/db-4.2.52/lib
export PREFIX=/usr/pkg/subversion-0.37.0
CFLAGS="-qmaxmem=-1 -O -qlanglvl=extended" CC=xlc_r ./configure \
        --prefix=$PREFIX \
        --with-apxs=/usr/pkg/httpd-2.0.48/bin/apxs \
        --with-berkeley-db=/usr/pkg/db-4.2.52 \
        --enable-maintainer-mode

I don't see any make errors or significant configure problems.

If anybody has any ideas, I'd love to hear them. The documentation coyly
alludes to the possibility of building static Subversion modules, but it's
just a tease: if somebody knows what this horrible process is, please tell
me!

The frustrating thing is how easy this was to install from source on my home
Linux box.

Thanks,
Drew.

----------------------------------------------------------------------------
 Drew Leske half-duplex: dleske@uvic.ca
 Systems Group, Computing and Systems Services full-duplex: (250) 472-5055
 University of Victoria

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 5 02:47:43 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.