Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge qt fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Holly
n00b
n00b


Joined: 08 Mar 2003
Posts: 67

PostPosted: Mon Jun 16, 2003 5:37 pm    Post subject: emerge qt fails Reply with quote

compiling qt fails on one of my gentoo boxes, but i don't really understand why there are undefined references. i even re-emerged all packages that qt needs (emerge -e qt).

Code:
g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o   -L/usr/lib/mysql  -Wl,-rpath,/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib -L/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib -L/usr/X11R6/lib -ldl -lpthread -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib/libqt-mt.so: undefined reference to `XftDrawCreateAlpha'
/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib/libqt-mt.so: undefined reference to `XftCharExists'
/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib/libqt-mt.so: undefined reference to `XftDrawPicture'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! (no error message)


i guessed, that i need to emerge xft, but that doesn't work either, because it conflicts with xfree-4.3.0-r2.

any hints?
Back to top
View user's profile Send private message
GuidoJ
Guru
Guru


Joined: 24 Dec 2002
Posts: 444
Location: Netherlands

PostPosted: Tue Jun 17, 2003 6:21 pm    Post subject: Reply with quote

I seem to have a similar problem with emerging avifile. Let me know if (and how) you fixed it. Thanks.
Back to top
View user's profile Send private message
Holly
n00b
n00b


Joined: 08 Mar 2003
Posts: 67

PostPosted: Tue Jun 17, 2003 6:51 pm    Post subject: Reply with quote

i might have it solved, but i'm not sure because i ran out of diskspace and can't really go on testing.

apparently i unemerged xft somehow. after i now unemerged xfree too, i was able to emerge both xfree and xft again. i have really no idea, why this works, because after that i can't reemerge xft again. i would have to unemerge xfree first and emerge both again.

but as i said, i can't emerge qt because i lack diskspace :?
Back to top
View user's profile Send private message
GuidoJ
Guru
Guru


Joined: 24 Dec 2002
Posts: 444
Location: Netherlands

PostPosted: Tue Jun 17, 2003 6:55 pm    Post subject: Reply with quote

Right. Just unmerged Xft myself and it seems to be working. I'm still ekeeping my fingers crossed, but at least it passed the point where it failed before.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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