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

"make clean-swig-py" doesn't remove generated Python 3-specific SWIG files

From: Manuel Jacob <me_at_manueljacob.de>
Date: Wed, 17 Jun 2020 17:44:24 +0200

I tried to build SVN with bindings for Python 2. I followed the
instructions, but it didn't work:

# Step 1 of subversion/bindings/swig/INSTALL
# ... I installed SWIG 2 and passed --with-python=/usr/bin/python2.7 to
tar xaf ~/Downloads/subversion-1.14.0.tar.bz2
cd subversion-1.14.0
# Step 2 of subversion/bindings/swig/INSTALL
./configure --enable-maintainer-mode --prefix=/tmp/subversion_target
PYTHON=/usr/bin/python2.7 SWIG=/usr/bin/swig-2
make -j4
make install
# Step 3 of subversion/bindings/swig/INSTALL
make clean-swig-py
make swig-py
make check-swig-py

The last command fails with:
if [ "LD_LIBRARY_PATH" = "DYLD_LIBRARY_PATH" ]; then for d in
do if [ -n "$DYLD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH="$d/.libs"; fi; done; export LD_LIBRARY_PATH; fi; \
Traceback (most recent call last):
line 23, in <module>
     import mergeinfo, core, client, delta, checksum, pool, fs, ra, wc,
repository, \
line 22, in <module>
     from svn import core, repos, fs
line 26, in <module>
     from libsvn.core import *
line 152
     def apr_initialize() -> "apr_status_t":

Am I missing something?
Received on 2020-06-17 17:53:05 CEST

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.