You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2004/12/16 03:00:13 UTC
can't build swig-py
I think somehow our build system changed in the last month.
AFAIK, I've been running OSX with libtool 1.5 and swig 1.3.20 since
September. I've never had problems building swig-py bindings before.
Using today's trunk, I ran
make clean
./autogen.sh
./configure --enable-maintainer-mode
make
sudo make install
make swig-py
The last command fails suddenly for me:
/bin/sh /Users/sussman/projects/svn/libtool --silent --mode=compile gcc
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/Users/sussman/projects/svn/subversion/bindings/swig
-I/Users/sussman/projects/svn/subversion/include -I/sw/lib/swig1.3
-DSVN_SWIG_VERSION=103020 -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/BerkeleyDB.4.2/include
-I/Users/sussman/projects/svn/subversion/bindings/swig
-I/Users/sussman/projects/svn/subversion/include -I/sw/lib/swig1.3
-DSVN_SWIG_VERSION=103020 -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/BerkeleyDB.4.2/include
-I/sw/include/python2.3
-I/Users/sussman/projects/svn/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'
make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1
Somebody else running libtool 1.5 on linux is experiencing the same
thing in #svn.
Justin Erenkrantz says:
<jerenkrantz> libtool 1.5 tries to infer what to do based on the
filename
<jerenkrantz> but that blows up for swig
<jerenkrantz> so you need to add --tag=CXX (i think)
[...]
<jerenkrantz> libtool 1.5.10 broke this, aiui
<sussman> yeah, but something in our buildsystem must have changed
recently that exposed this libtool 1.5 annoyance.
<jerenkrantz> don't really understand why we never triggered it
Can anyone shed some light here? Can anyone else reproduce?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: can't build swig-py
Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 16, 2004, at 11:35 AM, Philip Martin wrote:
> Ben Collins-Sussman <su...@collab.net> writes:
>
>> Oh yeah, I'm doing
>>
>> ./autogen.sh
>> CC="ccache cc" ./configure --enable-maintainer-mode
>
> Looks like that CC= is the cause, I can reproduce your problem with
>
> $ cat zz
> #!/bin/sh
> exec $@
> $ CC="./zz gcc" ./configure
>
Well, then, I guess I'll stop using 'ccache'. Sander Striker told me
it was absolutely wonderful, but after 3 weeks of constant use, the
statistics are pretty unimpressive. I've not really noticed any
speedup at all.
$ ccache -s
cache hit 832
cache miss 3495
called for link 1019
compile failed 45
preprocessor error 4
couldn't find the compiler 2
autoconf compile/link 52
no input file 40
files in cache 6990
cache size 103.8 Mbytes
max cache size 976.6 Mbytes
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: can't build swig-py
Posted by Philip Martin <ph...@codematters.co.uk>.
Ben Collins-Sussman <su...@collab.net> writes:
> Oh yeah, I'm doing
>
> ./autogen.sh
> CC="ccache cc" ./configure --enable-maintainer-mode
Looks like that CC= is the cause, I can reproduce your problem with
$ cat zz
#!/bin/sh
exec $@
$ CC="./zz gcc" ./configure
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: can't build swig-py
Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 16, 2004, at 10:41 AM, Philip Martin wrote:
> Ben Collins-Sussman <su...@collab.net> writes:
>
>> libtool: compile: unable to infer tagged configuration
>> libtool: compile: specify a tag with `--tag'
>> make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1
>
> I'm no libtool expert, but I think that means libtool is having a
> problem handling your compiler or your compiler options. Do you have
> any compiler environment variables set? Are you using a wrapper
> script around your compiler binary?
>
> Using something like "CC=gcc ./configure ..." sometimes helps,
> although it would be better to identify the source of the problem.
>
Oh yeah, I'm doing
./autogen.sh
CC="ccache cc" ./configure --enable-maintainer-mode
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: can't build swig-py
Posted by Philip Martin <ph...@codematters.co.uk>.
Ben Collins-Sussman <su...@collab.net> writes:
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1
I'm no libtool expert, but I think that means libtool is having a
problem handling your compiler or your compiler options. Do you have
any compiler environment variables set? Are you using a wrapper
script around your compiler binary?
Using something like "CC=gcc ./configure ..." sometimes helps,
although it would be better to identify the source of the problem.
> Somebody else running libtool 1.5 on linux is experiencing the same
> thing in #svn.
I'm using both
ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 $
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Debian: 220 $
on Linux.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org