View previous topic :: View next topic |
Author |
Message |
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Mon Sep 08, 2014 12:26 pm Post subject: [SOLVED]dev-libs/gjs fails to build because of cairo headers |
|
|
Hi all,
I am in a big upgrade process of my Gentoo. At this stage, dev-libs/gjs fails to build because it does not find one of cairo headers: /usr/include/cairo/cairo-gobject.h
All other headers are directly under /usr/include/. cairo is the only package to have created a subdirectory. I assume this is the origin of the problem.
Here the part of the emerge where the error occurs: Code: | In file included from <stdin>:4:0:
/usr/share/gobject-introspection-1.0/tests/regress.h:5:27: fatal error: cairo-gobject.h: No such file or directory
compilation terminated.
Error while processing the source. |
I saw the same kind of story here: https://forums.gentoo.org/viewtopic-t-902894-start-0.html, and I have so re-emerged dev-libs/gobject-introspection and dev-libs/gobject-introspection-common, but with no result. I also re-emerged cairo, but still no result.
A work-around would be I assume to make simlinks of every cairo header file in /usr/include, but it is not clean.
Any suggestion? I have not found where to add a header path for the system.
Last edited by lalebarde on Thu Sep 11, 2014 9:03 am; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Sep 08, 2014 5:25 pm Post subject: |
|
|
That's not a problem - cairo headers (at least at this time) are expected to be under /usr/include/cairo.
You haven't shown the command that fails, but a quick check: is cairo build with 'glib' useflag ? |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Tue Sep 09, 2014 10:38 am Post subject: |
|
|
VoidMage wrote: | is cairo build with 'glib' useflag ? | yes |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Thu Sep 11, 2014 8:54 am Post subject: |
|
|
Surprizingly, dev-libs/gjs emerges right after having added the USE flag cairo.
For information, the command was simply: Code: | # emerge -1v dev-libs/gjs |
I don't post the trace, since it is too long, and I pasted the error in the first post.[/code] |
|
Back to top |
|
|
|