SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi. I'm using a fresh install of slackware64 with vbatts 4.3.1 kde packages on stable. While building a kde plugin with cmake I get this error:
Code:
# cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.0
CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1098 (message):
Qt compiled without support for -fvisibility=hidden. This will break
plugins and linking of some applications. Please fix your Qt installation.
Call Stack (most recent call first):
/usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
i am fully updated with the stable patches/upgrades. Do I need to install anything else?
Thanks poncez.
How can I ad the -fvisibility=hidden flag?
I tried adding: -fvisibility-hidden \ in Slackbuild but doesn't work.
Or shall I just use:
./qt.Slackbuild -fvisibility=hidden, will that work?
sorry, i edited above, it's -fvisibility=hidden, but check also about the noexec attribute (read above) for the filesystem where you are building the plugin (should be in /etc/fstab).
Hi, yeah I realised that and it's compiling now after making the edit.
Anyway, I'm building it on /home , I just have a single partition for slack here ,besides swap.
Code:
/dev/hda3 / ext4 defaults 1 1
EDIT: It still shows the same error. I'm guessing cmake is messed up?
EDIT2: Things are done. I had to delete ~/.kde and reboot.
happy you solved it
maybe you needed only to remove the file in .kde with qt settings (don't remember now the exact name and position) and restart X but this way everything is cleaner
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.