[oe] gd package and cross compile badness
Jamie Lenehan
lenehan at twibble.org
Fri Sep 1 01:32:35 UTC 2006
On Wed, Aug 30, 2006 at 09:47:16PM +0200, Alain2210 wrote:
> Hello,
>
> I'm trying to compile tetex with org.openembedded.dev but it needs to compile gd
> (gd_2.0.33) but it does not work. It seems to be a problem in configure. In the
> config.log
> I can see
> CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
> cc1: internal compiler error: Aborted
>
> I have not well understood the message on http://www.openembedded.org/
> about this. So I'm writing to this list.
The configure script is looking in /usr/include for headers, but
those headers are for your host system and not for the target system.
I suspect you have one of those distro's that include the X header in
/usr/include only and not in /usr/X11R6/include and so it's the
search for the X headers that is the issue.
It looks for the X headers because they are needed if freetype or xpm
is support is being included in gd. It looks like neither of these
are included, so disabling the check for X is probably the correct
fix:
#
# old_revision [63b7883c8cd45c0306b301ca925831ff27775b20]
#
# patch "packages/gd/gd_2.0.33.bb"
# from [09dd91fdad9775cef7f151a0565b024ee673a635]
# to [1216c7c3c1dba874b78d93bcaa926ba3217bb075]
#
============================================================
--- packages/gd/gd_2.0.33.bb 09dd91fdad9775cef7f151a0565b024ee673a635
+++ packages/gd/gd_2.0.33.bb 1216c7c3c1dba874b78d93bcaa926ba3217bb075
@@ -13,7 +13,8 @@ EXTRA_OECONF += " --with-zlib=${STAGING_
EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
--with-png=${STAGING_LIBDIR}/.. \
--with-jpeg=${STAGING_LIBDIR}/.. \
- --without-xpm"
+ --without-xpm \
+ --without-x"
EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}"
--
Jamie Lenehan <lenehan at twibble.org>
More information about the Openembedded-devel
mailing list