[oe] gd package and cross compile badness

Alain2210 alain2210 at free.fr
Fri Sep 1 10:01:45 UTC 2006


Hello,

thnaks for this answer :

Quoting Jamie Lenehan <lenehan at twibble.org>:

> On Wed, Aug 30, 2006 at 09:47:16PM +0200, Alain2210 wrote:
> > 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
>
> The configure script is looking in /usr/include for headers, but
> those headers are for your host system and not for the target system.

Yes, I understand that.

> 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.

I have forgotten to say that I was using familiar-unstable.

>
> 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:

Yes, this corrects the problem.

I get an analogous problem in tetex. And will try to solve it with the same
technic.

Thanks,

Alain




More information about the Openembedded-devel mailing list