[Bug 43040] libgtk2.0-dev Does not provide headers; fails source compilation
Ryan Hurley
spitty at gmail.com
Fri May 5 01:40:44 UTC 2006
Public bug reported:
Affects: gtk+2.0 (Ubuntu)
Severity: Normal
Priority: (none set)
Status: Unconfirmed
Description:
Hey everyone. I'm running a 3-day old install of Dapper Beta 2, with
all the lastest updates. The problem is, I don't think the
libgtk2.0-dev package is providing the development headers- every time
I try to compile a gtk2 application from source, it fails, due to an
inability to find said headers.
All the logs mentioned here are within the "logs.bz2" file that is
attached.
As per the Ubuntu forums guide to filing a bug, I attempted to build the
package from source, which failed:
spitfire at Cerberus:~/Desktop/temp$ DEB_BUILD_OPTIONS="nostrip noopt" sudo
apt-get source -b libgtk2.0-dev
Skipping alot of text (the full log is attached as gtk2log1.txt), the
compiler crashed out on:
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.8.5 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
make: *** [debian/stampdir/configure-static-stamp] Error 1
Build command ‘cd gtk+2.0-2.8.17 && dpkg-buildpackage -b -uc’ failed.
E: Child process failed
I then made sure I had installed the -dev packages of the mentioned
required programs:
spitfire at Cerberus:~/Desktop/temp$ sudo apt-get install libglib2.0-dev libatk1.0-dev libcairo2-dev libpango1.0-dev
Reading package lists... Done
Building dependency tree... Done
libglib2.0-dev is already the newest version.
libatk1.0-dev is already the newest version.
libcairo2-dev is already the newest version.
libpango1.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I tried again, but got the same error as above. That seemed strange, so
I decided to build those dependencies from source first, and then
attempt to build libgtk2.0-dev:
spitfire at Cerberus:~/Desktop/temp$ DEB_BUILD_OPTIONS="nostrip noopt" sudo
apt-get source -b libglib2.0-dev libatk1.0-dev libcairo2-dev
libpango1.0-dev
Libglib2.0-dev compiled cleanly, but libatk1.0-dev did not, and the
compile crashed with this error: (the entire log is attached as
"atklog.txt"
make: *** [binary-fixup/libatk1.0-dbg] Error 1
Build command ‘cd atk1.0-1.11.4 && dpkg-buildpackage -b -uc’ failed.
E: Child process failed
libcairo1.0-dev compiled cleanly (cariolog.txt). libpango1.0-dev
After installing those libraries that had successfully compiled with
dpkg, (which went without errors) I tried compiling libgtk2.0-dev again,
only to get a different error than before (log file = gtk2log2.txt.):
configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.
make: *** [debian/stampdir/configure-static-stamp] Error 1
Build command ‘cd gtk+2.0-2.8.17 && dpkg-buildpackage -b -uc’ failed.
E: Child process failed
Seeing as I just built pango from source and installed it, this isn't
true.
It seems to me that something is seriously broken in gtk2, but I don't
know enough about ubuntu or linux to even beging to diagnose it.
** Attachment added: "Logs.tar.bz2"
http://librarian.launchpad.net/2487725/LOGS.tar.bz2
--
libgtk2.0-dev Does not provide headers; fails source compilation
https://launchpad.net/bugs/43040
More information about the desktop-bugs
mailing list