Have you thought to move the qt-x11-free-3.2.1 directory path to just qt so that it reads as :

/disk-b/hiller/qt/bin/moc
/disk-b/hiller/qt/bin/uic

Just a thought but Trolltech README mentions doing this after untaring the archive.

and thus your $QTDIR will not have qt-x11-free-3.2.1 in its path but the expected qt?

Just a thought.

Sincerely Yours,

Marc J. Driftmeyer

Ulrich Hiller wrote:

Dear sirs,
we installed qt-3.2.1 on solaris 2.7 without problems.
While configuring lyx-1.3.3 it says:

checking for moc2... not found
checking for moc... /disk-b/hiller/qt-x11-free-3.2.1/bin/moc
checking for uic... /disk-b/hiller/qt-x11-free-3.2.1/bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !


QTDIR is correctly defined.
The config.log says:

configure:12129: g++ -o conftest -O -fno-exceptions -I/disk-b/hiller/qt-x11-free
-3.2.1/include -L/disk-b/hiller/qt-x11-free-3.2.1/lib  -I/systools/include   -is
ystem /usr/openwin/include  -L/systools/lib -Wl,-R/systools/lib  conftest.cc  -l
SM -lICE -lc -lm   -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket  -lnsl -
lqt >&5
Undefined                       first referenced
symbol                             in file
c::c(N6,  (int0_t))                 /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o
QStringData::deleteSelf()           /var/tmp//ccFp7476.o
QString::QString[in-charge](char const*)/var/tmp//ccFp7476.o
__1cG__CrunKvector_con6FpvIIpF1_vp2_v_ /disk-b/hiller/qt-x11-free-3.2.1/lib/libq
t.so
__1cG__CrunSregister_exit_code6FpG_v_v_ /disk-b/hiller/qt-x11-free-3.2.1/lib/lib
qt.so
__1c2k6Fpv_v_                       /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o
__1cG__CrunKpure_error6F_v_         /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o
__1cG__CrunMex_rethrow_q6F_v_       /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o

__1cG__CrunKvector_del6FpvIpF1_v_1_ /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o
QString::shared_null                /var/tmp//ccFp7476.o
c::c(n6,  (int0_t))                 /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o
__1cG__CrunKvector_new6FpvIIpF1_vp2_1_ /disk-b/hiller/qt-x11-free-3.2.1/lib/libq
t.so
__1c2K6Fpv_v_                       /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.s
o
__1cG__CrunKvector_des6FpvIIpF1_v_v_ /disk-b/hiller/qt-x11-free-3.2.1/lib/libqt.
so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:12132: $? = 1
configure: failed program was:
#line 12102 "configure"
#include "confdefs.h"


Is there something wrong in the qt installation or (what I think) something wrong in my lyx configure?


Thank you in advance for your help, ulrich hiller

Ulrich Hiller
Max-Planck-Institut fuer Astronomie
Koenigstuhl 17
69117 Heidelberg
Germany
phone +49 6221 528238
fax +49 6221 528246
email [EMAIL PROTECTED]







Reply via email to