...
In file included from /usr/include/gtk-2.0/gdk/gdkgc.h:30,
from /usr/include/gtk-2.0/gdk/gdkdrawable.h:30,
from /usr/include/gdkmm-2.4/gdkmm/drawable.h:28,
from /usr/include/gdkmm-2.4/gdkmm/window.h:28,
from /usr/include/gdkmm-2.4/gdkmm/event.h:29,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:32,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from /usr/include/gtkmm-2.4/gtkmm/dialog.h:30,
from aboutdialog.cc:27:
/usr/include/gtk-2.0/gdk/gdkcolor.h:30:19: error: cairo.h: No such file or directory
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: ISO C++ forbids declaration of 'cairo_surface_t' with no type
...
Cairo headers are in /usr/include/cairo/ - what's the problem? Here's my
bash-3.00$ printenv PKG_CONFIG_PATH
:/opt/gnome/lib/pkgconfig:/opt/mozilla/lib/pkgconfig
///
edit: :oops: sorry it was late night i forgot to run the configure script.
]]>please check your $PKG_CONFIG_PATH carefully. An unknown weird issue
once caused mine to be castrated and left /usr out of it.
BTW, answering JGC's question will help you to narrow down to the real problem.
-neri
]]>the problems go on! I was told I need the x11 dev packages.
Im using xorg7.
I think I was having the same issue with compiling gtk apps, I seem to have fixed it by just reinstalling libxrender from testing (I am using Xorg 7.0).
I don't know why I didn't try that
Thanks, that fixed the issue.
]]>Package xrender was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrender', required by 'cairo', not found
I'm using xorg 7 and I have libxrender 0.9.0.2-1 installed.
]]>make[2]: Entering directory `/home/patrick/temp/src/audacious-0.2/libaudacious'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I.. -I../intl -I/usr/X11R6/include -march=i686 -O2 -pipe -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -MT beepctrl.lo -MD -MP -MF ".deps/beepctrl.Tpo" -c -o beepctrl.lo beepctrl.c;
then mv -f ".deps/beepctrl.Tpo" ".deps/beepctrl.Plo"; else rm -f ".deps/beepctrl.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I.. -I../intl -I/usr/X11R6/include -march=i686 -O2 -pipe -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -MT beepctrl.lo -MD -MP -MF .deps/beepctrl.Tpo -c beepctrl.c -fPIC -DPIC -o .libs/beepctrl.o
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from beepctrl.c:30:
/usr/include/asm/errno.h:4:31: error: asm-generic/errno.h: No such file or directory
make[2]: *** [beepctrl.lo] Error 1
make[2]: Leaving directory `/home/patrick/temp/src/audacious-0.2/libaudacious'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/patrick/temp/src/audacious-0.2'
make: *** [all] Error 2
]]>Package xrender was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrender', required by 'cairo', not found