trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] tdelibs refuses to build

From: Darrell Anderson <humanreadable@...>
Date: Thu, 26 Jan 2012 10:31:04 -0800 (PST)
> 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