* [Buildroot] Problem files
@ 2008-04-24 18:57 John Voltz
2008-04-24 19:07 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: John Voltz @ 2008-04-24 18:57 UTC (permalink / raw)
To: buildroot
I've noticed a few packages that use the "hackish" method of defining their
build environment by using a shell script instead of pkg-config. These
scripts reside in /usr/bin and are called by the configure script of other
packages that depend on them, the following is a list of the packages I have
found that do this:
cups-config
curl-config
fltk-config
freetype-config
gpg-error-config
ibgcrypt-config
icu-config
libpng12-config
pkg-config
xft-config
xml2-config
xslt-config
I'm looking for suggestions on what could be done to fix them so cross
compiling works. I would prefer to not have to rewrite all of the makefiles
to sed the right paths in. Freetype is the worst offender, it breaks pango
and fontconfig on Ubuntu. And if you build a system for x86, a few packages
will get linked against your build machine libraries instead of the target,
then you will get errors like "can't find libc.so.6" (gtk and glib are the
two I that know of)
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080424/55831383/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Problem files
2008-04-24 18:57 [Buildroot] Problem files John Voltz
@ 2008-04-24 19:07 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2008-04-24 19:07 UTC (permalink / raw)
To: buildroot
>>>>> "John" == John Voltz <john.voltz@gmail.com> writes:
John> I've noticed a few packages that use the "hackish" method of
John> defining their build environment by using a shell script
John> instead of pkg-config. These scripts reside in /usr/bin and are
John> called by the configure script of other packages that depend on
John> them, the following is a list of the packages I have found that
John> do this:
I take it you mean STAGING_DIR/usr/bin.
John> cups-config
John> curl-config
John> fltk-config
John> freetype-config
John> gpg-error-config
John> ibgcrypt-config
John> icu-config
John> libpng12-config
John> pkg-config
John> xft-config
John> xml2-config
John> xslt-config
SDL also has a sdl-config script.
John> I'm looking for suggestions on what could be done to fix them
John> so cross compiling works. I would prefer to not have to rewrite
John> all of the makefiles to sed the right paths in. Freetype is the
John> worst offender, it breaks pango and fontconfig on Ubuntu. And
John> if you build a system for x86, a few packages will get linked
John> against your build machine libraries instead of the target,
John> then you will get errors like "can't find libc.so.6" (gtk and
John> glib are the two I that know of)
I don't really think there's any other solution, but fixing the
-config scripts isn't that hard, see the sdl makefile for an example.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-24 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 18:57 [Buildroot] Problem files John Voltz
2008-04-24 19:07 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox