After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328027 - Cairo won't build
Cairo won't build
Status: RESOLVED DUPLICATE of bug 319632
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2006-01-21 17:55 UTC by Tim Wilson
Modified: 2006-01-22 03:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Wilson 2006-01-21 17:55:55 UTC
/opt/gnome2/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so -Wl,--rpath -Wl,/opt/gnome2/lib
cairosimple.o: In function `main':
/home/tim/cvs/gnome2/pango/examples/cairosimple.c:82: undefined reference to `cairo_surface_write_to_png'
collect2: ld returned 1 exit status
make[2]: *** [cairosimple] Error 1
make[2]: Leaving directory `/home/tim/cvs/gnome2/pango/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tim/cvs/gnome2/pango'
make: *** [all] Error 2

Workaround is to remove the examples directory from the SUBDIRS variable in both the Makefile and Makefile.am
Comment 1 James Henstridge 2006-01-22 03:37:46 UTC
Make sure you have the libpng headers installed on your system and rebuild Cairo.  Many people consider the fact that Cairo builds without png support without warning to be a bug:
  https://bugs.freedesktop.org/show_bug.cgi?id=5062
  http://bugzilla.gnome.org/show_bug.cgi?id=319632

*** This bug has been marked as a duplicate of 319632 ***