Dnia poniedziałek, 12 kwietnia 2010 o 16:50:37 Dominique Leuenberger napisał(a):
On 4/12/2010 at 16:46, Mariusz Fik
wrote: Ok, I found in gcc doc some tips and I added this part to spec file:
%if 0%{?suse_version} > 1120 export CPATH=$CPATH:/usr/include/gtk-2.0 export CPATH=$CPATH:/usr/include/glib-2.0/ export CPATH=$CPATH:/usr/lib/glib-2.0/include/ export CPATH=$CPATH:/usr/include/pango-1.0/ export CPATH=$CPATH:/usr/lib/gtk-2.0/include/ export CPATH=$CPATH:/usr/include/atk-1.0/ export CPATH=$CPATH:/usr/include/cairo/ %endif
Build was successful this time but is it OK to define 'include' path in this
That would just be an ugly way to work around a deeper problem (libpng12 / libpng14 upgrade... see my other mail).
Dominique
I fund that my cairo package (also in my home repo) was build with libpng12. CodeLite needs cairo-devel (from my repo) and finally cairo needs libpng12. I'll rebuild cairo with libpng14. This should fix the problem You mentioned. -- Pozdrawiam / Best regards, Mariusz Fik, openSUSE Community Member