On Thursday 20 March 2003 09:24 am, Morgan Kelly wrote: > On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote: > > checking for Qt library name... failed > > configure: error: Cannot compile a simple Qt executable. Check you have > > the right $QTDIR ! > > error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build) > > This is a problem in building with Mandrake linux that was not present with > lyx-1.3.0pre2 but appeared with 1.3.0. > > Instead of commenting out a lot of lines in the configure script, you need > to set more options telling it exactly where all the qt things live > > ./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 > --with-qt-includes=/usr/lib/qt3/include > --with-qt-libraries=/usr/lib/qt3/lib
Thanks! I tried again using your recommended additional switches but the build STILL fails with: checking for moc... /usr/lib/qt3//bin/moc checking for uic... /usr/lib/qt3//bin/uic checking for Qt library name... failed configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR ! error: Bad exit status from /var/tmp/rpm-tmp.58102 (%build) The script is still looking for something in the wrong place (I have ALL the required qt3 libs/includes needed to build any qt-based app, nothing is missing). I have looked through the config.log and config.status files. Nothing in either to indicate any problems/missing elements.
