PHP and PHP Documentation plugins for KDevelop beta2 – Kubuntu Jaunty and Karmic

PHP and PHP Documentation plugins for KDevelop beta2 .deb packages for Kubuntu Jaunty 9.04 and Kubuntu Karmic 9.10 are available on my backports PPA.
To install them:

Be Sociable, Share!

12 comments to PHP and PHP Documentation plugins for KDevelop beta2 – Kubuntu Jaunty and Karmic

  • gp

    I tried to install kdevelop-php from your repository but when I start kdevelop it crashes

    • It’s not really easy to guess what is the problem without any clue…
      Can you please tell me:

      Ubuntu (or Kubuntu) relase (Jaunty or Karmic): lsb_release -a
      Kde libs version: dpkg -l kdelibs5
      Kdevplatform version: dpkg -l kdevplatform1-libs
      Kdevelop version: dpkg -l kdevelop
      Kdevelop PHP version: dpkg -l kdevelop-php

  • It seems like the package in the repository is a bit outdated, especially with the progress being mentioned here: http://milianw.de/blog/progress-in-php-support-for-kdevelop

    I’ve installed the plugin from the repository, and while it works well, would it be possible for you to update the package to the most recent nightly of the plugin? :)

  • I tried to build last svn snapshot, but build is failing with this error:


    /build/buildd/kdevelop-php-0beta3~20100124+svn1079373/phplanguagesupport.cpp: In member function 'void Php::LanguageSupport::slotPluginLoaded(KDevelop::IPlugin*)':
    /build/buildd/kdevelop-php-0beta3~20100124+svn1079373/phplanguagesupport.cpp:109: error: no matching function for call to 'KDevelop::DUChain::updateContextForUrl(const KDevelop::IndexedString&, KDevelop::TopDUContext::Features, Php::LanguageSupport* const, int)'
    /usr/include/kdevplatform/language/duchain/duchain.h:81: note: candidates are: void KDevelop::DUChain::updateContextForUrl(const KDevelop::IndexedString&, KDevelop::TopDUContext::Features, QObject*) const

    I’ll do some more tests…

  • I was able to build it, but I had to build together kdevelop and kdevplatform from svn
    Anyway I don’t want to release them on my “main” ppa (and anyway it is down for maintenance right now), if you want to try them, you can download them from here
    I suggest not to add this ppa to your software sources, because I use to build test package there and it might break some package on your system… Just download the right .deb files for your architecture:

    libsublime1 (from kdevplatform)
    kdevplatform1-libs (from kdevplatform)
    kdevelop (from kdevelop)
    kdevelop-data (from kdevelop)
    kdevplatform-dbg (from kdevelop – not required, debugging symbols)
    kdevelop-php (from kdevelop-php)
    kdevelop-php-docs (from kdevelop-php-docs)

    Remove the old kdevelop-phpdocs package before installing the new one (sudo apt-get purge kdevelop-phpdocs) then install them using sudo dpkg -i libsublime1*.deb kdev*.deb

  • Thanks for taking the time to update the build together with the rest of kdevelop. Unfortunately kdevelop now won’t start at all:

    (24040)/ KDevelop::allocateRepository: Missing session environment variable KDEV_SESSION!
    WARNING: deleting stale lockfile /home/zegenie/.kdevduchain/0/lock
    (24040)/ KDevelop::allocateRepository: picked duchain directory "/home/zegenie/.kdevduchain/0"
    (24040)/ KDevelop::ItemRepositoryRegistry::open: version-hint not found, seems to be an old version
    (24040)/ KDevelop::ItemRepositoryRegistry::open: current count of crashes:  1
    (24040)/ KDevelop::ItemRepositoryRegistry::open: "The data-repository at /home/zegenie/.kdevduchain/0 has to be cleared."
    (24040)/ KDevelop::allocateRepository: Missing session environment variable KDEV_SESSION!
    (24040)/ KDevelop::allocateRepository: picked duchain directory "/home/zegenie/.kdevduchain/0"
    QFSFileEngine::map: Mapping a file beyond its size is not portable
    QFSFileEngine::map: Mapping a file beyond its size is not portable
    QFSFileEngine::map: Mapping a file beyond its size is not portable
    QFSFileEngine::map: Mapping a file beyond its size is not portable
    kdevelop(24040)/kdevplatform (shell) KDevelop::SessionPrivate::initialize: got dir: "/home/zegenie/.kde/share/apps/kdevelop/sessions//{dda39186-350d-4789-bf7d-f4888ed9adf1}"
    

    Don’t know if you have the time to look into that, or give me any ideas as to why it fails, but that’s my status atm. Thanks for giving it a go :)

    • I get the same error, but I get it also uninstalling kdevelop-php and php-docs
      Which kde version are you using? That was built upon kde 4.3 and I’m using kde 4.4 RC2 so that might be a problem…
      I’ll do some more tests in the next days…

  • Karmic, with KDE 4.4 RC2 here, too.

  • Have you had any luck in building kdevelop / kdevelop-php since last time?

  • Yes, I had luck in building, no it doesn’t work yet :(
    I tried to build it using kde 4.4 but I still get the same error…

  • I use your ppa for the kdevelop-php and kdevelop-phpdocs and they work great. I’d like to get the executescript, executebrowser and xdebug plugins as well. Then it’s really simple to get XDebug working to debug your scripts (http://nikosams.blogspot.com/2010/02/kdevelop-xdebug-php-debugger.html).

    How hard is it to make a .deb? Is it possible for you to add those three packages as well?

    • I’m building beta8 packages at the moment…
      executescript, executebrowser and xdebug betas were released together with beta8, so I’ll try to build them as soon as I get kdevelop working ;)

      Stay tuned! :D