Registered Member
|
As part of a personal project, I'm working on building the latest release branch of KDE 4.3 on top of gNewSense.
"What?!" you ask. "Why would you do such a thing?!" Well, I'm doing it for several reasons: 1.) To help me understand the inner workings of both KDE and Qt so that I may one day code with them. 2.) To get a desktop environment that I really love working on a Free-As-Can-Be distribution. 3.) To eventually help package KDE 4.3 final when it comes out for the gNewSense project. It's all very much a learning experience for me. Currently, I've gotten Cmake and Qt built. All very nice. I have the most recent KDE SVN release from /trunk, and I have a kde-devel profile on my computer with a specialized .bashrc However, when I try and run CMake in kdelibs, I get the following error:
With a little digging around the internet, it seems that the error is stemming from the fact that I have a previous version of Qt installed. Well okay, so apparently this line has to go somewhere:
According to a mailing list I was reading, I have to use this line to tell Cmake to link to these newly-built libraries. However, I'm not sure which files this line is supposed to go into. If anyone can clue me in to figuring this out, I'd greatly appreciate it!
"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows." -Forest, from "Under an Iron Tree" by Sean Tilley |
Administrator
|
You need to set the following environment variables ( in your shell ) before running CMake.
QTDIR=Where you installed Qt CMAKE_PREFIX_PATH=$QTDIR PATH=$QTDIR/bin:$PATH LD_LIBRARY_PATH=$QTDIR/libs Since you are also building KDE from trunk you may find the script I use to set environment variables helpful. You will need to change KDEDIR and QTDIR appropriately.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks! KDEsupport is building currently, so I'll keep you posted if everything builds as expected. Cheers!
"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows." -Forest, from "Under an Iron Tree" by Sean Tilley |
Registered Member
|
Okay, some new hurdles. kdelibs passed with cmake, and building it gets up to about 81%.
It gets around to
And then a series of error messages fly across the screen, ending with:
What do I need to do to fix this?
"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows." -Forest, from "Under an Iron Tree" by Sean Tilley |
Administrator
|
It usually prints some information ( such as unknown symbols ) when this occurs. Can you please post those?
Also, try passing running the make command as follows in order to have CMake print out the full command it is executing.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I've tried DEBUG=1, here's as full as an output I could get. Gnome-terminal wasn't able to show everything, but I figure that this is lengthy enough to get a good idea of what's going on.
http://pastebin.com/m75d12df7
"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows." -Forest, from "Under an Iron Tree" by Sean Tilley |
Administrator
|
You may need to alter the TARGET_LINK_LIBRARIES argument for KatePart in the appropriate CMakeLists.txt file to include the KTextEditor linking. This is likely caused by behaviour differences between Linux/Solaris/Mac/Windows/Etc and GNewSense.
You should be able to find some people who are quite skilled at using CMake on the kde-buildsystem@kde.org mailing list.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Well, it's been about five days and I haven't heard back from them... should I just try 4.3 Beta2 instead?
"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows." -Forest, from "Under an Iron Tree" by Sean Tilley |
Administrator
|
There may be improvements in Beta 2 ( I saw some changes in some KDELibs CMakeLists.txt files today actually.... you may wish to try directly from trunk )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]