Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] Quick question about Qt4/KDE4.1

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
TemplarKnight
Guru
Guru
User avatar
Posts: 311
Joined: Tue Jun 14, 2005 11:47 pm
Location: Greece/patras/

[Solved] Quick question about Qt4/KDE4.1

  • Quote

Post by TemplarKnight » Mon Oct 13, 2008 8:02 am

So I have emerged kde4.1 from portage. I used the kdeprefix flag to get things a bit tidy up (i have kde3.5 installed also).
Previously i didn't have the flag selected and the overlay versions of kde4.1 were falling in /usr

I have an cmake / Qt4 / KDE4 program that compiled fine before.

Now I run

Code: Select all

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/kde/4.1/ -DCMAKE_BUILD_TYPE=debugfull . -G KDevelop3
And the output that comes is:


-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Adding /usr/kde/4.1/share/apps/cmake/modules to CMAKE_MODULE_PATH
-- Found KDE 4.1 include dir: /usr/include <----THIS IS ERRORNEOUS!!
-- Found KDE 4.1 library dir: /usr/lib <----THIS IS ERRORNEOUS ALSO!!
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done

So, how do i get the prefixes fixed with cmake? I am using cmake-2.6.1 btw

An thoughts??
Last edited by TemplarKnight on Mon Oct 13, 2008 11:57 am, edited 1 time in total.
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

  • Quote

Post by kokoko3k » Mon Oct 13, 2008 11:38 am

Not directly related to your issue, but as far as in understood, you don't need prefix to have kde3.5 and 4.1 at the same time;

http://www.gentoo.org/proj/en/desktop/k ... =printable
Note: This restriction does not apply to KDE 3.5 (which uses different eclasses) or live versions (as they will continue to be installed under /usr/kde/${live-slot}. You can have a non-kdeprefix version of KDE 4.1, KDE 3.5 and a live version of KDE installed on the same system.
Top
TemplarKnight
Guru
Guru
User avatar
Posts: 311
Joined: Tue Jun 14, 2005 11:47 pm
Location: Greece/patras/

  • Quote

Post by TemplarKnight » Mon Oct 13, 2008 11:40 am

But you still need it though if you want to have future versions of kde4 i think...

Anyway, i will not recompile the whole kde just for that 8O

It seems to be a cmake thing methinks since:

Code: Select all

kde4-config --prefix
/usr/kde/4.1
Top
TemplarKnight
Guru
Guru
User avatar
Posts: 311
Joined: Tue Jun 14, 2005 11:47 pm
Location: Greece/patras/

  • Quote

Post by TemplarKnight » Mon Oct 13, 2008 11:57 am

Ok, i forgot to remove CMakeCache.txt before reruning cmake :oops:

Problem Solved
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic