On Monday 03 August 2009 09:22:01 pm David C. Rankin wrote:
On Saturday 01 August 2009 09:17:25 am Per Jessen wrote:
Per Jessen wrote:
Per Jessen wrote:
Hi David
I'm just about to complete a build of inkscape0.47pre1 on openSUSE-11.0-32bit. The configure went fine (after I'd installed the necessary libary and include files). Prior to that I downloaded and built libgc.
The build failed after 32minutes -
extension/internal/cairo-ps-out.cpp:137: error: ‘CAIRO_PS_LEVEL_2’ was not declared in this scope extension/internal/cairo-ps-out.cpp:141: error: ‘CAIRO_PS_LEVEL_3’ was not declared in this scope
Okay, that turned out to be due to an outdated cairo version. I upgraded that, and completed the build with no further problems.
David, you were trying to build on x86_64, right?
/Per
Crap,
I got hit by the cairo issue as well:
mv -f $depbase.Tpo $depbase.Po In file included from extension/internal/cairo-ps-out.cpp:22: extension/internal/cairo-render-context.h:77: warning: ‘typedef’ was ignored in this declaration extension/internal/cairo-render-context.h:82: warning: ‘typedef’ was ignored in this declaration extension/internal/cairo-ps-out.cpp: In member function ‘virtual void Inkscape::Extension::Internal::CairoPsOutput::save(Inkscape::Extension::Output*, SPDocument*, const gchar*)’: extension/internal/cairo-ps-out.cpp:137: error: ‘CAIRO_PS_LEVEL_2’ was not declared in this scope extension/internal/cairo-ps-out.cpp:141: error: ‘CAIRO_PS_LEVEL_3’ was not declared in this scope extension/internal/cairo-ps-out.cpp: In member function ‘virtual void Inkscape::Extension::Internal::CairoEpsOutput::save(Inkscape::Extension::Output*, SPDocument*, const gchar*)’: extension/internal/cairo-ps-out.cpp:201: error: ‘CAIRO_PS_LEVEL_2’ was not declared in this scope extension/internal/cairo-ps-out.cpp:205: error: ‘CAIRO_PS_LEVEL_3’ was not declared in this scope make[2]: *** [extension/internal/cairo-ps-out.o] Error 1 make[2]: Leaving directory `/home/david/linux/apps/inkscape/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/david/linux/apps/inkscape' make: *** [all] Error 2
real 16m31.833s user 14m30.702s sys 1m36.322s
I'll try the new cairo...
Crud, Almost, but still not quite there: g++ -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -fopenmp --export-dynamic -Wl,-z,relro -o inkscape main.o libinkscape.a dom/libdom.a libcroco/libcroco.a libavoid/libavoid.a libgdl/libgdl.a libcola/libcola.a libvpsc/libvpsc.a livarot/libvarot.a 2geom/lib2geom.a libinkversion.a -pthread -lgiomm-2.4 -lgio-2.0 -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lxslt -lz -lxml2 -lcairo -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lpng12 -lgsl -lgslcblas -lm -lpng -lz -lgomp -lpopt -laspell -pthread -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lfontconfig -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lMagick++ -lMagickCore -lgc -llcms -lpoppler /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create' collect2: ld returned 1 exit status make[2]: *** [inkscape] Error 1 make[2]: Leaving directory `/home/david/linux/apps/inkscape/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/david/linux/apps/inkscape' make: *** [all] Error 2 Looks like I'll be building cairomm from source, all the packages for 11.0 are really outdated. 1.84 is current and 11.0 has: [22:05 alchemy:/home/david/linux/apps/inkscape] # rpm -qa | grep cairomm cairomm-devel-1.4.8-16.1 cairomm-1.4.8-16.1 Crap, why are all the packages for 11.0 so old? Doesn't anyone build this stuff? <snip> checking for CAIROQUARTZIMAGE... no checking for CAIROMM... configure: error: Package requirements (cairo >= 1.8.0 sigc++-2.0 cairo-ft cairo-pdf cairo-png cairo-ps cairo-svg cairo-xlib cairo-xlib-xrender) were not met: Requested 'cairo >= 1.8.0' but version of cairo is 1.6.4 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables CAIROMM_CFLAGS and CAIROMM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. How did you get around this Per? Just build all of cairo? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org