Re: garnome gnome 2.12.1 pango-1.10.1 cairo_surface_write_to_png



For the purposes of the list and google this fix worked for me.

Thanks Stef.

Regards,

Mark Carey

On 10/17/05, Stef van der Made <svdmade planet nl> wrote:
>
> Hi Mark,
>
> Please add the location where libpng.pc and libpng12.pc is found to
> gar.conf.mk on the end of the line pkg_config_path. You are missing the
> bindings for libpng if libpng.pc is not on your PC please install it.
>
> Best regards,
>
> Stef
>
> Mark Carey wrote:
>
> >Hi,
> >
> >Building gnome 2.12.1 - as an *unprivileged user* - using garnome on
> >an LFS svn machine;
> >
> >[mark jersey:~]$ cat /etc/lfs-release
> >SVN-20050319
> >
> >[mark jersey:~]$ gcc -v
> >Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
> >Configured with: ../gcc-3.4.3/configure --prefix=/usr
> >--libexecdir=/usr/lib --enable-shared --enable-threads=posix
> >--enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
> >Thread model: posix
> >gcc version 3.4.3
> >
> >[mark jersey:~]$ uname -a
> >Linux jersey 2.6.13.4 #1 Sat Oct 15 17:50:01 NZDT 2005 i686 athlon-4
> >i386 GNU/Linux
> >
> >building happily until bombs trying to build pango ....
> >
> >/tmp/garnome-work/pango/main.d/pango-1.10.1/pango/.libs/libpangoft2-1.0.so
> >/tmp/garnome-work/pango/main.d/pango-1.10.1/pango/.libs/libpango-1.0.so
> >/opt/gnome2.12.1/lib/libgobject-2.0.so
> >/opt/gnome2.12.1/lib/libgmodule-2.0.so -ldl
> >/opt/gnome2.12.1/lib/libglib-2.0.so /opt/gnome2.12.1/lib/libcairo.so
> >/opt/gnome2.12.1/lib/libXrender.so -lX11
> >/opt/gnome2.12.1/lib/libfontconfig.so -lexpat
> >/opt/gnome2.12.1/lib/libfreetype.so -lz -lm -Wl,--rpath
> >-Wl,/opt/gnome2.12.1/lib
> >cairosimple.o(.text+0x225): In function `main':
> >cairosimple.c: undefined reference to `cairo_surface_write_to_png'
> >collect2: ld returned 1 exit status
> >make[3]: *** [cairosimple] Error 1
> >make[3]: Leaving directory
> >`/tmp/garnome-work/pango/main.d/pango-1.10.1/examples'
> >make[2]: *** [all-recursive] Error 1
> >make[2]: Leaving directory `/tmp/garnome-work/pango/main.d/pango-1.10.1'
> >make[1]: *** [all] Error 2
> >make[1]: Leaving directory `/tmp/garnome-work/pango/main.d/pango-1.10.1'
> >make: *** [build-/tmp/garnome-work/pango/main.d/pango-1.10.1/Makefile] Error 2
> >
> >Examining cairosimple.c reveals, no local definition of
> >cairo_surface_write_to_png and the following includes;
> >
> >#include <math.h>
> >#include <pango/pangocairo.h>
> >
> >math.h doesnt define cairo_surface_write_to_png and probably never
> >will, oddly enough pango/pangocairo.h doesn't define this symbol
> >either ....
> >
> >Any suggestions as to where the correct place to find
> >cairo_surface_write_to_png is?  Is this an error in the configure
> >scripts or is my setup so far beyond crack smoking that it isn't
> >funny?
> >
> >Will try anything - within reason .....
> >
> >Thanks,
> >
> >Mark Carey
> >
> >
>
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]