Hi,

Has anyone successfully compiled lyx-1.3.1 with qt frontend on Solaris 
2.8? I run ./configure with the following options:

  --with-frontend=qt --with-qt-dir=/usr/site/qt

/usr/site/qt seems to be fine:

% ls /usr/site/qt
bin/        ext/        lib/        mkspecs/    share@
doc@        include/    man@        plugins/    templates/
% ls /usr/site/qt/lib
libeditor.prl        libeditor.so.1.0@    libqt-mt.so@         libqt-mt.so.3.0.5*   
libqui.so.1@
libeditor.so@        libeditor.so.1.0.0*  libqt-mt.so.3@       libqui.prl           
libqui.so.1.0@
libeditor.so.1@      libqt-mt.prl         libqt-mt.so.3.0@     libqui.so@           
libqui.so.1.0.0*

but ./configure fails with error message:

checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for moc2... not found
checking for moc... /usr/site/qt//bin/moc
checking for uic... /usr/site/qt//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right 
$QTDIR !

I have tried to 
setenv QTDIR /usr/site/qt

but this does not help. My gcc version is 3.2.1.

Thanks.

--
Bo Peng

Reply via email to