On Fri, 09 Oct 2009 17:45:17 -0500, Rusty Nejdl wrote:
I'm working on a port of Filelight for KDE4 and am having some CMAKE/Porting issues I'm hoping someone can assist with. Everything compiles fine but when it gets to the linking stage, it fails: /usr/bin/c++ -fPIC -O2 -pipe -fno-strict-aliasing -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -lc -shared -Wl,-soname,filelightpart.so -o ../../lib/filelightpart.so CMakeFiles/filelightpart.dir/filelightpart_automoc.o CMakeFiles/filelightpart.dir/part.o CMakeFiles/filelightpart.dir/scan.o CMakeFiles/filelightpart.dir/progressBox.o CMakeFiles/filelightpart.dir/Config.o CMakeFiles/filelightpart.dir/settingsDialog.o CMakeFiles/filelightpart.dir/fileTree.o CMakeFiles/filelightpart.dir/localLister.o CMakeFiles/filelightpart.dir/remoteLister.o CMakeFiles/filelightpart.dir/summaryWidget.o -L/usr/ports/sysutils/filelight-kde4/work/filelight-1.9-rc2/lib -L/usr/local/kde4/lib -L/usr/local/lib/qt4 ../../lib/libradialmap.a /usr/local/kde4/lib/libkdecore.so.7.0.1 /usr/local/kde4/lib/libkparts.so.5.0.1 /usr/local/kde4/lib/libkdeui.so.7.0.1 /usr/local/kde4/lib/libkde3support.so.5.0.1 /usr/local/kde4/lib/libkio.so.7.0.1 /usr/local/kde4/lib/libkfile.so.5.0.1 /usr/local/kde4/lib/libsolid.so.5.0.1 -lqimageblitz /usr/local/kde4/lib/libkparts.so.5.0.1 /usr/local/kde4/lib/libkio.so.7.0.1 /usr/local/kde4/lib/libkdeui.so.7.0.1 /usr/local/kde4/lib/libkdecore.so.7.0.1 /usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtSvg.so /usr/local/lib/qt4/libQtNetwork.so /usr/local/lib/qt4/libQtXml.so /usr/local/kde4/lib/libsolid.so.5.0.1 /usr/local/lib/qt4/libQtCore.so -pthread /usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQt3Support.so -Wl,-rpath,/usr/local/kde4/lib:/usr/local/lib/qt4:::::::::::::::::::: -Wl,-rpath-link,/usr/local/kde4/lib /usr/bin/ld: cannot find -lqimageblitz I don't see a /usr/local/lib in the -I line above, which is where libqimageblitz.so is located. I can imagine several ways of fixing this but I'm looking for the right one that isn't a hack as my knowledge of the cmake system is pretty thin. Suggestions? Sioncerely, Rusty Nejdl http://networking.ringofsaturn.com This was fixed upstream and I now have it working. I'll work through submitting this up to the main FreeBSD repository. I've attached it for anyone who wants to test it. Let me know if I need to change anything as I wasn't quite sure what to do with the funky file names and converting to the Makefile format. Thanks! Rusty Nejdl http://networking.ringofsaturn.com
filelight-kde4.tgz
Description: Binary data
_______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
