Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 22:59:18 -0400
From:      Steven Faulconer <smf_freebsd@mindspring.com>
To:        freebsd-questions@freebsd.org
Subject:   Compiling QT (somewhat long)
Message-ID:  <01042722591800.00364@cthulhu>

next in thread | raw e-mail | index | archive | help
Hello Everyone,

I've been attempting to teach myself programming (One of the reasons I 
installed FreeBSD). I've got a fully licensed copy of QT through my work, and 
would like to use it on FreeBSD. I've installed the QT2.3.0 package, but it 
doesn't appear to have some things, like qt designer (atleast that I could 
find) and I had problems compiling a simple app. So, back to the point. I'm 
trying to compile QT 2.3.0. Configure:

./configure -no-g++-exceptions

This is the configure for the most recent attempt, I've also tried with 
-thread and -kde (After setting KDEDIR), either way, configure runs fine. 
Then, I just run make. I've tried it with both make, and gmake, incase they 
are different. Things go along fine, until this:

g++ -L/usr/local/qt-2.3.0/lib -Wl,-rpath,/usr/local/qt-2.3.0/lib   -o 
/usr/local/qt-2.3.0/bin/uic uic.o  ../shared/widgetdatabase.o  
../shared/domtool.o  ../integration/kdevelop/kdewidgets.o   -lqutil -L../lib 
-lqt
/usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_getspecific'
/usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_key_create'
/usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_setspecific'
*** Error code 1
 
Stop in /usr/local/qt-2.3.0/tools/designer/uic.
*** Error code 1
 
Stop in /usr/local/qt-2.3.0/tools/designer.
*** Error code 1
 
Stop in /usr/local/qt-2.3.0/tools/designer.
*** Error code 1
 
Stop in /usr/local/qt-2.3.0/tools.
*** Error code 1
 
Stop in /usr/local/qt-2.3.0/tools.
*** Error code 1
 
Stop in /usr/local/qt-2.3.0.
*** Error code 1
 
Stop in /usr/local/qt-2.3.0.

I've installed the linuxthread package, if that matters, though it appears to 
be something with the GL library. I'm pretty certain that I was able to 
compile QT 2.3.0 at my office, and it worked fine, so I'm not certain what 
I'm doing wrong here. Any help would be greatly appreciated.

Steven Faulconer

-------------------------------------------
Config :

FreeBSD 4.3-Release
Tiger Tyan 100
Dual P!!! 450
512 MB PC100 Ram
ATI Rage 128 8mb AGP Video Card
9GB Western Digital 10K RPM U2W SCSI Hard Drive
Adaptec 29160 PCI SCSI Controller
Sound Blaster AWE 64 Gold PNP

Generic Kernel + SMP + SoundBlaster Sound
-------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01042722591800.00364>