Subject: libbonoboui does not make
To: None <tech-pkg@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: tech-pkg
Date: 06/22/2004 21:38:29
libbonoboui does not build for me with a current pkgsrc tree.  It's
preventing Dia from building.  

There's an error that gnome-config is not found.  Is that a problem?  

Potentially related question:  Which path are the GNU -config utilties
supposed to return?  I'm talking about fontconfig-config and
freetype-config, in particular.  Should they always return paths in
$X11BASE?  Does xpkgwedge affect the answer?  

I changed $X11BASE, but these scripts were returning /usr/X11R6.  I
changed them, but I'm not sure that was the right thing to do:  

$ echo $X11BASE; freetype-config --libs
/usr/.X11R6.2004-06-17
-Wl,-R/usr/.X11R6.2004-06-17/lib -L/usr/.X11R6.2004-06-17/lib -lfreetype

Log tail follows; full one at
http://www.schemamania.org/libbonoboui/make.log

Thank you.  

--jkl

checking for glib-genmarshal... /usr/.pkg.2004-06-17/bin/glib-genmarshal
checking for glib-mkenums... /usr/.pkg.2004-06-17/bin/glib-mkenums
gnome-config: not found
configure: creating ./config.status
config.status: creating Makefile
...
config.status: executing default-2 commands
===> Building for libbonoboui-2.6.1
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/.pkg.2004-06-17/bin/gmake  all-recursive
gmake[1]: Entering directory
`/usr/pkgsrc/devel/libbonoboui/work/libbonoboui-2.6.1'
Making all in bonobo
gmake[2]: Entering directory
`/usr/pkgsrc/devel/libbonoboui/work/libbonoboui-2.6.1/bonobo'
/usr/.pkg.2004-06-17/bin/glib-mkenums --fhead "#ifndef
__BONOBO_UI_TYPE_BUILTINS_H__\n" \
		--fhead "#define __BONOBO_UI_TYPE_BUILTINS_H__ 1\n\n" \
		--fhead "#include <glib-object.h>\n\n" \
		--fhead "G_BEGIN_DECLS\n\n" \
		--ftail "G_END_DECLS\n\n" \
		--ftail "#endif /* __BONOBO_UI_TYPE_BUILTINS_H__ */\n" \
		--fprod "\n/* --- @filename@ --- */" \
		--eprod "#define BONOBO_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n"
\
		--eprod "GType @enum_name@_get_type (void);\n" \
	bonobo-canvas-component.h bonobo-canvas-item.h bonobo-control-frame.h
bonobo-control.h bonobo-dock-band.h bonobo-dock-item.h
bonobo-dock-layout.h bonobo-dock.h bonobo-file-selector-util.h
bonobo-plug.h bonobo-property-control.h bonobo-selector-widget.h
bonobo-selector.h bonobo-socket.h bonobo-ui-component.h
bonobo-ui-config-widget.h bonobo-ui-container.h bonobo-ui-engine.h
bonobo-ui-main.h bonobo-ui-node.h bonobo-ui-sync.h
bonobo-ui-toolbar-button-item.h bonobo-ui-toolbar-item.h
bonobo-ui-toolbar-toggle-button-item.h bonobo-ui-toolbar.h
bonobo-ui-util.h bonobo-widget.h bonobo-window.h bonobo-zoomable-frame.h
bonobo-zoomable.h > xgen-gth \
&& cp xgen-gth bonobo-ui-type-builtins.h \
&& rm -f xgen-gth
/usr/.pkg.2004-06-17/bin/glib-mkenums: not found
gmake[2]: *** [bonobo-ui-type-builtins.h] Error 127
gmake[2]: Leaving directory
`/usr/pkgsrc/devel/libbonoboui/work/libbonoboui-2.6.1/bonobo'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/devel/libbonoboui/work/libbonoboui-2.6.1'
gmake: *** [all] Error 2
*** Error code 2