[KDE/Mac] compiling/installing

bkn at ithryn.net bkn at ithryn.net
Mon Jul 28 18:33:14 UTC 2014


On 2014-07-28 13:17, René J.V. Bertin wrote:
> On Jul 28, 2014, at 20:02, bkn at ithryn.net wrote:
>
>> I've been running kde apps through macports for a while, but the 
>> latest kdepim 4.12.5 have been giving me some trouble.
>
> Can you be more specific about that "some trouble"?
>
i sure can.

The log file complains of a linking error, specifically it can't find 
-lakonadi-calendar. This library does exist, however the link command 
does not have -L/opt/local/lib so it cannot find the library. If i edit 
the link command by hand, the link succeeds. However the renaming 
compile files as the compiler can't find header files, since the include 
flags appear to be incorrect, i.e. there is no -I/opt/local/include/.

It almost looks like the Makefiles expect the header files to live in 
/opt/local/include/KDE. Perhaps there is some version skew, and i need 
to uninstall/reinstall all the kde packages.


For reference, the first error is included below:

Linking CXX shared library ../lib/libcalendarsupport.dylib
cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/build/calendarsupport 
&& /opt/local/bin/cmake -E cmake_link_script 
CMakeFiles/calendarsupport.dir/link.txt --verbose=1
/usr/bin/clang++  -pipe -Os -arch x86_64 -stdlib=libc++  -fno-common 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts 
-Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual 
-fno-common -fvisibility=hidden -Werror=return-type 
-fvisibility-inlines-hidden -Wno-return-type-c-linkage -fexceptions 
-UQT_NO_EXCEPTIONS -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 
-mmacosx-version-min=10.9 -dynamiclib -Wl,-headerpad_max_install_names 
-single_module -multiply_defined suppress  
-Wl,-headerpad_max_install_names -arch x86_64 -compatibility_version 
4.0.0 -current_version 4.12.5 -o ../lib/libcalendarsupport.4.12.5.dylib 
-install_name /opt/local/lib/libcalendarsupport.4.dylib 
CMakeFiles/calendarsupport.dir/calendarsupport_automoc.o 
CMakeFiles/calendarsupport.dir/archivedialog.o 
CMakeFiles/calendarsupport.dir/attachmenthandler.o 
CMakeFiles/calendarsupport.dir/calendarsingleton.o 
CMakeFiles/calendarsupport.dir/calendarutils.o 
CMakeFiles/calendarsupport.dir/categoryconfig.o 
CMakeFiles/calendarsupport.dir/categoryhierarchyreader.o 
CMakeFiles/calendarsupport.dir/collectiongeneralpage.o 
CMakeFiles/calendarsupport.dir/collectionselection.o 
CMakeFiles/calendarsupport.dir/eventarchiver.o 
CMakeFiles/calendarsupport.dir/identitymanager.o 
CMakeFiles/calendarsupport.dir/incidenceattachmentmodel.o 
CMakeFiles/calendarsupport.dir/kcalmodel.o 
CMakeFiles/calendarsupport.dir/kcalprefs.o 
CMakeFiles/calendarsupport.dir/messagewidget.o 
CMakeFiles/calendarsupport.dir/utils.o 
CMakeFiles/calendarsupport.dir/next/incidencefetchjob.o 
CMakeFiles/calendarsupport.dir/next/incidencesearchjob.o 
CMakeFiles/calendarsupport.dir/next/incidenceviewer.o 
CMakeFiles/calendarsupport.dir/kcalprefs_base.o  
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/build/lib 
../lib/libkdepimdbusinterfaces.4.12.5.dylib 
../lib/libkdepim.4.12.5.dylib /opt/local/lib/libakonadi-kde.4.12.5.dylib 
/opt/local/lib/libkcalcore.4.12.5.dylib 
/opt/local/lib/libkcalutils.4.12.5.dylib 
/opt/local/lib/libakonadi-contact.4.12.5.dylib 
/opt/local/lib/libakonadi-kmime.4.12.5.dylib 
/opt/local/lib/libkmime.4.12.5.dylib 
/opt/local/lib/libkpimidentities.4.12.5.dylib 
/opt/local/lib/libkpimutils.4.12.5.dylib 
/opt/local/lib/libkholidays.4.12.5.dylib 
/opt/local/lib/libmailtransport.4.12.5.dylib 
/opt/local/lib/libkdeui.5.12.5.dylib /opt/local/lib/libkio.5.12.5.dylib 
-lakonadi-calendar /opt/local/lib/libphonon.dylib 
/opt/local/lib/libkldap.4.12.5.dylib /opt/local/lib/libkabc.4.12.5.dylib 
/opt/local/lib/libkresources.4.12.5.dylib 
/opt/local/lib/libnepomukcore.4.12.5.dylib 
/opt/local/lib/libkcalcore.4.12.5.dylib 
/opt/local/lib/libkpimtextedit.4.12.5.dylib 
/opt/local/lib/libakonadi-kmime.4.12.5.dylib 
/opt/local/lib/libakonadi-kde.4.12.5.dylib 
/opt/local/lib/libkmime.4.12.5.dylib /opt/local/lib/libkio.5.12.5.dylib 
/opt/local/lib/libQtNetwork.dylib /opt/local/lib/libQtXml.dylib 
/opt/local/lib/libkdeui.5.12.5.dylib /opt/local/lib/libQtGui.dylib 
/opt/local/lib/libQtSvg.dylib /opt/local/lib/libkdecore.5.12.5.dylib 
/opt/local/lib/libQtDBus.dylib /opt/local/lib/libQtCore.dylib -framework 
Carbon /opt/local/lib/libsoprano.dylib -Wl,-rpath,/opt/local/lib
ld: library not found for -lakonadi-calendar





> René



More information about the kde-mac mailing list