Results 1 to 3 of 3

Thread: Compiling PHP-Qt

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,140

    Default Compiling PHP-Qt

    I can't get PHP-Qt to compile, while running cmake it craps out on me saying it can't find PHP5
    Code:
    cmake ..
    -- Found Qt-Version 4.5.0
    CMake Error at cmake/modules/FindPHP5.cmake:139 (LIST):
      list index: 0 out of range (-0, 18446744073709551615)
    Call Stack (most recent call first):
      CMakeLists.txt:13 (include)
    
    
    -- /main
    CMake Error at CMakeLists.txt:16 (MESSAGE):
      PHP5 could not be found!
    
    
    -- Configuring incomplete, errors occurred!
    PHP5 is however installed and I tried editting the cmake/modules/FindPHP5.cmake file by adding
    Code:
      /usr/share/php5
      /usr/bin/php5
    to SET(PHP5_POSSIBLE_INCLUDE_PATHS)
    Didn't help me one bit, still the same error.
    Special effects <- KDE 4.2 Showing off
    More KDE -> PINK KDE

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Compiling PHP-Qt

    When you just need to run 'foo' you install the package 'foo' and perhaps 'foo-libs'. But when you want to compile something against 'foo', you need at least the package 'foo-devel' and perhaps others.

  3. #3
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,140

    Default Re: Compiling PHP-Qt

    Thanks that did work, did install every -dev besides that one it seems.

    Don't seem to be getting much further though, running make gets a lot of "undefined"'s and
    Code:
    problem with QwtPlotMagnifier missing parent at /home/Pascal/phpqt/phpqt/kalyptus/kalyptusCxxToSmoke.pm line 1954.
    make[2]: *** [smoke/qt/smokedata.cpp] Error 25
    make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
    make: *** [all] Error 2
    full version
    Special effects <- KDE 4.2 Showing off
    More KDE -> PINK KDE

Posting Permissions

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