KDE Developer
|
Hi!
I cannot build the devtools-playground with kdevelop4-extra-addons. Also with a few adjustments of CMAKE_MODULE_PATH I get these messages:
It's the same with PHP... Where can I get the missing files, I have not found them? Thank you! The User |
Administrator
|
Try renaming occurances of "KDevelop-PG-Qt" to "KDevelop" in the appropriate CMakeLists.txt files.
Last edited by bcooksley on Sat Apr 25, 2009 4:17 am, edited 1 time in total.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
Hi!
With two modifications cmake works, I hope the compilation won't fail. In "kdevelop4-extra-plugins/java/CMakeLists.txt" and "kdevelop4-extra-plugins/csharp/CMakeLists.txt" I have removed:
In "kdevelop4-extra-plugins/java/parser/CMakeLists.txt" and "kdevelop4-extra-plugins/csharp/parser/CMakeLists.txt" I have replaced:
with:
That is a macro from kdevelop-pg-qt/cmake/modules. Not a clean solution, but it works. It seems not to include the kdevelop-pg-qt properly. Thanks! The User PS: Then I will switch from KDevelop3 to KDevelop4 with nice code-completion, PHP-support, Qt4-designer, bzr...
Last edited by The User on Sat Apr 25, 2009 4:44 pm, edited 1 time in total.
|
KDE Developer
|
I have tried another option:
-Change CMAKE_MODULE_PATH for java and csharp. -Install kdevelop-pg, kdevelop-pg-qt and the other targets seperately cmake works, but:
Then there are of course a lot of other error because of missing namespaces, functions and types. It's the same with csharpparser, csharpppast, csharpppparser and csharplexer. But the kdevelop-pg and kdevelop-pg-qt header-files were found. They are installed correctly. What could I do? The User |
Administrator
|
Try reverting the previous changes you made, and rerun CMake, ensuring that CMAKE_PREFIX_PATH is set to where you installed Qt, KDE, KDevelop, KDevelop-Pg and KDevelop-Pg-Qt.
I install KDE, KDevelop, KDevelop-Pg and KDevelop-Pg into /opt/trunk-kde/kde/ and Qt into /opt/trunk-kde/qt so I set it as follows:
I was able to build it without problems.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
Thank you. It works, but:
[quote]kdevelop4-extra-plugins/php/duchain/integraltypeextended.cpp: In copy constructor ‘Php::IntegralTypeExtended::IntegralTypeExtended(const Php::IntegralTypeExtended&)’: kdevelop4-extra-plugins/php/duchain/integraltypeextended.cpp:33: error: no matching function for call to ‘Php::IntegralTypeExtended::copyData(const KDevelop::IntegralTypeData&)’[/code] ... |
Administrator
|
I don't know why it is failing unfortunately, it could be fixed in svn though.
The Php plugin compiled fine for me when I tried.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
I could compile it. (but I had to disable java and ruby, I'll have to retry it)
Now I compile KDevelop for version-conformance. It's often a problem: Modules are searched in /usr/share/kde4/services. But when I compile a module manually (KDevelop--module, Plasmoid...) and forget to say -DCMAKE_PREFIX=/usr, it is installed in /usr/local/share/kde4/services. How can I change the path permanently to /usr?
Last edited by The User on Wed Apr 29, 2009 11:37 pm, edited 1 time in total.
|
Administrator
|
Unfortunately declaring it as an environment variable didn't work. You could try making "cmake" a bash alias though.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
Also Buildservice has the same problems to build it. Could the CMakeLists.txts be broken?
|
Administrator
|
The bindings could currently be broken, however I would think that the CMakeLists.txt file not working would be far more likely. Probably using hard coded paths, or making assumptions based on the versions of them their developer has, which may be incompatible with what is currently used by openSUSE.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell