Darrell,
thx for the update. This is some very useful information, like tqtinterface has to be installed in /usr wich I didn't do :(. That might also be the reason why tdelibs fails to build with automake complaining that qt4 cannot be found although tqtinterface has been build only with qt3 and no kde4/qt4 is found anywhere on my system. I'll give your workaround a try tonight. If you find the time, please post the info on the howto pages to avoid double posts :-)
Cheers, Nic
-----Ursprüngliche Nachricht----- Von: "Darrell Anderson" humanreadable@yahoo.com Gesendet: Jan 26, 2012 7:31:04 PM An: trinity-devel@lists.pearsoncomputing.net Betreff: Re: [trinity-devel] tdelibs refuses to build
another tdelibs cmake build issue:
/home/temp/tde/main/tdelibs/tdecore/klibloader.cpp: In member function 'KLibrary* KLibLoader::globalLibrary(const char*)': /hometemp/tde/main/tdelibs/tdecore/klibloader.cpp:377:23: error: 'lt_dlopen_flag' was not declared in this scope make[2]: *** [tdecore/CMakeFiles/tdecore-shared.dir/klibloader.cpp.o] Error 1
source is latest git.
cmake command was:
cmake ../tde/main/tdelibs -DCMAKE_INSTALL_PREFIX=/opt/trinity -DCMAKE_VERBOSE_MAKEFILE=ON -DWITH_QT3=ON -DQTDIR=/opt/lib/qt3-3.3.8d -DQT_LIBRARY_DIRS=/opt/lib/qt3-3.3.8d/lib -DBUILD_ALL=ON -DCMAKE_SKIP_RPATH=OFF
Any Clues?
Are you building with tqt3 or qt3? If tqt3, then check that tqtinterface is building with the internal cmake variable TQT_REAL_TQT=1. That internal cmake variable is set in CMakeCache.txt, which gets generated during the configure process.
Also build the core packages with both tqt3 and qt3. If tdelibs builds with qt3 but not tqt3, then that information will help resolve bugs with tqt3.
Another oddball bug is with -DWITH_GCC_VISIBILITY=ON in arts that option must be set to ON in tdelibs and tdebase too. I have seen tdebase fail when that option was set to ON in arts but OFF in tdelibs. So set all three to ON or OFF only.
Also know that tqtinterface must be installed to /usr. There remain some hard-coding in some of the packages that look for tqtinterface only in /usr.
Darrell
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
___________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
thx for the update. This is some very useful information, like tqtinterface has to be installed in /usr wich I didn't do :(.
From the wiki: :)
NOTE: Until the cmake migration is fully completed, tqtinterface should be built to install with a $PREFIX of /usr rather than /opt/trinity.
That might also be the reason why tdelibs fails to build with automake complaining that qt4 cannot be found although tqtinterface has been build only with qt3 and no kde4/qt4 is found anywhere on my system. I'll give your workaround a try tonight. If you find the time, please post the info on the howto pages to avoid double posts :-)
Regarding the Qt4 messages, from the wiki:
NOTE: To avoid build problems with automake when Qt4 is installed set the following configure options:
--with-qt-dir=${QTDIR} --with-qt-includes=${QTDIR}/include --with-qt-libraries=${QTDIR}/lib
NOTE: The only package built with cmake that requires Qt configure options is tqtinterface: -DQT_VERSION=3.
The cmake packages find Qt3 just fine, but tqtinterface needs the -DQT_VERSION=3 option to avoid trying to build against Qt4.
The --with-qt-includes option might get complicated because right now there is a tqtinterface build presumption that (t)qt3 installs the header files to ${QTDIR}/include/(t)qt3. I'm trying to debug this so Tim can provide a more robust solution.
Darrell