Le 7 juillet 2011 09:38:08, Philip Martin a écrit :
> Stéphane Gaudreault <steph...@archlinux.org> writes:
> > Le 7 juillet 2011 08:43:06, Philip Martin a écrit :
> >> If you change the line in configure from
> >> 
> >>       SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e
> >> 
> >> ccopts`"
> >> 
> >> to
> >> 
> >>       SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `unset CFLAGS; $PERL
> >> 
> >> -MExtUtils::Embed -e ccopts`"
> >> 
> >> does it fix the problem?
> > 
> > make test still fails with the "Bizarre copy of UNKNOWN" error when I
> > change this line in configure.
> 
> So what is SWIG_PL_INCLUDES in your Makefile?
In the toplevel Makefile :

original :
SWIG_PL_INCLUDES = $(SWIG_INCLUDES)  -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -
I/usr/lib/perl5/core_perl/CORE 
 
with the change in the SWIG_PL_INCLUDES line in configure
SWIG_PL_INCLUDES = $(SWIG_INCLUDES)  -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -
I/usr/lib/perl5/core_perl/CORE

They are identical.

Reply via email to