[oe-issues] [Bug 1879] libxml-parser-perl build failing

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Tue May 29 11:50:13 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=1879


Jamie Lenehan <lenehan at twibble.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #4 from Jamie Lenehan <lenehan at twibble.org>  2007-05-29 04:50:13 ---
This is failing to build with perl 5.8.8 because the value of the CCFLAGS are
being replace with OE specific ones somewhere along the way, resulting in
_GNU_SOURCE not being defined.

This effects any modules that link to the perl core library (and isn't new for
this version of perl, the old version had the same issues).

There's a secondary issue in that it's using the hosts perl headers. That's
easily changed by settings PERL_SRC to an appropriate value, but without the
CCFLAGS being fixed it's not much help yet.

As a workaround for now adding the following to libxml-parser-perl_2.34.bb will
get it to build if you have the perl headers on your system:

CFLAGS += "-D_GNU_SOURCE -DTHREADS_HAVE_PIDS" 

I'll continue to work on a full fix.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list