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

Problems installing the swig-py bindings

From: Richard Barrett <r.barrett_at_ftel.co.uk>
Date: 2004-01-13 18:20:39 CET

I am new to subversion and need some help getting the svnshell.py
script working.

My system is running Solaris Solaris 9 with subversion 0.35.1, SWIG
1.3.20, Python 2.3.3, Apache 2.0.48

configure and make of the relevant software seems to have been error
free to this point. subversion and its associated Apache 2 modules
appear to be working OK.

I am trying to faithfully follow instructions in
$build/subversion-0.35.1/subversion/bindings/swig/INSTALL in order to
build and install bindings for python, presuming this will allow me to
use svnshell.py.

When, per that INSTALL document, I run 'make swig-py' I get the
following error reported:

bash-2.05# make swig-py
/bin/bash
/var/ftel-apache-build/32bit/apache2/svn-latest-20040112/svn/libtool
--silent --mode=compile -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT
-I/var/ftel-apache-build/32bit/apache2/svn-latest-20040112/svn/
subversion/bindings/swig
-I/var/ftel-apache-build/32bit/apache2/svn-latest-20040112/svn/
subversion/include -I/usr/local/apache2/include -prefer-pic -c -o
subversion/bindings/swig/python/svn_client.lo
subversion/bindings/swig/python/svn_client.c
libtool: unrecognized option `-DSOLARIS2=9'
Try `libtool --help' for more information.
make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1
bash-2.05#

Hacking the value of CPPFLAGS in the Makefile to remove the "offending"
option '-DSOLARIS2=9' just leads to the next option in the CPPFLAGS
value being complained about.

bash-2.05# make swig-py
/bin/bash
/var/ftel-apache-build/32bit/apache2/svn-latest-20040112/svn/libtool
--silent --mode=compile -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/var/ftel-apache-build/32bit/apache2/svn-latest-20040112/svn/
subversion/bindings/swig
-I/var/ftel-apache-build/32bit/apache2/svn-latest-20040112/svn/
subversion/include -I/usr/local/apache2/include -prefer-pic -c -o
subversion/bindings/swig/python/svn_client.lo
subversion/bindings/swig/python/svn_client.c
libtool: unrecognized option `-D_POSIX_PTHREAD_SEMANTICS'
Try `libtool --help' for more information.
make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1
bash-2.05#

I see a similar problem in this list's archive but no solution:
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgId=300374

Referring back to that INSTALL file comments on the SWIG installation,
it says "In particular, you want to make sure that libswig_py.so was
built and installed ...". Well it wasn't, but the SWIG ./configure and
make did not report any problems. Whether this is relevant to my
problem is not clear to me.

Can anybody point me to an obvious mistake I may be making or suggest a
quick course of action/investigation to resolve this. For a start, it
is not obvious to me what generated these libtool options values and
why they are being reported as incorrect.

Any help much appreciated.

Richard Barrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 13 18:21:47 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.