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

build problems: swig perl bindings

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2003-11-24 22:02:31 CET

Although I have found the problem, I have no immediate solution.

I have a problem building the Perl SWIG bindings. The python ones are no
problem.

I run RedHat Linux 9.0 (on this machine) and I updated SWIG to version
1.3.19 (the newest I could find on rpmfind.net).

When configuring and compiling the bindings, I get:

[erik@bartje svn]$ make swig-pl
/usr/bin/swig -c -perl -I/home/erik/dev/svn-dev/svn/subversion/bindings/swig
-I/home/erik/dev/svn-dev/svn/subversion/include -I/usr/include/apache
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -o
subversion/bindings/swig/perl/svn_client.c
/home/erik/dev/svn-dev/svn/subversion/bindings/swig/svn_client.i
swig error : Unrecognized option -fno-strict-aliasing
Use 'swig -help' for available options.
make: *** [subversion/bindings/swig/perl/svn_client.c] Error 1

The problem - as I found - is the fact that the command for filling
SWIG_PL_INCLUDES returns the -fno-strict-aliasing:

[erik@bartje svn]$ perl -MExtUtils::Embed -e ccopts
 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE

So I guess I'm asking: who knows how to solve this?!

bye,

Erik.

-- 
GMX Weihnachts-Special: Seychellen-Traumreise zu gewinnen!
Rentier entlaufen. Finden Sie Rudolph! Als Belohnung winken
tolle Preise. http://www.gmx.net/de/cgi/specialmail/
+++ GMX - die erste Adresse für Mail, Message, More! +++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 24 22:03:15 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.