ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Fixing libXt compilation


From: Stuart Hughes
Subject: Re: [Ltib] Fixing libXt compilation
Date: Tue, 09 Jun 2009 19:37:29 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Alan,

I don't think this patch is correct. The util directory builds makestrs, which is run on the build machine as part of the package build.

The idea of the inline perl is to make it compile using the build machines resources, so gcc is set to the BUILDCC *and* the header files need to come from /usr/include, not those installed into your rootfs ($DEV_IMAGE) area.

Probably the reason it fixes your compile issue is that the ltib rootfs area is providing a header file you are missing from your build machine. This mean you probably need to install a missing -dev package on your host.

Maybe if you can output your build failure we can progress this.

Regards, Stuart

Alan Carvalho de Assis wrote:
This patch fixed libXt compilation. Tested on Ubuntu 9.04

--- libXt_orig.spec     2009-06-09 12:52:34.000000000 -0300
+++ libXt.spec  2009-06-09 12:52:56.000000000 -0300
@@ -33,9 +33,7 @@
   --disable-static \
   
--with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"

-perl -pi.bak -e 's,^CC = gcc,CC = $ENV{BUILDCC},;
-                 s,$ENV{DEV_IMAGE}/usr/include,/usr/include,g;
-            ' util/Makefile
+perl -pi.bak -e 's,^CC = gcc,CC = $ENV{BUILDCC},;' util/Makefile

 make HOSTCC="$BUILDCC"


_______________________________________________
LTIB home page: http://bitshrine.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]