Problems compiling from SVN on 64-bit Kubuntu Gutsy

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
Otter

Problems compiling from SVN on 64-bit Kubuntu Gutsy

Postby Otter » Fri Nov 21, 2008 5:50 am

I get the following errors when trying to compile from SVN:

Code: Select all

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


What I'm missing here? I was able to compile it about a month ago, have the deps changed since? I have tried googling the errors, to no avail.

olit
Posts: 2
Joined: Tue Nov 25, 2008 8:36 pm

Re: Problems compiling from SVN on 64-bit Kubuntu Gutsy

Postby olit » Tue Nov 25, 2008 8:38 pm

Hi!

I've got exactly the same problem using OpenSUSE 11.0 32 bit.

Did you already find a solution?

Thanks,

Oliver.

Guest

Re: Problems compiling from SVN on 64-bit Kubuntu Gutsy

Postby Guest » Thu Nov 27, 2008 3:38 am

olit wrote:Hi!

I've got exactly the same problem using OpenSUSE 11.0 32 bit.

Did you already find a solution?

Thanks,

Oliver.


This is because OpenSUSE 11.0 running old cairo version. The symbols like CAIRO_PS_LEVEL_2 were introduced since cairo 1.6.
Take the more modern cairo from ...
http://ftp5.gwdg.de/pub/opensuse/reposi ... nSUSE_11.0

Sergey

olit
Posts: 2
Joined: Tue Nov 25, 2008 8:36 pm

Re: Problems compiling from SVN on 64-bit Kubuntu Gutsy

Postby olit » Mon Dec 01, 2008 8:04 pm

Guest wrote:This is because OpenSUSE 11.0 running old cairo version. The symbols like CAIRO_PS_LEVEL_2 were introduced since cairo 1.6.
Take the more modern cairo from ...
http://ftp5.gwdg.de/pub/opensuse/reposi ... nSUSE_11.0
Sergey


Thanks, that worked. However, I used the version provided in http://download.opensuse.org/repositories/home:/Fisiu/openSUSE_11.0/, since I didn't want to use the factory builds.

Best,

Oliver.


Return to “Discuss Software Issues”