Strange build errors (buildsys bug?)

Hans de Goede j.w.r.degoede at hhs.nl
Mon Jul 4 11:40:06 UTC 2005


Hi,

I get the following errors when trying to build gnumeric for the devel tree:
---
checking for
	gtk+-2.0		>= 2.4.0
	libglade-2.0		>= 2.3.6
	libgnomecanvas-2.0	>= 2.0.0
	libgnomeprint-2.2	>= 2.5.2
	libgnomeprintui-2.2	>= 2.5.2
	libart-2.0		>= 2.3.11
... Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found
---
and:
---
checking for libgnomedb >= 1.0.1 ... Package libpng12 was not found in 
the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found
---
and:
---
../../../src/workbook-control-gui.h:6:27: error: gtk/gtkwindow.h: No 
such file or directory
../../../src/workbook-control-gui.h:7:33: error: gtk/gtktoggleaction.h: 
No such file or directory
../../../src/cut-n-paste-code/goffice/utils/go-gradient.h:26:32: error: 
libart_lgpl/libart.h: No such file or directory
../../../src/cut-n-paste-code/goffice/utils/go-gradient.h:27:45: error: 
libart_lgpl/art_render_gradient.h: No such file or directory


I first noticed the last (compile) errors, which are probably caused by 
the ./configure error. So I added BuildRequires for gtk2-devel and 
libart_lgpl-devel. But that didn't help.

It seems that libpng-devel doesn't get installed in the buildroot, I 
could BuildRequire it, but:
[hans at cq229 devel]$ rpm -q --requires gtk2-devel
...
cairo-devel >= 0.5.1-1
...

and:
[hans at cq229 devel]$ rpm -q --requires cairo-devel
...
libpng-devel
...

So it should get included automaticly right?

Regards,

Hans


p.s.

I've also tried debugging this with mock since I don't want to use the 
buildsys as a debugging tool (and to avoid release inflation), but mock 
is hopelessly broken, or so I've been told. I don't want to spend my 
time tinkering with a CVS build of mock. Can someone please upgrade the 
current mock package to CVS?




More information about the fedora-extras-list mailing list