[Buildroot] svn commit: trunk/buildroot

Ulf Samuelsson ulf.samuelsson at atmel.com
Tue Jul 8 09:59:57 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hamish Moffatt skrev:
> On Tue, Jul 08, 2008 at 07:39:52AM +0200, Peter Korsgaard wrote:
>>  Ulf> Did not check.
>>
>> I think they only support distributions with gnome in /usr.
> 
> Why do we need to determine the full path anyway rather than using
> $(PATH)? Or always build our own glib-genmarshal rather than trying to
> determine if there's a host one available, or just require that a host
> one is installed in the path.
> 
> Hamish

The gnome configuration does not use $(PATH) to determine
where glib-genmarshal is located.
It also ignores totally the GLIB_GENMARSHAL environment variable.

It queries "$(PKG_CONFIG_PATH)/glib-2.0.pc" using pkg-config
PKG_CONFIG_PATH is set to $(STAGING_DIR)/usr/lib/pkgconfig
The query returns the path to target glib-genmarhal = /usr/lib.

If you set PKG_CONFIG_PATH to "/usr/lib/pkgconfig", then
the build of libgtk2 will fail.

Building your own glib-genmarshal will not do you any good,
unless you can install it in /usr/bin which requires super-user privileges.

I managed to successfully build libgtk2 for the ARM architecture
right now, by symlinking some gnome applications to /usr/bin
and a patch to libgtk2-2.12.6'configure.

I saved all symlink definitions in a script, which I am
considering checking in.

The configure script will not recognize arm-unknown-linux-gnu
as a host, and "sys_lib_search_path_spec" seems to be hardwired
to "/usr/lib /lib /usr/local/lib" so the ARM applications
are linked with host libraries.

Will add this patch right now.

BR
Ulf Samuelsson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIczqdAyRRH5cXxqwRAknTAJ91z6Mc3orgO2LTnQsu3xu76q5hQgCfXqd6
UyGgxdzHmux9fHB+qEecrrA=
=vZTY
-----END PGP SIGNATURE-----



More information about the buildroot mailing list