On 8/24/05, mhardas@kent.edu <mhardas@kent.edu> wrote:
> Hi all, iam getting a problem while installing trac on rh linux 9.
> the actual problem seems to be with the subversion-python bindings.
> python somehow doesnt know where subversion is,
> error:
>
> $trac-admin help
> Traceback (most recent call last):
> File "/usr/local/bin/trac-admin", line 34, in ?
> from trac import sync
> File "/usr/local/lib/python2.3/site-packages/trac/sync.py", line 22, in ?
> from svn import core, fs, delta, repos
> ImportError: No module named svn
>
> All the forums say the problem is with bindings but i didnt seem to find
> a solution in sight,
>
> Subversion uses SWIG for it bindings, I installed it like this,
> $./configure --with-python=/usr/local/bin/python2.3
> $make && amke install
>
> Installed subversion as,
> ./configure
> make swig-py
> make install-swig-py (last two statements exit with error saying,
> cannot find library /$Subversionhome/apr-util/libaprutil-0.la
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1 )
>
> Has anyone encounterd this before, ??? pointers be appreciated.
Hi Mabas,
When you type "make swig-py", Subversion does not build external
packages such as apr-util. (This could be considered a bug in the
Subversion build system, but we haven't figured out a good way to fix
it yet.)
As a workaround, please try rebuilding Subversion with the following commands:
./configure --with-python=/usr/local/bin/python2.3
make && make swig-py && make install && make install-swig-py
Thanks,
David
--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 3 18:59:03 2005