[csw-users] Error when building Firefox 1.5.0.6

Mats Larsson mats.larsson at ericsson.com
Tue Aug 8 16:58:50 CEST 2006


I'm trying to build my own version of Firefox 1.5.0.6 with /opt/csw as 
the base for software it depends on. I've been doing this for ages... 
but today i ran into the following:

...
checking for pkg-config... /opt/csw/bin/pkg-config
checking for gtk+-2.0 >= 1.3.7... Couldn't parse Cflags field into an 
argument vector: missing argument
configure: error: Library requirements (gtk+-2.0 >= 1.3.7) not met; 
consider adjusting the PKG_CONFIG_PATH environment variable if your 
libraries are in a nonstandard prefix so pkg-config can find them.
*** Fix above errors and then restart with               "gmake -f 
client.mk build"
gmake[1]: *** [configure] Error 1
gmake[1]: Leaving directory 
`/opt/pub/src/mozilla/firefox/1.5.0.6/src/mozilla'
gmake: *** [/opt/pub/src/mozilla/firefox/1.5.0.6/src/mozilla/Makefile] 
Error 2
gmake: *** No targets specified and no makefile found.  Stop.

If I run e.g. '/opt/csw/bin/pkg-config --debug --libs gtk+-2.0' I get this:

...
Parsing package file '/opt/csw/lib/pkgconfig/gobject-2.0.pc'
   line>prefix=/opt/csw
  Variable declaration, 'prefix' has value '/opt/csw'
   line>exec_prefix=${prefix}
  Variable declaration, 'exec_prefix' has value '/opt/csw'
   line>libdir=${exec_prefix}/lib
  Variable declaration, 'libdir' has value '/opt/csw/lib'
   line>includedir=${prefix}/include
  Variable declaration, 'includedir' has value '/opt/csw/include'
   line>
   line>Name: GObject
   line>Description: GLib Type, Object, Parameter and Signal Library
   line>Requires: glib-2.0
Looking for package 'glib-2.0'
Looking for package 'glib-2.0-uninstalled'
Reading 'glib-2.0' from file '/opt/csw/lib/pkgconfig/glib-2.0.pc'
Parsing package file '/opt/csw/lib/pkgconfig/glib-2.0.pc'
   line>prefix=/opt/csw
  Variable declaration, 'prefix' has value '/opt/csw'
   line>exec_prefix=${prefix}
  Variable declaration, 'exec_prefix' has value '/opt/csw'
   line>libdir=${exec_prefix}/lib
  Variable declaration, 'libdir' has value '/opt/csw/lib'
   line>includedir=${prefix}/include
  Variable declaration, 'includedir' has value '/opt/csw/include'
   line>
   line>glib_genmarshal=glib-genmarshal
  Variable declaration, 'glib_genmarshal' has value 'glib-genmarshal'
   line>gobject_query=gobject-query
  Variable declaration, 'gobject_query' has value 'gobject-query'
   line>glib_mkenums=glib-mkenums
  Variable declaration, 'glib_mkenums' has value 'glib-mkenums'
   line>
   line>Name: GLib
   line>Description: C Utility Library
   line>Version: 2.12.1
   line>Libs: -L${libdir} -lglib-2.0 -lintl
   line>Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
   line>
Path position of 'GLib' is 1
Adding 'glib-2.0' to list of known packages, returning as package 'glib-2.0'
   line>Version: 2.12.1
   line>Libs: -L${libdir} -lgobject-2.0
   line>Cflags:
Couldn't parse Cflags field into an argument vector: missing argument

I'm confused, what's going on? Anyone?

/MOL




More information about the users mailing list