[Buildroot] [buildroot 0003924]: Buildroot assumes that host glib-genmarschal is located in /usr/bin/

bugs at busybox.net bugs at busybox.net
Sat Jul 5 22:07:51 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=3924 
====================================================================== 
Reported By:                UlfSamuelsson
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   3924
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             07-04-2008 01:59 PDT
Last Modified:              07-05-2008 15:07 PDT
====================================================================== 
Summary:                    Buildroot assumes that host glib-genmarschal is
located in /usr/bin/
Description: 
The build of libglib2-2.15.4 assumes that /usr/bin/glib-genmarschal
exists.
On OpenSUSE 10.2 (at least) it it located in
/opt/gnome/bin/glib-genmarschal.

A simple fox for this problem is to do:
sudo ln -s /opt/gnome/bin/glib-genmarshal /usr/bin/glib-genmarshal

====================================================================== 

---------------------------------------------------------------------- 
 UlfSamuelsson - 07-05-08 01:16  
---------------------------------------------------------------------- 
Same problem for glib-mkenums when building libgtk2-2.12.6/gdk-pixbuf

sudo ln -s /opt/gnome/bin/glib-mkenums /usr/bin/glib-mkenums 

---------------------------------------------------------------------- 
 UlfSamuelsson - 07-05-08 02:21  
---------------------------------------------------------------------- 
Checking a little bit more, reveals that the glib-genmarshal path
is hardwired to /usr/bin in the libgtk2.mk configure as well as in other
packages.
glib is installed in /opt/gnome in OpenSuSE so this
better be a configuration item $(HOST_GLIB) with 
applications in $(HOST_GLIB)/bin 

---------------------------------------------------------------------- 
 UlfSamuelsson - 07-05-08 15:07  
---------------------------------------------------------------------- 
Apparently, the "/usr/bin" location for GLIB binaries
is set explicitly in the configure statement of
several pacakages.
A new variable (BR2_)HOST_GLIB has been introduced which
can be set to something else than "/usr" as the location
for Gnome stuff.
It can also be set globally in your shell as
export BUILDROOT_HOST_GLIB=/opt/gnome 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-04-08 01:59  UlfSamuelsson  New Issue                                    
07-04-08 01:59  UlfSamuelsson  Status                   new => assigned     
07-04-08 01:59  UlfSamuelsson  Assigned To               => buildroot       
07-05-08 01:16  UlfSamuelsson  Note Added: 0008974                          
07-05-08 02:21  UlfSamuelsson  Note Added: 0008984                          
07-05-08 15:07  UlfSamuelsson  Status                   assigned => closed  
07-05-08 15:07  UlfSamuelsson  Note Added: 0009034                          
======================================================================




More information about the buildroot mailing list