Closed Thread
Results 1 to 10 of 10

Thread: kdevelop3

  1. #1
    psam is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    34
    Rep Power
    10

    kdevelop3

    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?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: kdevelop3

    You can use apt-get to install a specific version: apt-get
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    psam is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    34
    Rep Power
    10

    Re: kdevelop3

    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.

  5. #4
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: kdevelop3

    There should be an option to force it to install the obsolete package.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    psam is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    34
    Rep Power
    10

    Re: kdevelop3

    It doesn't find it that's why it says it must obsolete. =(

  7. #6
    psam is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    34
    Rep Power
    10

    Re: kdevelop3

    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.

  8. #7
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: kdevelop3

    Without knowing what the error messages are, no clue. Have you tried kdevelop4?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  9. #8
    psam is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    34
    Rep Power
    10

    Re: kdevelop3

    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

  10. #9
    psam is offline Learning Programmer
    Join Date
    Jun 2009
    Posts
    34
    Rep Power
    10

    Re: kdevelop3

    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:

    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 believe that kdevelop is installed under /opt/kde3. But when i do that it doesn't work.

    I re-compiled and now it WORKS. Sorry for the trouble .

  11. #10
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: kdevelop3

    I'm glad you got it working
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts