KDE/kdelibs

David Faure faure at kde.org
Wed Mar 8 13:20:07 CET 2006


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?

> If built without RPATH to the builddir, the executables are executed using wrapper scripts named <name>.sh, e.g. kconfig_compiler.sh.

Hmm I see no .sh files at all, neither in srcdir nor in builddir; didn't get generated yet.
Did you remember to make one for dcopidl2cpp?

Thanks.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list