David Faure wrote: > On Tuesday 07 March 2006 23:51, Alexander Neundorf wrote: > >>SVN commit 516642 by neundorf: >> >>-implemented RPATH handling, but disabled for now >>to enable it again, remove the line 104, where KDE4_NEED_WRAPPER_SCRIPTS is >>set to false again > > > With or without it enabled (and with cmake cvs from yesterday), I get this > error on Mac OS X: > > cd /Users/dfaure/kde/trunk/KDE/kdelibs/build/kdecore && ../bin/dcopidl2cpp > --c++-suffix cpp --no-signals --no-stub > /Users/dfaure/kde/trunk/KDE/kdelibs/build/kdecore/ksycoca.kidl > dyld: ../bin/dcopidl2cpp can't open library: libDCOP.dylib.4 (No such file > or directory, errno = 2) > make[2]: *** [kdecore/ksycoca_skel.cpp] Error 133 > > $ otool -L bin/dcopidl2cpp > bin/dcopidl2cpp: > > /Users/dfaure/qt/qt-mac-commercial-src-4.1.0/lib/QtCore.framework/Versions/4.0/QtCore > (compatibility version 4.1.0, current version 4.1.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 71.1.4) > > /Users/dfaure/qt/qt-mac-commercial-src-4.1.0/lib/QtXml.framework/Versions/4.0/QtXml > (compatibility version 4.1.0, current version 4.1.0) > libDCOP.dylib.4 (compatibility version 0.0.0, current version 0.0.0) > > $ ls -l lib/libDCOP* > lrwxr-xr-x 1 dfaure dfaure 15 8 Mar 13:12 lib/libDCOP.dylib -> > libDCOP.dylib.4 > lrwxr-xr-x 1 dfaure dfaure 19 8 Mar 13:12 lib/libDCOP.dylib.4 -> > libDCOP.dylib.4.2.0 > -rwxr-xr-x 1 dfaure dfaure 2180076 8 Mar 13:12 lib/libDCOP.dylib.4.2.0 > -rw-r--r-- 1 dfaure dfaure 671 8 Mar 13:14 lib/libDCOP.la > > The lib exists, but dcopidl2cpp doesn't know the path to it. Shouldn't the > wrapper script be used?
OSX does not have RPATHs. You will need to use the INSTALL_NAME_DIR target property on the shared libraries to get this working. -Brad _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
