You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Steve Lhomme <st...@free.fr> on 2004/07/12 13:08:18 UTC
make swig-py fails
Hi,
I've subscribed here to ask how I could have the python bindings compile.
I just did a complete checkout of the subversion trunk. Then run
autogen.sh and ./configure... Then when I "make swig-py" I get the
following error (FreeBSD 4.9 machine with a home build Apache 2.0.50) :
-bash-2.05b$ make swig-py
mkdir subversion/bindings/java/javahl/classes
mkdir subversion/bindings/java/javahl/include
mkdir subversion/bindings/swig/java/build
/usr/local/bin/swig -c -python
-I/tmp/sub/subversion/subversion/bindings/swig
-I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
-DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
-I/usr/local/apache-2.0.50/include -I/usr/local/include
-I/tmp/sub/subversion/subversion/bindings/swig
-I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
-DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
-I/usr/local/apache-2.0.50/include -I/usr/local/include
-I/usr/local/include/python2.3
-I/tmp/sub/subversion/subversion/bindings/swig/python/libsvn_swig_py -o
subversion/bindings/swig/python/svn_client.c
/tmp/sub/subversion/subversion/bindings/swig/svn_client.i
/usr/local/bin/bash /tmp/sub/subversion/libtool --silent --mode=compile
cc -DNDEBUG -O -pipe -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000 -fPIC
-D_REENTRANT -D_THREAD_SAFE
-I/tmp/sub/subversion/subversion/bindings/swig
-I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
-DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
-I/usr/local/apache-2.0.50/include -I/usr/local/include
-I/tmp/sub/subversion/subversion/bindings/swig
-I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
-DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
-I/usr/local/apache-2.0.50/include -I/usr/local/include
-I/usr/local/include/python2.3
-I/tmp/sub/subversion/subversion/bindings/swig/python/libsvn_swig_py
-prefer-pic -c -o subversion/bindings/swig/python/svn_client.lo
subversion/bindings/swig/python/svn_client.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
*** Error code 1
Stop in /tmp/sub/subversion.
--
robUx4 on blog <http://robux4.blogspot.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: make swig-py fails
Posted by Steve Lhomme <st...@free.fr>.
BTW, how do I add an issue in your tracker ?
I haven't seen anything like "create new issue/bug".
Steve Lhomme a écrit :
> Hi,
>
> I've subscribed here to ask how I could have the python bindings compile.
>
> I just did a complete checkout of the subversion trunk. Then run
> autogen.sh and ./configure... Then when I "make swig-py" I get the
> following error (FreeBSD 4.9 machine with a home build Apache 2.0.50) :
>
> -bash-2.05b$ make swig-py
> mkdir subversion/bindings/java/javahl/classes
> mkdir subversion/bindings/java/javahl/include
> mkdir subversion/bindings/swig/java/build
> /usr/local/bin/swig -c -python
> -I/tmp/sub/subversion/subversion/bindings/swig
> -I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
> -DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
> -I/usr/local/apache-2.0.50/include -I/usr/local/include
> -I/tmp/sub/subversion/subversion/bindings/swig
> -I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
> -DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
> -I/usr/local/apache-2.0.50/include -I/usr/local/include
> -I/usr/local/include/python2.3
> -I/tmp/sub/subversion/subversion/bindings/swig/python/libsvn_swig_py -o
> subversion/bindings/swig/python/svn_client.c
> /tmp/sub/subversion/subversion/bindings/swig/svn_client.i
> /usr/local/bin/bash /tmp/sub/subversion/libtool --silent --mode=compile
> cc -DNDEBUG -O -pipe -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000 -fPIC
> -D_REENTRANT -D_THREAD_SAFE
> -I/tmp/sub/subversion/subversion/bindings/swig
> -I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
> -DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
> -I/usr/local/apache-2.0.50/include -I/usr/local/include
> -I/tmp/sub/subversion/subversion/bindings/swig
> -I/tmp/sub/subversion/subversion/include -I/usr/local/lib/swig1.3
> -DSVN_SWIG_VERSION=103019 -I/usr/local/apache-2.0.50/include
> -I/usr/local/apache-2.0.50/include -I/usr/local/include
> -I/usr/local/include/python2.3
> -I/tmp/sub/subversion/subversion/bindings/swig/python/libsvn_swig_py
> -prefer-pic -c -o subversion/bindings/swig/python/svn_client.lo
> subversion/bindings/swig/python/svn_client.c
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> *** Error code 1
>
> Stop in /tmp/sub/subversion.
>
>
--
robUx4 on blog <http://robux4.blogspot.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: make swig-py fails
Posted by Steve Lhomme <st...@free.fr>.
Joe Orton a écrit :
> On Mon, Jul 12, 2004 at 09:59:14PM +0200, Steve Lhomme wrote:
>
>>Joe Orton a écrit :
>>
>>>You can avoid this by passing "CC=gcc" to configure when you build both
>>>Python and Subversion.
>>
>>I did this, to get the same result :
>
>
> You rebuilt both, Subversion and Python, forcing CC=gcc? I don't know
Nop, only Subversion. Is it important to rebuild Python too ? I just
installed it from a package and it's supposed to work fine...
> then. The issue occurs when Subversion tries to build the Python
> bindings using 'cc', but libtool was configured using CC=gcc, or
> similar.
--
robUx4 on blog <http://robux4.blogspot.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: make swig-py fails
Posted by Joe Orton <jo...@manyfish.co.uk>.
On Mon, Jul 12, 2004 at 09:59:14PM +0200, Steve Lhomme wrote:
> Joe Orton a écrit :
> >You can avoid this by passing "CC=gcc" to configure when you build both
> >Python and Subversion.
>
> I did this, to get the same result :
You rebuilt both, Subversion and Python, forcing CC=gcc? I don't know
then. The issue occurs when Subversion tries to build the Python
bindings using 'cc', but libtool was configured using CC=gcc, or
similar.
joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: make swig-py fails
Posted by Steve Lhomme <st...@free.fr>.
Joe Orton a écrit :
> On Mon, Jul 12, 2004 at 03:08:18PM +0200, Steve Lhomme wrote:
>
>>I've subscribed here to ask how I could have the python bindings compile.
>>
>>I just did a complete checkout of the subversion trunk. Then run
>>autogen.sh and ./configure... Then when I "make swig-py" I get the
>>following error (FreeBSD 4.9 machine with a home build Apache 2.0.50) :
>>
>>-bash-2.05b$ make swig-py
>
> ...
>
>>libtool: compile: unable to infer tagged configuration
>>libtool: compile: specify a tag with `--tag'
>>*** Error code 1
>
>
> You can avoid this by passing "CC=gcc" to configure when you build both
> Python and Subversion.
I did this, to get the same result :
-bash-2.05b$ CC=gcc ./configure --with-apr=/usr/local/apache-2.0.50/bin
--with-apr-util=/usr/local/apache-2.0.50/bin
--with-apxs2=/usr/local/apache-2.0.50/bin/apxs
--
robUx4 on blog <http://robux4.blogspot.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: make swig-py fails
Posted by Joe Orton <jo...@manyfish.co.uk>.
On Mon, Jul 12, 2004 at 03:08:18PM +0200, Steve Lhomme wrote:
> I've subscribed here to ask how I could have the python bindings compile.
>
> I just did a complete checkout of the subversion trunk. Then run
> autogen.sh and ./configure... Then when I "make swig-py" I get the
> following error (FreeBSD 4.9 machine with a home build Apache 2.0.50) :
>
> -bash-2.05b$ make swig-py
...
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> *** Error code 1
You can avoid this by passing "CC=gcc" to configure when you build both
Python and Subversion.
joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org