You are not logged in.

#1 2006-04-20 06:28:24

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

cmake/qt ??? intermittant sucess

Having just done a fresh ftp install, cmake is segfaulting but not providing an reason?

gcc      -DCHECK_FUNCTION_EXISTS=pthread_create  -fPIC "CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.o"   -o cmTryCompileExec -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
make[3]: *** [cmTryCompileExec] Error 1

cured this...... but now

Offline

#2 2006-04-20 18:35:08

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: cmake/qt ??? intermittant sucess

actually the error is from qt....

QDateTime::fromString: Parameter out of range
ASSERT: "it.node != node" in /opt/qt/include/qvaluelist.h (301)
Segmentation fault

[/code]

Offline

#3 2006-04-22 09:56:55

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: cmake/qt ??? intermittant sucess

why does qt now hav three make profiles??

g++
g++-32
g++-64

Offline

#4 2006-04-25 13:23:21

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: cmake/qt ??? intermittant sucess

another app kmp failing because of qt

kmp: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

Offline

#5 2006-04-26 02:06:07

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: cmake/qt ??? intermittant sucess

mpie wrote:

another app kmp failing because of qt

kmp: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

Do you have /opt/qt/lib/libqt-mt.so.3 on your system? If yes, check if you have /opt/qt/lib in /etc/ld.so.conf. If it's not there, add it and run ldconfig as root.

Offline

#6 2006-04-26 05:29:59

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: cmake/qt ??? intermittant sucess

yes that has cured, kmp thanks.

but still leaves me with boombox playing up...
wondering if my install is borked as ld.so.conf chould have /opt/qt/lib in as standard

Offline

#7 2006-04-27 03:20:12

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: cmake/qt ??? intermittant sucess

The ld.so.conf stuff should have been done  by the qt .install file. Try reinstalling qt.

About your first post: -lpthreads should be replaced by -lpthread
Patch the makefile.

Offline

#8 2006-04-27 06:39:56

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: cmake/qt ??? intermittant sucess

Yeah that ones sorted, why are there references to X11R in qt-mt

ibs: -L${libdir} -lqt-mt -L/usr/X11R6/lib -L/usr/X11R6/lib -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread  
Cflags: -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}

Offline

#9 2006-04-27 23:55:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: cmake/qt ??? intermittant sucess

Strange... Perhaps post a bug report.

Offline

Board footer

Powered by FluxBB