Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk+-2.1.2 install failed ;-(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Tue Dec 10, 2002 11:06 am    Post subject: gtk+-2.1.2 install failed ;-( Reply with quote

I did emerge -u world and got:
Code:

# emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild    U ] x11-libs/gtk+-2.1.2 [2.0.9-r0]
[ebuild    U ] gnome-base/libgnomeui-2.0.6-r1 [2.0.6-r0]
[ebuild    U ] gnome-base/gdm-2.4.0.12-r1 [2.4.0.12-r0]
[ebuild    U ] gnome-base/control-center-2.0.3-r1 [2.0.3-r0]
[ebuild    U ] gnome-base/gnome-2.0.3-r1 [2.0.3-r0]
[ebuild    U ] x11-themes/gnome-themes-0.3 [0.1-r0]


Then after a couple of secconds got:
Code:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DINSIDE_GDK_X11 -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_ENABLE_DEBUG -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -c gdkdrawable-x11.c  -fPIC -DPIC -o gdkdrawable-x11.lo
In file included from gdkdrawable-x11.c:34:
/usr/include/pango-1.0/pango/pangoxft.h:37:2: #error "must have Xft version 2 or newer"
In file included from gdkdrawable-x11.c:34:
/usr/include/pango-1.0/pango/pangoxft.h:42: parse error before '*' token
gdkdrawable-x11.c: In function `gdk_x11_drawable_get_picture':
gdkdrawable-x11.c:274: warning: implicit declaration of function `XftDrawPicture'
make[3]: *** [gdkdrawable-x11.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.1.2/work/gtk+-2.1.2/gdk/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.1.2/work/gtk+-2.1.2/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.1.2/work/gtk+-2.1.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/gtk+-2.1.2 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)


Any clue pls?
Thanks
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Tue Dec 10, 2002 2:37 pm    Post subject: Reply with quote

Do you have Xft2 installed?

Code:

# emerge -s xft


It looks like you'll need to (re)install it.

Code:

# cd /usr/portage/x11-libs/xft
# emerge xft-2.0-r1.ebuild

_________________
-David
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Tue Dec 10, 2002 2:39 pm    Post subject: Reply with quote

edge wrote:
Do you have Xft2 installed?

Code:

# emerge -s xft


It looks like you'll need to (re)install it.

Code:

# cd /usr/portage/x11-libs/xft
# emerge xft-2.0-r1.ebuild


already put it
Code:

x11-libs/xft
      Latest version available: 2.0-r1
      Latest version installed: 2.0-r1
      Size of downloaded files: 525 kB
      Homepage:    http://fontconfig.org/
      Description: Xft2


any clue? ;-)
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Tue Dec 10, 2002 2:47 pm    Post subject: Reply with quote

edge wrote:
Do you have Xft2 installed?

Code:

# emerge -s xft


It looks like you'll need to (re)install it.

Code:

# cd /usr/portage/x11-libs/xft
# emerge xft-2.0-r1.ebuild



Hmm, your idea was good but i don't understand:
why "emerge xft-2.0-r1.ebuild" fixed my problem and "emerge Xft" not?
Is not the same?
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
fyerk
Apprentice
Apprentice


Joined: 17 Sep 2002
Posts: 212
Location: Atlanta, GA

PostPosted: Tue Dec 10, 2002 2:53 pm    Post subject: Reply with quote

DArtagnan wrote:

Hmm, your idea was good but i don't understand:
why "emerge xft-2.0-r1.ebuild" fixed my problem and "emerge Xft" not?
Is not the same?


Well, for one, xft is masked so it may not install properly with just "emerge". Additionally, it looks like gtk or pango were finding include (.h) files from xft1 instead of xft2.

By re-emerging xft2 we ensured that the proper include files were on your system.
_________________
-David
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Tue Dec 10, 2002 2:55 pm    Post subject: Reply with quote

edge wrote:
DArtagnan wrote:

Hmm, your idea was good but i don't understand:
why "emerge xft-2.0-r1.ebuild" fixed my problem and "emerge Xft" not?
Is not the same?


Well, for one, xft is masked so it may not install properly with just "emerge". Additionally, it looks like gtk or pango were finding include (.h) files from xft1 instead of xft2.

By re-emerging xft2 we ensured that the proper include files were on your system.


I use accept_keywords="~x86" so is not masked ;-)
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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