Re: [blfs-support] KDELIBS-4.8.4 cmake error
Ragnar Thomsen wrote: > On Wednesday 04 July 2012 13:05:16 Bruce Dubbs wrote: >> Ragnar, I'm having the same problem with 4.8.3. I do have the links: > It seems that when installing polkit-qt, the variable: > POLKITQT-1_INSTALL_DIR > in the cmake file: > /opt/kde4/lib/cmake/PolkitQT-1/PolkitQt-1Config.cmake > doesn't get set for you and Tony. This leads to the cmake-failure for kdelibs. > > Looking at the PolkitQt-1Config.cmake.in file, the variable should get set to > whatever CMAKE_INSTALL_PREFIX is. And since we set this variable in the build > instructions for polkit-qt, I can't understand why the cmake file isn't > generated correctly. > > I can't replicate this on my machine. I tried reinstalling both polkit and > polkit-qt, but the variable always gets set correctly for me. > > Can somebody (Armin...?) try building polkit-qt and see if the variable gets > set correctly? Solved. I found: /lib/pkgconfig/polkit-qt-1.pc /lib/pkgconfig/polkit-qt-core-1.pc /lib/pkgconfig/polkit-qt-gui-1.pc /lib/pkgconfig/polkit-qt-agent-1.pc and /lib/cmake/PolkitQt-1Config.cmake /lib/cmake/PolkitQt-1ConfigVersion.cmake dated yesterday and /opt/kde-4.8.3/lib/pkgconfig/polkit-qt-1.pc /opt/kde-4.8.3/lib/pkgconfig/polkit-qt-core-1.pc /opt/kde-4.8.3/lib/pkgconfig/polkit-qt-gui-1.pc /opt/kde-4.8.3/lib/pkgconfig/polkit-qt-agent-1.pc opt/kde4/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake opt/kde4/lib/cmake/PolkitQt-1/PolkitQt-1ConfigVersion.cmake dated today. Deleting the ones in /lib running the standard cmake command completes successfully. I suspect I ran polkit-qt once without the KDE4_PREFIX set and it left cruft in where it was picked up by cmake in kdelibs. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
On Wednesday 04 July 2012 13:05:16 Bruce Dubbs wrote: > Ragnar, I'm having the same problem with 4.8.3. I do have the links: > > $ ls -l /opt/kde4/share/ > total 0 > lrwxrwxrwx 1 root root 17 Jul 1 13:37 dbus-1 -> /usr/share/dbus-1 > lrwxrwxrwx 1 root root 19 Jul 1 13:37 polkit-1 -> /usr/share/polkit-1 > > I'm using Polkit-0.106 and Polkit-Qt-0.103.0. The .pc files seem to be > in the right location and PKG_CONFIG_PATH is right. > > Adding -DPOLKITQT-1_INSTALL_DIR=$KDE4_PREFIX fixed it for me, but I > don't know why cmake is not picking it up automatically. It seems that when installing polkit-qt, the variable: POLKITQT-1_INSTALL_DIR in the cmake file: /opt/kde4/lib/cmake/PolkitQT-1/PolkitQt-1Config.cmake doesn't get set for you and Tony. This leads to the cmake-failure for kdelibs. Looking at the PolkitQt-1Config.cmake.in file, the variable should get set to whatever CMAKE_INSTALL_PREFIX is. And since we set this variable in the build instructions for polkit-qt, I can't understand why the cmake file isn't generated correctly. I can't replicate this on my machine. I tried reinstalling both polkit and polkit-qt, but the variable always gets set correctly for me. Can somebody (Armin...?) try building polkit-qt and see if the variable gets set correctly? -Ragnar- -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
Ragnar Thomsen wrote: > On Thu, Jun 28, 2012 at 2:54 AM, tony lemaire wrote: >> I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like >> BLFS. >> I have all pre-requises install in my distro, but the cmake failed. Here is >> the log : > > I have built KDE 4.8.4 without problems. > > . >> WARNING: Installation prefix does not match PolicyKit install prefixes. You >> probably will need to move files installed in POLICY_FILES_INSTALL_DIR and >> by dbus_add_activation_system_service to the prefix >> -- Building PolkitQt-1 KAuth backend >> CMake Error at kdecore/auth/ConfigureChecks.cmake:138 (string): >>string sub-command REPLACE requires at least four arguments. >> Call Stack (most recent call first): >>kdecore/CMakeLists.txt:38 (include) > .. > > There seems to be a problem with your polkit/polkit-qt installation. > What versions of these do you have? > > Did you create the polkit link as mentioned on the page "KDE > Pre-installation Configuration"? Ragnar, I'm having the same problem with 4.8.3. I do have the links: $ ls -l /opt/kde4/share/ total 0 lrwxrwxrwx 1 root root 17 Jul 1 13:37 dbus-1 -> /usr/share/dbus-1 lrwxrwxrwx 1 root root 19 Jul 1 13:37 polkit-1 -> /usr/share/polkit-1 I'm using Polkit-0.106 and Polkit-Qt-0.103.0. The .pc files seem to be in the right location and PKG_CONFIG_PATH is right. Adding -DPOLKITQT-1_INSTALL_DIR=$KDE4_PREFIX fixed it for me, but I don't know why cmake is not picking it up automatically. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
On Friday 29 June 2012 16:16:37 tony lemaire wrote: >I have found a solution. I edit in VIM the file >/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake > >I have the line set(POLKITQT-1_INSTALL_DIR "") what i change for >set(POLKITQT-1_INSTALL_DIR "/usr") and now cmake is OK. > >I don't know if it's a real solution but it works for me. I'm running make. >I'll tell you when make will finish. On my system the line says: set(POLKITQT-1_INSTALL_DIR "/opt/kde4") It seems like your polkit-qt installation somehow got screwed up, but I have no idea how. Did you use the exact syntax from blfs when configuring polkit- qt? I tried installing polkit-qt in /usr and the line shows, correctly: set(POLKITQT-1_INSTALL_DIR "/usr") And Armin, I verified that polkit-qt-0.103 builds and runs with the new polkit (0.106). No problems there. I'll add automoc4 as a dep, thanks. -Ragnar--- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
> I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like > BLFS. > I have all pre-requises install in my distro, but the cmake failed. Here is > the log : > I have built KDE 4.8.4 without problems. . > WARNING: Installation prefix does not match PolicyKit install prefixes. You > probably will need to move files installed in POLICY_FILES_INSTALL_DIR and > by dbus_add_activation_system_service to the? prefix > -- Building PolkitQt-1 KAuth backend > CMake Error at kdecore/auth/ConfigureChecks.cmake:138 (string): > ? string sub-command REPLACE requires at least four arguments. > Call Stack (most recent call first): > ? kdecore/CMakeLists.txt:38 (include) .. > There seems to be a problem with your polkit/polkit-qt installation. > What versions of these do you have? > Did you create the polkit link as mentioned on the page "KDE > Pre-installation Configuration"?I have found a solution. I edit in VIM the > file /lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake I have the line set(POLKITQT-1_INSTALL_DIR "") what i change for set(POLKITQT-1_INSTALL_DIR "/usr") and now cmake is OK. I don't know if it's a real solution but it works for me. I'm running make. I'll tell you when make will finish. regards, Tony -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
On 06/28/2012 10:29 AM, Ragnar Thomsen wrote: > On Thu, Jun 28, 2012 at 2:54 AM, tony lemaire wrote: >> I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like >> BLFS. >> I have all pre-requises install in my distro, but the cmake failed. Here is >> the log : > > I have built KDE 4.8.4 without problems. > Have you used Polkit version currently in the book? > > There seems to be a problem with your polkit/polkit-qt installation. > What versions of these do you have? > > Did you create the polkit link as mentioned on the page "KDE > Pre-installation Configuration"? > Can you check if polkit-qt works well with latest polkit since there was some big change like dropping libpolkit-backend, reintroducing polkit user and polkit rules configuration files format. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
> I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like > BLFS. > I have all pre-requises install in my distro, but the cmake failed. Here is > the log : > I have built KDE 4.8.4 without problems. . > WARNING: Installation prefix does not match PolicyKit install prefixes. You > probably will need to move files installed in POLICY_FILES_INSTALL_DIR and > by dbus_add_activation_system_service to the? prefix > -- Building PolkitQt-1 KAuth backend > CMake Error at kdecore/auth/ConfigureChecks.cmake:138 (string): > ? string sub-command REPLACE requires at least four arguments. > Call Stack (most recent call first): > ? kdecore/CMakeLists.txt:38 (include) .. > There seems to be a problem with your polkit/polkit-qt installation. > What versions of these do you have? > Did you create the polkit link as mentioned on the page "KDE > Pre-installation Configuration"?I use the BLFS versions of oplkit/polkit-Qt. > For the polkit link, the book says to create it if i install KDE in /opt. But i'm installing KDE in /usr, so i just use the command "export KDE4_PREFIX=/usr". Maybe i should install KDE in /opt ??? I have reinstall polkit and polkit-Qt, but i have the same error. Regards, Tony -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] KDELIBS-4.8.4 cmake error
On Thu, Jun 28, 2012 at 2:54 AM, tony lemaire wrote: > I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like > BLFS. > I have all pre-requises install in my distro, but the cmake failed. Here is > the log : I have built KDE 4.8.4 without problems. . > WARNING: Installation prefix does not match PolicyKit install prefixes. You > probably will need to move files installed in POLICY_FILES_INSTALL_DIR and > by dbus_add_activation_system_service to the prefix > -- Building PolkitQt-1 KAuth backend > CMake Error at kdecore/auth/ConfigureChecks.cmake:138 (string): > string sub-command REPLACE requires at least four arguments. > Call Stack (most recent call first): > kdecore/CMakeLists.txt:38 (include) .. There seems to be a problem with your polkit/polkit-qt installation. What versions of these do you have? Did you create the polkit link as mentioned on the page "KDE Pre-installation Configuration"? > I'm using GCC-4.7.0, Kernel 3.4.3, Xorg Server 1.12.2, Qt 4.8.1, > > I take a look on the web, but i don't find any answer. > Is someone can help me ? I will try to install Qt 4.8.2 and see if it will > work or not I built KDE 4.8.4 with Qt 4.8.1, so upgrading to Qt 4.8.2 will not likely help your situation. -Ragnar- -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] KDELIBS-4.8.4 cmake error
Hello everybody, I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like BLFS. I have all pre-requises install in my distro, but the cmake failed. Here is the log : -- Found Qt-Version 4.8.1 (using /opt/qt/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Building kdelibs... -- Found the KDE4 kconfig_compiler preprocessor: /sources/kdelibs-4.8.4/build/bin/./kconfig_compiler.shell -- Found automoc4: /opt/qt/bin/automoc4 -- Found ACL support: /usr/lib/libacl.so;/usr/lib/libattr.so WARNING: Installation prefix does not match PolicyKit install prefixes. You probably will need to move files installed in POLICY_FILES_INSTALL_DIR and by dbus_add_activation_system_service to the prefix -- Building PolkitQt-1 KAuth backend CMake Error at kdecore/auth/ConfigureChecks.cmake:138 (string): string sub-command REPLACE requires at least four arguments. Call Stack (most recent call first): kdecore/CMakeLists.txt:38 (include) -- Found Qt-Version 4.8.1 (using /opt/qt/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Building Solid UPnP backend. -- Building Solid UDev backend. -- Warning: environment variable XDG_DATA_DIRS not set, falling back to /usr/share -- Building Solid HAL backend. -- Building Solid UPower backend. -- Building Solid UDisks backend. -- Building Solid fstab backend. -- Found GSSAPI: -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -- Using setuid root kdeinit wrapper in order to protect it from bad Linux OOM-killer -- Found OPENEXR: /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/local/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so -- Adding support for Phonon to libplasma - -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. - * Perl - Needed for building kdelibs * ZLib - Support for gzip compressed files and data streams * Strigi - Desktop indexing and search support * libattica - Support for Get Hot New Stuff * X Rendering Extension (libXrender) - Support for compositing, rendering operations, and alpha-blending * X Screensaver Extension (libXss) - Support for KIdleTime (fallback mode) * X Sync Extension (libXext) - Efficient operation of KIdleTime * OpenSSL - Support for secure network communications (SSL and TLS) * Libintl - Support for multiple languages * Soprano - Support for the Nepomuk semantic desktop system * Soprano Raptor Parser - Support for the Nepomuk semantic desktop system * Soprano Redland Backend - Support for the Nepomuk semantic desktop system * Shared desktop ontologies - Support for the Nepomuk semantic desktop system * QCA2 - Support for remote plasma widgets * DBusMenuQt - Support for notification area menus via the DBusMenu protocol * LibACL - Support for manipulating access control lists * BZip2 - Support for BZip2 compressed files and data streams * LZMA/XZ - Support for xz compressed files and data streams * PolkitQt-1 - Support for executing priviledged actions in a controlled way (KAuth) * FAM - File alteration notification support via a separate service * Grantlee - ModelEventLogger code generation (part of the ProxyModel test suite) * PCRE - Perl-compatible regular expressions in KJS * HUPnP - UPnP support for Solid * UDev - UDev support for Solid * media-player-info - Enables identification and querying of portable media players * Flex - Allows the Solid predicate parser to be updated * Bison - Allows the Solid predicate parser to be updated * LibXSLT - Required by the KDE help system to process DocBook XML * LibXML2 - Required by the KDE help system to process DocBook XML * xmllint - Required by the KDE help system to process DocBook XML * DocBook XML - Required by the KDE help system to process DocBook XML * DocBook XSL - Required by the KDE help system to process DocBook XML * GSSAPI - Allows KIO to make use of certain HTTP authentication services * shared-mime-info - Allows KDE applications to determine file types * Aspell - Spell checking support via Aspell * HSpell - Spell checking support for Hebrew * Enchant - Spell checking support via Enchant * libjpeg - JPEG image format support * giflib - GIF image format support * libpng - PNG image format support * JasPer - Support for JPEG-2000 images * OpenEXR - Support for OpenEXR images * Avahi - Facilities for service discovery on a local network (DNSSD) - -- Congratulations! All external packages have been found. - -- Configuring incomplete, errors occurred! I'm using GCC-4.7.0, Kernel 3.4.3, Xorg Server 1.12.2, Q