Elie `woe` BLETON wrote:
>Hello everyone,
>
>I'm trying to setup the Trac system. At the time I compiled SVN, I
>used --prefix=/usr/local/subversion Because I Like It ©.
>
>Here is my configure options, to compile subversion 1.1.2 :
>Apache 2.0.52 is used here, and bdb is 4.2.52.
>
>./configure \
> --prefix=/usr/local/subversion \
> --with-apr=/usr/local/apache2 \
> --with-apr-util=/usr/local/apache2 \
> --with-apxs=/usr/local/apache2/bin/apxs \
> --with-ssl \
> --with-berkeley-db=/usr
>
>The problem I run in is simple : I can't find any subdirectory in
>/usr/local/subversion/lib. I'm looking for ./libsvn or ./svn. The lib
>directory is full of files, but no subdirectories are present.
>
>There's nothing in /lib or /usr/lib or /usr/lib/python-2.2 or
>/usr/lib/python-2.3.
>I'm a bit puzzled, I didn't noticed any specific options in
>./configure --help to explicitely enable python bindings so I guess
>they're present by default. But where ?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
I've just installed python-2.3.4, swig-1.3.19, subversion-1.1.2,
sqlite-3.0.8, pysqlite-1.1.6, clearsilver-0.9.13, docutils-0.3.7 and
trac-0.8 on RedHat Linux 9 in /usr/local. I also installed apache
httpd-2.0.52 in /usr/local/apache2 and Berkeley db-4.2.52. Although my
Berkeley db was installed in /usr/local/BerkeleyDB.4.2.52 and I didn't
actually use it for subversion. Here is a partial transcript of my
session, you can make path adjustments as necessary:
# cd SWIG-1.3.19
# env CFLAGS='-fpic' ./configure --with-java=/usr/java/jdk1.5.0/bin/java
--with-javac=/usr/java/jdk1.5.0/bin/javac --with-tcl=/usr/bin/tcl
--with-javaincl=/usr/java/jdk1.5.0/include --with-guile=/usr/bin/guile
--with-php4=/usr/local/apache2/bin/php
--with-python=/usr/local/bin/python2.3 --enable-shared
# make
# make install
# cd subversion-1.1.2
# ./configure --with-apxs=/usr/local/apache2/bin/apxs
--with-apr=/home/jdh/BUILD/httpd-2.0.52/srclib/apr
--with-apr-util=/home/jdh/BUILD/httpd-2.0.52/srclib/apr-util --with-zlib
--with-ssl --without-berkeley-db --with-swig=/usr/local/bin/swig
--with-jdk=/usr/java/jdk1.5.0 PYTHON2=/usr/local/bin/python2.3
PERL=/usr/local/bin/perl5.8.5
# make
# make install
# make swig-py
# make install-swig-py
# cd /usr/local/lib/python2.3/site-packages/
# ln -s ../../svn-python/svn .
# ln -s ../../svn-python/libsvn .
When I was setting it up I found that I couldn't use swig newer than
1.3.19, and I couldn't use python 2.4 - I had to use 2.3.x. Additionally
subversions 'make swig-py && make install-swig-py' installed the python
modules into /usr/local/lib/svn-python when it really should have
installed them into /usr/local/lib/python2.3/site-packages/. To fix this
I manually created symlinks in site-packages to point to the svn and
libsvn modules in svn-python. I've also read somewhere that python 2.2
has a number of problems, so it is best avoided (my system also has
python2.2 installed in /usr).
--
James Holmes
Programmer/SysAdmin
RTDS Technologies Inc.
--
http://www.rtds.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 14 09:26:04 2005