[opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help.
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. I'll try the same on x86_64 and report back. /Per -- Per Jessen, Zürich (23.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 /Per -- Per Jessen, Zürich (22.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 -- Per Jessen, Zürich (26.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
Yes, I'm running make right now. Make took 27 minutes on my desktop (phenom 9850 with archlinux), I'm betting it takes close to 40 minutes on my laptop (Turion-58). I'll let you know in about 36 if it made it by cairo on my laptop. Thanks for you help! -- 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
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... -- 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
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
David C. Rankin wrote:
Requested 'cairo >= 1.8.0' but version of cairo is 1.6.4 [snip] How did you get around this Per? Just build all of cairo?
I installed: cairo-1.6.4-11.1.i586.rpm cairo-devel-1.6.4-11.1.i586.rpm from here: http://download.opensuse.org/repositories/home:/Fisiu/openSUSE_11.0/i586/ /Per -- Per Jessen, Zürich (13.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 04 August 2009 01:40:15 am Per Jessen wrote:
David C. Rankin wrote:
Requested 'cairo >= 1.8.0' but version of cairo is 1.6.4 [snip] How did you get around this Per? Just build all of cairo?
I installed:
cairo-1.6.4-11.1.i586.rpm cairo-devel-1.6.4-11.1.i586.rpm
from here:
http://download.opensuse.org/repositories/home:/Fisiu/openSUSE_11.0/i586/
/Per
AArgh! And I was pulling my hair out trying to shoehorn the 1.6.4 cairomm source into the 1.4.8 .spec file? Man, did I take the long route. I too had 1.6.4 installed, but I still couldn't get past the glitz error with just the following: cairo-1.6.4-999.subpixel.1 cairo-devel-1.6.4-999.subpixel.1 How did you get around the glitz_surface errors in make with cairomm 1.4.8? I had to build cairomm 1.6.4 from source before inkscape would compile. What did I miss? -- 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
David C. Rankin wrote:
And I was pulling my hair out trying to shoehorn the 1.6.4 cairomm source into the 1.4.8 .spec file? Man, did I take the long route. I too had 1.6.4 installed, but I still couldn't get past the glitz error with just the following:
cairo-1.6.4-999.subpixel.1 cairo-devel-1.6.4-999.subpixel.1
How did you get around the glitz_surface errors in make with cairomm 1.4.8? I had to build cairomm 1.6.4 from source before inkscape would compile. What did I miss?
I never saw that error - only the ones about "CAIRO_PS_LEVEL_2 was not declared in this scope". I googled that and eventually happened on the rpms: http://download.opensuse.org/repositories/home:/Fisiu/openSUSE_11.0/i586/ /Per -- Per Jessen, Zürich (13.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 03 August 2009 10:23:06 pm David C. Rankin wrote:
<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?
Finally! LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po inkscape.desktop.in inkscape.desktop Generating and caching the translation database Merging translations into inkscape.desktop. make[2]: Leaving directory `/home/david/linux/apps/inkscape' make[1]: Leaving directory `/home/david/linux/apps/inkscape' real 27m30.916s user 24m41.025s sys 2m26.733s The final solution was to build cairomm-1.6.4 from source which provided the glitz_surface functions. I couldn't use cairomm > 1.6.4 because of the dependency introduced with cairomm-1.7.0 requiring cairo >= 1.8.0. Last but not least, don't forget to configure cairomm for x86_64 if that is what you use with: ./configure --prefix=/usr --libdir=/usr/lib64 After that, inkscape built without issue. -- 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
participants (2)
-
David C. Rankin
-
Per Jessen