Cant install LibGDIPlus

Anything that pertains to Portage

Moderator: Moderators

Cant install LibGDIPlus

Postby FungusHumungus » Sat Feb 12, 2011 2:16

Hi there,

Im trying to install mono using :

Code: Select all
sudo emerge mono

But it is falling over which trying to install libgdiplus with the error

Code: Select all
graphics.c:38:28: error: cairo-features.h: No such file or directory


I have done a search and this header file is in :

/usr/include/cairo/cairo-features.h


Any ideas what I am doing wrong?
FungusHumungus
Baby Hen
 
Posts: 2
Joined: Sat Feb 12, 2011 2:07

Re: Cant install LibGDIPlus

Postby FungusHumungus » Sun Feb 13, 2011 3:02

Ok,

I can get LibGDIPlus to build by hacking the Makefile and adding -I\usr\include\cairo\ to the search path. This builds the package. But when I try to install mono, it still tries to install the package that I havent modified. So it still falls over.

I can work around the problem by copying the header files into \usr\include\freetype2\. Then mono builds fine.

So it would appear that this package isn't correctly configuring the include search paths with the cairo directory. I don't have the knowledge just yet on where to look to fix the problem properly. But at least I can get it working!
FungusHumungus
Baby Hen
 
Posts: 2
Joined: Sat Feb 12, 2011 2:07


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests