[Buildroot] svn commit: trunk/buildroot

Roberto A. Foglietta roberto.foglietta at gmail.com
Wed Nov 5 00:53:26 UTC 2008


2008/11/5 hartleys <hartleys at visionengravers.com>:
> On Tuesday, November 04, 2008 4:54 PM, Roberto A. Foglietta wrote:
>>>>> FYI, with the patch for revision 23923 I get the following messages
>
>>>>> when doing a "make menuconfig"
>>>>>
>>>>> Usage: grep [OPTION]... PATTERN [FILE]...
>>>>> Try `grep --help' for more information.
>>>>> dirname: missing operand
>>>>> Try `dirname --help' for more information.
>>>>> dirname: missing operand
>>>>> Try `dirname --help' for more information.
>>>>>
>>>>> It's something in the change to HOST_GLIB_BIN:= but I can't figure
>>>>> it
>>>
>>>>> out...
>>>>
>>>> Because in 'make menuconfig' BR2_STAGING_DIR="" and some commands
>>>> fail, try this patch:
>>>>
>>>> http://busybox.net/bugs/view.php?id=5984
>>>
>>> Just found that patch and tried it. Better but still no go...
>>>
>>> The new messages are:
>>>
>>> Usage: grep [OPTION]... PATTERN [FILE]...
>>> Try `grep --help' for more information.
>>>
>>> Could this be because I don't have a glib-genmarshal anywhere on my
>>> system? Actually, I'm not even sure what that executable is...
>>
>>
>> Sorry, you are right. Please try again
>>
>> http://busybox.net/bugs/view.php?id=5984
>>
>> patch -R < Makefile.patch
>>
>> patch < Makefile.patch2
>>
>> or
>>
>> svn revert Makefile
>> patch < Makefile.patch2
>
> That gets rid of the messages. FYI, HOST_GLIB_BIN and HOST_GLIB get set
> to the following on my system:
>
> HOST_GLIB_BIN=
> HOST_GLIB=.
>
> I just echoed the variables as:
>
>        @echo HOST_GLIB_BIN=$(HOST_GLIB_BIN)
>        @echo HOST_GLIB=$(HOST_GLIB)
>
> I assume HOST_GLIB_BIN is ok since I don't have glib-genmarshal
> installed. But will the '.' be a problem for HOST_GLIB?
>

I did not found any Makefile nor .mk in which HOST_GLIB_BIN is used!!!

You are right again because HOST_GLIB should be /usr by default, in fact:

roberto at rafbook:~/gles/buildroot$ find . -name \*.mk | xargs grep -n HOST_GLIB
./package/libgtk2/libgtk2.mk:67:		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
\
./package/libgtk2/libgtk2.mk:68:		ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_GLIB)/bin/gtk-update-icon-cache
\
./package/libgtk2/libgtk2.mk:69:		ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_GLIB)/bin/gdk-pixbuf-csource
\
./package/atk/atk.mk:41:		gl_cv_c_restrict=no
ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal \
./package/cairo/cairo.mk:42:		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
./package/pango/pango.mk:41:		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
./package/libglib2/libglib2.mk:43:		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
ac_cv_prog_F77=no \
./package/metacity/metacity.mk:98:		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
\
./package/webkit/webkit.mk:16:WEBKIT_MAKE_OPT =
GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
GLIB_MKENUMS=$(HOST_GLIB)/bin/glib-mkenums
./package/gtk2-engines/gtk2-engines.mk:72:		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
\

so again,

 http://busybox.net/bugs/view.php?id=5984

 Cheers,
-- 
/roberto



More information about the buildroot mailing list