Opened 15 years ago
Closed 15 years ago
#24352 closed defect (invalid)
kdepim4 4.4.2 configure error - build fails
Reported by: | mac.ports.fishspit@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | sharky@…, bjoern.ricks@… | |
Port: | kdepim4 |
Description
While trying to upgrade my kde apps to 4.4.2 on Snow Leopard (10.6.3) with Xcode 3.2.1, kdepim4 fails to configure and build.
There appears to be a problem running cmake (2.8.1_1). The following seems to be the relavent info from port -d install kdepim4.
It looks like nepomuk-rcgen is missing some input for some reason.
---> Configuring kdepim4 DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: Executing proc-pre-org.macports.configure-configure-0 DEBUG: Executing org.macports.configure (kdepim4) DEBUG: Environment: CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32' CC='/usr/bin/gcc-4.2' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdepim-4.4.2 -DQCA2_LIBRARIES=/opt/local/lib/libqca.2.dylib -DQCA2_INCLUDE_DIR=/opt/local/include/QtCrypto -DCMAKE_OSX_ARCHITECTURES="i386"' -- Enterprise build is disabled. -- Found Qt-Version 4.6.2 (using /opt/local/libexec/qt4-mac/bin/qmake) -- Found Threads: TRUE -- Found Automoc4: /opt/local/bin/automoc4 -- Found Perl: /opt/local/bin/perl -- Phonon Version: 4.3.1 -- Found KDE 4.4 include dir: /opt/local/include -- Found KDE 4.4 library dir: /opt/local/lib -- Found the KDE4 kconfig_compiler preprocessor: /opt/local/bin/kconfig_compiler -- Found automoc4: /opt/local/bin/automoc4 -- Found KdepimLibs: /opt/local/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake -- Strigi API needs 'signed char' -- Found Strigi: /opt/local/lib/libstreams.dylib -- Found gpgme-config at /opt/local/bin/gpgme-config -- Found gpgme v1.2.0, checking for flavours... -- Found flavour 'vanilla', checking whether it's usable...yes -- Found flavour 'pthread', checking whether it's usable...yes -- Found flavour 'pth', checking whether it's usable...yes -- Usable gpgme flavours found: vanilla pthread pth -- Found QGpgme: /opt/local/lib/libqgpgme.dylib -- Found SharedDesktopOntologies: /opt/local/share/ontology -- Found Soprano: /opt/local/include -- Found Nepomuk: /opt/local/lib/libnepomuk.dylib -- Found libassuan-config at /opt/local/bin/libassuan-config -- Found assuan v1.0.5, checking for flavours... -- Found flavour 'vanilla', checking whether it's usable...yes -- Found flavour 'pthread', checking whether it's usable...yes -- Found flavour 'pth', checking whether it's usable...yes -- Usable assuan flavours found: vanilla pthread pth -- Usable assuan found for Kleopatra -- Checking whether libassuan can be linked against from DSO's -- --> Assuming that it can. If compilation of libkleopatraclient fails on AMD64, check that libassuan is compiled with -fPIC and try again. Otherwise, pass -DBUILD_libkleopatraclient=OFF. -- checking for module 'indicate-qt>=0.2.1' -- package 'indicate-qt>=0.2.1' not found -- Unable to find an 128x128 icon for target kmailcvt - application will not have an application icon! Usage: /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --writeall [--templates <tmpl1> [<tmpl2> [<tmpl3> ...]]] --target <sourcefolder> --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listincludes --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listheaders [--prefix <listprefix>] --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listsources [--prefix <listprefix>] --ontologies <ontologyfile(s)> CMake Error at /opt/local/share/apps/cmake/modules/NepomukAddOntologyClasses.cmake:74 (message): Running /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen to generate list of headers failed with error code 1 Call Stack (most recent call first): ontologies/CMakeLists.txt:4 (nepomuk_add_ontology_classes) Usage: /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --writeall [--templates <tmpl1> [<tmpl2> [<tmpl3> ...]]] --target <sourcefolder> --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listincludes --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listheaders [--prefix <listprefix>] --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listsources [--prefix <listprefix>] --ontologies <ontologyfile(s)> CMake Error at /opt/local/share/apps/cmake/modules/NepomukAddOntologyClasses.cmake:83 (message): Running /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen to generate list of sources failed with error code 1 Call Stack (most recent call first): ontologies/CMakeLists.txt:4 (nepomuk_add_ontology_classes) CMake Error at /opt/local/share/apps/cmake/modules/NepomukAddOntologyClasses.cmake:86 (add_custom_command): add_custom_command Wrong syntax. A TARGET or OUTPUT must be specified. Call Stack (most recent call first): ontologies/CMakeLists.txt:4 (nepomuk_add_ontology_classes) Usage: /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --writeall [--templates <tmpl1> [<tmpl2> [<tmpl3> ...]]] --target <sourcefolder> --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listincludes --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listheaders [--prefix <listprefix>] --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listsources [--prefix <listprefix>] --ontologies <ontologyfile(s)> CMake Error at /opt/local/share/apps/cmake/modules/NepomukAddOntologyClasses.cmake:74 (message): Running /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen to generate list of headers failed with error code 1 Call Stack (most recent call first): ontologies/CMakeLists.txt:15 (nepomuk_add_ontology_classes) Usage: /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --writeall [--templates <tmpl1> [<tmpl2> [<tmpl3> ...]]] --target <sourcefolder> --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listincludes --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listheaders [--prefix <listprefix>] --ontologies <ontologyfile(s)> /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen --listsources [--prefix <listprefix>] --ontologies <ontologyfile(s)> CMake Error at /opt/local/share/apps/cmake/modules/NepomukAddOntologyClasses.cmake:83 (message): Running /opt/local/bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen to generate list of sources failed with error code 1 Call Stack (most recent call first): ontologies/CMakeLists.txt:15 (nepomuk_add_ontology_classes) CMake Error at /opt/local/share/apps/cmake/modules/NepomukAddOntologyClasses.cmake:86 (add_custom_command): add_custom_command Wrong syntax. A TARGET or OUTPUT must be specified. Call Stack (most recent call first): ontologies/CMakeLists.txt:15 (nepomuk_add_ontology_classes) ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. ----------------------------------------------------------------------------- * Boost - Boost C++ Libraries * The Boost Topological_sort header - topological_sort.hpp (part of Boost_graph) * Akonadi - Akonadi server libraries * ZLib - The Zlib compression library * Strigi - Index metadata of files * gpgme - GnuPG Made Easy Development Libraries * QGpgME - The QGpgME library * Shared desktop ontologies - Desktop ontologies * Soprano - Semantic Desktop Storing * Nepomuk - The Nepomuk libraries * assuan - Assuan IPC library ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * indicate-qt (0.2.1 or higher) <http://launchpad.net/libindicate-qt> Qt bindings for libindicate Needed for KMail integration with libindicate Indicators. ----------------------------------------------------------------------------- -- Configuring incomplete, errors occurred! Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdepim-4.4.2 -DQCA2_LIBRARIES=/opt/local/lib/libqca.2.dylib -DQCA2_INCLUDE_DIR=/opt/local/include/QtCrypto -DCMAKE_OSX_ARCHITECTURES="i386" " returned error 1 DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdepim-4.4.2 -DQCA2_LIBRARIES=/opt/local/lib/libqca.2.dylib -DQCA2_INCLUDE_DIR=/opt/local/include/QtCrypto -DCMAKE_OSX_ARCHITECTURES="i386" " returned error 1 while executing "$procedure $targetname" Warning: the following items did not execute (for kdepim4): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (9)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Cc: | sharky@… bjoern.ricks@… added |
---|---|
Owner: | changed from macports-tickets@… to snc@… |
comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)
comment:3 Changed 15 years ago by mac.ports.fishspit@…
I saw the comment on #23743 about the shared_desktop_ontologies variant of kdelibs4, so I uninstalled all off my kde packages and build that variant. So I currently have the following;
# port installed kde* The following ports are currently installed: kdebase4-runtime @4.4.2_0 (active) kdelibs4 @4.4.2_0+shared_desktop_ontologies (active) kdepimlibs4 @4.4.2_0 (active)
Then I tried "port install kdepim4", but I still get the same errors from nepomuk-rcgen.
comment:4 Changed 15 years ago by nospam@…
I'm getting this one: sudo port install kdepim4 ---> Computing dependencies for kdepim4 ---> Fetching kdepim4 ---> Verifying checksum(s) for kdepim4 ---> Extracting kdepim4 ---> Configuring kdepim4 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../kdepim-4.4.2 -DQCA2_LIBRARIES=/opt/local/lib/libqca.2.dylib -DQCA2_INCLUDE_DIR=/opt/local/include/QtCrypto -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1 Command output: -----------------------------------------------------------------------------
- assuan ( or greater or higher) <http://www.gnupg.org/related_software/libassuan> Assuan IPC library Needed for Kleopatra to act as the GnuPG UI Server
- indicate-qt (0.2.1 or higher) <http://launchpad.net/libindicate-qt> Qt bindings for libindicate Needed for KMail integration with libindicate Indicators.
-- The following REQUIRED packages could NOT be located on your system. -- You must install these packages before continuing.
- Nepomuk <http://www.kde.org> The Nepomuk libraries Nepomuk extends the search and tagging functionalities in KMail and Akonadi
CMake Error at /opt/local/share/apps/cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):
Exiting: Missing Requirements
Call Stack (most recent call first):
CMakeLists.txt:262 (macro_display_feature_log)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: NEPOMUK_LIBRARIES (ADVANCED)
linked by target "niefast_apps" in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/work/kdepim-4.4.2/ontologies
-- Configuring incomplete, errors occurred!
---SNIP---
The following ports are currently installed:
kdebase4-runtime @4.4.2_0 (active) kdelibs4 @4.4.2_0 (active) kdepimlibs4 @4.4.2_0 (active)
arch=i386
comment:5 Changed 15 years ago by mac.ports.fishspit@…
I think you need the shared_desktop_ontologies variant of kdelibs4. Try reinstalling kdelibs,
port install kdelibs4 +shared_desktop_ontologies
then retry installing kdepim4
port -d install kdepim4
if that works for you, there must something wrong with my install since I'm still unable to build it.
comment:6 Changed 15 years ago by bjoern.ricks@…
I am not sure about the first reported error. I'll try to reproduce it this evening. The last error is definitively caused by missing shared desktop ontologies. Please try the proposed installation of the kdelibs4 +shared_desktop_ontologies variant.
It would be also a good idea to add shared_desktop_ontologies to the default variant. The KDE developers already have some comments about optional nepomuk in their kdelibs CMakeLists.txt file
# Actually nepomuk is not optional, without it other KDE modules don't build, # so this must be fixed.
comment:7 Changed 15 years ago by nospam@…
thx port install kdelibs4 +shared_desktop_ontologies did the trick :)
comment:8 Changed 15 years ago by mac.ports.fishspit@…
I finally figured out what was wrong, I seemed to have a rogue nepomuk-rcgen, that wasn't from macports, in my path from a much older attempt to get kde4 working. Removed it and now it has configured and built successfully. Appologies for the misleading bug report.
comment:9 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Which variants were used when you installed the prerequisite KDE ports?
You can find them in
port installed "kde*"
, feel free to just copy/paste it to here.