Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge pango [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
ericdes
n00b
n00b


Joined: 28 May 2003
Posts: 17

PostPosted: Tue Feb 07, 2006 7:16 pm    Post subject: Can't emerge pango [solved] Reply with quote

I'm getting this error while compiling x11-libs/pango-1.10.2:

In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from pangoxft-render.h:32,
from pangoxft-render.c:24:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[4]: *** [pangoxft-render.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/pango-1.10.2/work/pango-1.10.2/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/pango-1.10.2/work/pango-1.10.2/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/pango-1.10.2/work/pango-1.10.2/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.10.2/work/pango-1.10.2'
make: *** [all] Error 2

!!! ERROR: x11-libs/pango-1.10.2 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


Any idea????


Last edited by ericdes on Tue Feb 07, 2006 10:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
ericdes
n00b
n00b


Joined: 28 May 2003
Posts: 17

PostPosted: Tue Feb 07, 2006 10:20 pm    Post subject: Can't emerge pango (solved) Reply with quote

I found this post which solved my problem:
https://forums.gentoo.org/viewtopic.php?t=270924

I just did the same, i.e. commenting out these lines in /usr/include/freetype2/freetype/freetype.h
/*
#ifndef FT_FREETYPE_H
#error "`ft2build.h' hasn't been included yet!"
#error "Please always use macros to include FreeType header files."
#error "Example:"
#error " #include <ft2build.h>"
#error " #include FT_FREETYPE_H"
#endif
*/

and could emerge pango without errors.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Feb 08, 2006 5:51 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum