New to the list so hi All, Happy New Year.
I'm attempting to build TDE on a fresh Debian Wheezy install. I'm
following the wiki at;
http://trinitydesktop.org/wiki/bin/view/Developers/HowToBuild, but I'm
having problems building tdelibs.
I'm sure I managed beyond this point a week or so ago (fresh install
since) so may be doing something stupid.
I got and built qt3-3.3.8.d.tar.gz (into /opt/qt) and the TDE source
with; git clone
http://git.trinitydesktop.org/cgit/tde and following the
wiki built tqtinterface and arts.
Unfortunately, tdelibs fails. I'm building out of source with;
cmake /path/tdelibs -DCMAKE_INSTALL_PREFIX=/opt/trinity
-DCMAKE_VERBOSE_MAKEFILE=ON -DWITH_QT3=ON -DQTDIR=/opt/qt
-DQT_LIBRARY_DIRS=/opt/qt/lib -DBUILD_ALL=ON -DCMAKE_SKIP_RPATH=OFF
but failure happens at;
Linking CXX shared library libtdecore.so
cd /tmp/tdelibs/tdecore && /usr/bin/cmake -E cmake_link_script
CMakeFiles/tdecore-shared.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include tqt.h -Wl,--no-undefined -shared
-Wl,-soname,libtdecore.so.4 -o libtdecore.so.4.2.0
CMakeFiles/tdecore-shared.dir/libintl.cpp.o
CMakeFiles/tdecore-shared.dir/kapplication.cpp.o
CMakeFiles/tdecore-shared.dir/kdebug.cpp.o
CMakeFiles/tdecore-shared.dir/netwm.cpp.o
CMakeFiles/tdecore-shared.dir/kconfigbase.cpp.o
CMakeFiles/tdecore-shared.dir/kconfig.cpp.o
CMakeFiles/tdecore-shared.dir/ksimpleconfig.cpp.o
CMakeFiles/tdecore-shared.dir/kconfigbackend.cpp.o
CMakeFiles/tdecore-shared.dir/kmanagerselection.cpp.o
CMakeFiles/tdecore-shared.dir/kdesktopfile.cpp.o
CMakeFiles/tdecore-shared.dir/kstandarddirs.cpp.o
CMakeFiles/tdecore-shared.dir/ksock.cpp.o
CMakeFiles/tdecore-shared.dir/kpty.cpp.o
CMakeFiles/tdecore-shared.dir/kprocess.cpp.o
CMakeFiles/tdecore-shared.dir/kprocctrl.cpp.o
CMakeFiles/tdecore-shared.dir/klocale.cpp.o
CMakeFiles/tdecore-shared.dir/krfcdate.cpp.o
CMakeFiles/tdecore-shared.dir/kiconeffect.cpp.o
CMakeFiles/tdecore-shared.dir/kicontheme.cpp.o
CMakeFiles/tdecore-shared.dir/kiconloader.cpp.o
CMakeFiles/tdecore-shared.dir/twin.cpp.o
CMakeFiles/tdecore-shared.dir/twinmodule.cpp.o
CMakeFiles/tdecore-shared.dir/krootprop.cpp.o
CMakeFiles/tdecore-shared.dir/kcharsets.cpp.o
CMakeFiles/tdecore-shared.dir/kckey.cpp.o
CMakeFiles/tdecore-shared.dir/kshortcut.cpp.o
CMakeFiles/tdecore-shared.dir/kkeynative_x11.cpp.o
CMakeFiles/tdecore-shared.dir/kkeyserver_x11.cpp.o
CMakeFiles/tdecore-shared.dir/kaccelaction.cpp.o
CMakeFiles/tdecore-shared.dir/kshortcutmenu.cpp.o
CMakeFiles/tdecore-shared.dir/kaccelbase.cpp.o
CMakeFiles/tdecore-shared.dir/kaccel.cpp.o
CMakeFiles/tdecore-shared.dir/kglobalaccel_x11.cpp.o
CMakeFiles/tdecore-shared.dir/kglobalaccel.cpp.o
CMakeFiles/tdecore-shared.dir/kstdaccel.cpp.o
CMakeFiles/tdecore-shared.dir/kshortcutlist.cpp.o
CMakeFiles/tdecore-shared.dir/kcrash.cpp.o
CMakeFiles/tdecore-shared.dir/kurl.cpp.o
CMakeFiles/tdecore-shared.dir/kregexp.cpp.o
CMakeFiles/tdecore-shared.dir/kglobal.cpp.o
CMakeFiles/tdecore-shared.dir/kglobalsettings.cpp.o
CMakeFiles/tdecore-shared.dir/kallocator.cpp.o
CMakeFiles/tdecore-shared.dir/kvmallocator.cpp.o
CMakeFiles/tdecore-shared.dir/kmimesourcefactory.cpp.o
CMakeFiles/tdecore-shared.dir/kinstance.cpp.o
CMakeFiles/tdecore-shared.dir/kpalette.cpp.o
CMakeFiles/tdecore-shared.dir/kipc.cpp.o
CMakeFiles/tdecore-shared.dir/klibloader.cpp.o
CMakeFiles/tdecore-shared.dir/ktempfile.cpp.o
CMakeFiles/tdecore-shared.dir/kuniqueapplication.cpp.o
CMakeFiles/tdecore-shared.dir/kaccelmanager.cpp.o
CMakeFiles/tdecore-shared.dir/ksavefile.cpp.o
CMakeFiles/tdecore-shared.dir/krandomsequence.cpp.o
CMakeFiles/tdecore-shared.dir/kstringhandler.cpp.o
CMakeFiles/tdecore-shared.dir/kcompletion.cpp.o
CMakeFiles/tdecore-shared.dir/kcmdlineargs.cpp.o
CMakeFiles/tdecore-shared.dir/kaboutdata.cpp.o
CMakeFiles/tdecore-shared.dir/kcompletionbase.cpp.o
CMakeFiles/tdecore-shared.dir/knotifyclient.cpp.o
CMakeFiles/tdecore-shared.dir/kaudioplayer.cpp.o
CMakeFiles/tdecore-shared.dir/kdcoppropertyproxy.cpp.o
CMakeFiles/tdecore-shared.dir/ksockaddr.cpp.o
CMakeFiles/tdecore-shared.dir/kextsock.cpp.o
CMakeFiles/tdecore-shared.dir/netsupp.cpp.o
CMakeFiles/tdecore-shared.dir/kprocio.cpp.o
CMakeFiles/tdecore-shared.dir/kbufferedio.cpp.o
CMakeFiles/tdecore-shared.dir/kpixmapprovider.cpp.o
CMakeFiles/tdecore-shared.dir/kurldrag.cpp.o
CMakeFiles/tdecore-shared.dir/kmdcodec.cpp.o
CMakeFiles/tdecore-shared.dir/ksocks.cpp.o
CMakeFiles/tdecore-shared.dir/fakes.c.o
CMakeFiles/tdecore-shared.dir/vsnprintf.c.o
CMakeFiles/tdecore-shared.dir/ksycoca.cpp.o
CMakeFiles/tdecore-shared.dir/ksycocadict.cpp.o
CMakeFiles/tdecore-shared.dir/ksycoca_skel.cpp.o
CMakeFiles/tdecore-shared.dir/ksycocafactory.cpp.o
CMakeFiles/tdecore-shared.dir/kxmessages.cpp.o
CMakeFiles/tdecore-shared.dir/kstartupinfo.cpp.o
CMakeFiles/tdecore-shared.dir/kcatalogue.cpp.o
CMakeFiles/tdecore-shared.dir/kasyncio.cpp.o
CMakeFiles/tdecore-shared.dir/kmultipledrag.cpp.o
CMakeFiles/tdecore-shared.dir/kstaticdeleter.cpp.o
CMakeFiles/tdecore-shared.dir/kappdcopiface.cpp.o
CMakeFiles/tdecore-shared.dir/kappdcopiface_skel.cpp.o
CMakeFiles/tdecore-shared.dir/kclipboard.cpp.o
CMakeFiles/tdecore-shared.dir/kcheckaccelerators.cpp.o
CMakeFiles/tdecore-shared.dir/tdeversion.cpp.o
CMakeFiles/tdecore-shared.dir/kdebugdcopiface.cpp.o
CMakeFiles/tdecore-shared.dir/kdebugdcopiface_skel.cpp.o
CMakeFiles/tdecore-shared.dir/kcalendarsystem.cpp.o
CMakeFiles/tdecore-shared.dir/kcalendarsystemgregorian.cpp.o
CMakeFiles/tdecore-shared.dir/kcalendarsystemhijri.cpp.o
CMakeFiles/tdecore-shared.dir/kcalendarsystemhebrew.cpp.o
CMakeFiles/tdecore-shared.dir/kcalendarsystemfactory.cpp.o
CMakeFiles/tdecore-shared.dir/kmacroexpander.cpp.o
CMakeFiles/tdecore-shared.dir/kidna.cpp.o
CMakeFiles/tdecore-shared.dir/ktempdir.cpp.o
CMakeFiles/tdecore-shared.dir/kshell.cpp.o
CMakeFiles/tdecore-shared.dir/kmountpoint.cpp.o
CMakeFiles/tdecore-shared.dir/kcalendarsystemjalali.cpp.o
CMakeFiles/tdecore-shared.dir/kprotocolinfo_tdecore.cpp.o
CMakeFiles/tdecore-shared.dir/kprotocolinfofactory.cpp.o
CMakeFiles/tdecore-shared.dir/kxerrorhandler.cpp.o
CMakeFiles/tdecore-shared.dir/kuser.cpp.o
CMakeFiles/tdecore-shared.dir/kconfigskeleton.cpp.o
CMakeFiles/tdecore-shared.dir/kconfigdialogmanager.cpp.o
CMakeFiles/tdecore-shared.dir/klockfile.cpp.o
CMakeFiles/tdecore-shared.dir/kqiodevicegzip_p.cpp.o
CMakeFiles/tdecore-shared.dir/ktimezones.cpp.o -Wl,-whole-archive
network/libtdecorenetwork.a -Wl,-no-whole-archive ../libltdl/libltdlc.a
../dcop/libDCOP.so.4.2.0 ../tdefx/libtdefx.so.4.2.0 -lz -lXcomposite
-lICE -lSM -ldl -ltqt -lqt-mt -lXrender -lX11
-Wl,-rpath,/tmp/tdelibs/dcop:/tmp/tdelibs/tdefx:
CMakeFiles/tdecore-shared.dir/kpty.cpp.o: In function `KPty::login(char
const*, char const*)':
kpty.cpp:(.text+0xbd5): undefined reference to `login'
CMakeFiles/tdecore-shared.dir/kpty.cpp.o: In function `KPty::logout()':
kpty.cpp:(.text+0xc52): undefined reference to `logout'
collect2: ld returned 1 exit status
make[2]: *** [tdecore/libtdecore.so.4.2.0] Error 1
make[2]: Leaving directory `/tmp/tdelibs'
make[1]: *** [tdecore/CMakeFiles/tdecore-shared.dir/all] Error 2
make[1]: Leaving directory `/tmp/tdelibs'
make: *** [all] Error 2
I'm not a developer and having trawled the web without success I'm
pretty much stumped at this point. Anybody got any ideas? If more info
is needed just let me know.
Cheers,
Mike.
I have noticed that Wheezy has issues with its CMake packages in general
(as far as I can tell these problems are not restricted to TDE).
Here is something similar:
If lutil needs to be explicitly linked against, it would indicate that
this system library is not being automatically detected/used by CMake on
Wheezy.
Tim