I recently installed a linux distribuiton based on mandriva (Linux Caixa Mágica) using kde. Before, i used kdevelop 3 on Ubuntu, but now when i use Synaptic to install kdevelop i can only find kdevelop4(which i think is still on beta development) (and i didn't change the repositories). Does anyone know a way to install kdevelop3 on my machine?
I've tried the following:
apt-get install kdevelop 3
But it says that's an obsolete package and advises me to install kdevelop4.
apt-cache search kdevelop
And i still only find packages related to kdevelop4.
There should be an option to force it to install the obsolete package.
It doesn't find it that's why it says it must obsolete. =(
Well i now tried to compile it from the source. I installed all the needed packages so i am able to run configure. But then when i try to "make -k install" it shows a LOT of warnings and errors, so it doesn't compile. I'm not sure, but i believe these errors are related to qt or kde, because almost all of these errors are about classes. I installed kde3 base, libs and devel packages, along with qt3 devel and a few more. If you have any idea what's going wrong, please help.
Without knowing what the error messages are, no clue. Have you tried kdevelop4?
I've tried kdevelop4 and it works fine but it's very different from the 3rd version and it's still not fully developed.
When i run "make install" i get the following:
Code:Making install in lib make[1]: Entrando no diretório `/home/psam/Documentos/kdevelop/lib' Making install in util make[2]: Entrando no diretório `/home/psam/Documentos/kdevelop/lib/util' /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/compat -I../../lib/interfaces -I../../lib/sourceinfo -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT blockingkprocess.lo -MD -MP -MF .deps/blockingkprocess.Tpo -c -o blockingkprocess.lo blockingkprocess.cpp In file included from blockingkprocess.cpp:105: blockingkprocess.moc:12:2: error: #error "The header file 'blockingkprocess.h' doesn't include <QObject>." In file included from blockingkprocess.cpp:105: blockingkprocess.moc:20: error: expected constructor, destructor, or type conversion before ‘static’ blockingkprocess.moc:48: error: ‘const QMetaObject BlockingKProcess::staticMetaObject’ is not a static member of ‘class BlockingKProcess’ blockingkprocess.moc:48: error: variable ‘const QMetaObject BlockingKProcess::staticMetaObject’ has initializer but incomplete type blockingkprocess.moc:50: error: ‘qt_meta_data_BlockingKProcess’ was not declared in this scope blockingkprocess.moc:53: error: prototype for ‘const QMetaObject* BlockingKProcess::metaObject() const’ does not match any in class ‘BlockingKProcess’ blockingkprocess.h:33: error: candidate is: virtual QMetaObject* BlockingKProcess::metaObject() const blockingkprocess.moc:58: error: no ‘void* BlockingKProcess::qt_metacast(const char*)’ member function declared in class ‘BlockingKProcess’ blockingkprocess.moc:66: error: ‘int BlockingKProcess::qt_metacall’ is not a static member of ‘class BlockingKProcess’ blockingkprocess.moc:66: error: incomplete type ‘QMetaObject’ used in nested name specifier blockingkprocess.moc:66: error: expected primary-expression before ‘int’ blockingkprocess.moc:66: error: expected primary-expression before ‘void’ blockingkprocess.moc:66: error: initializer expression list treated as compound expression blockingkprocess.moc:67: error: expected ‘,’ or ‘;’ before ‘{’ token make[2]: ** [blockingkprocess.lo] Erro 1 make[2]: Saindo do diretório `/home/psam/Documentos/kdevelop/lib/util' make[1]: ** [install-recursive] Erro 1 make[1]: Saindo do diretório `/home/psam/Documentos/kdevelop/lib' make: ** [install-recursive] Erro 1
I was able to compile correctly, i had some wrong envirnment variables.
But now i'm getting another error, when i start kdevelop i get the following message:
I believe that kdevelop is installed under /opt/kde3. But when i do that it doesn't work.Code:Unable to find plugins, KDevelop will not work properly. Please make sure that KDevelop is installed in your KDE directory; otherwise, you have to add KDevelop's installation path to the environment variable KDEDIRS and run kbuildsycoca. Restart KDevelop afterwards. Example for BASH users: export KDEDIRS=/path/to/kdevelop:$KDEDIRS && kbuildsycoca
I re-compiled and now it WORKS. Sorry for the trouble.
I'm glad you got it working![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks