Anonymous | Login | Signup for a new account | 11-10-2008 13:55 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005934 | [buildroot] Other | minor | always | 11-03-08 09:40 | 11-03-08 12:11 | ||||
Reporter | john_schimandle | View Status | public | ||||||
Assigned To | buildroot | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 0.9.27 | ||||||
Summary | 0005934: HOST_GLIB not set correctly for libgtk2 | ||||||||
Description |
HOST_GLIB is set to the path that contains the host glib tool set and is used when building package libgtk2 to create certain files. The buildroot top level Makefile sets HOST_GLIB using which to find the path where glib-genmarshal is located. The problem is that a cross compiled version of glib-genmarshal is also put in the build_ARCH/staging_dir/usr/bin directory when the package libglib2 is built. This cross compiled version will typically not run on the host system. If you have build_ARCH/staging_dir/usr/bin in your PATH variable before the host location of glib-genmarshal then HOST_GLIB will be set incorrectly. build_ARCH/staging_dir/usr/bin can easily be in your path if you follow the buildroot documentation to use the gcc cross compiler located in build_ARCH/staging_dir/usr/bin and place this directory in your PATH. |
||||||||
Additional Information |
#PATH variable is set like this #/home/john/linux4sam is my buildroot root directory /home/john/linux4sam/buildroot/build_arm/staging_dir/usr/bin:$PATH #Makefile uses which to find the path to glib-genmarshal HOST_GLIB_BIN:=`dirname $(shell $(CONFIG_SHELL) -c "which glib-genmarshal" || echo /usr/bin/glib-genmarshal)` #modified Makefile line to ignore staging_dir if set in PATH HOST_GLIB_BIN:=`dirname $(shell $(CONFIG_SHELL) -c "which -a glib-genmarshal | grep -v staging_dir | head -n 1" || echo /usr/bin/glib-genmarshal) Patch file attached |
||||||||
Attached Files | HOST_GLIBpath.patch [^] (726 bytes) 11-03-08 09:40 | ||||||||
|
Copyright © 2000 - 2006 Mantis Group |