Thread: [Php-qt-users] php-qt 0.1 install probs
Status: Beta
Brought to you by:
tm243
From: James E. <jam...@gm...> - 2007-07-20 05:27:51
|
Hi I've tried installing the recently release version and am coming up against the same probs as before: here is my installation method (Kubuntu) tar -xzvf php-qt-0.1.tar.gz cd php_qt mkdir build cd build (If I don't do this cmake .. fails) cmake -DQT_INCLUDE_DIR=/usr/share/qt4/include -DQT_QMAKE_EXECUTABLE=/usr/share/qt4/bin/qmake .. make sudo make install which produces this output: $ sudo make install [ 73%] Built target smokeqt [100%] Built target php_qt Linking CXX shared library CMakeFiles/CMakeRelink.dir/libsmokeqt.so Linking CXX shared library CMakeFiles/CMakeRelink.dir/php_qt.so Install the project... -- Install configuration: "" -- Install configuration: "" -- Installing /usr/local/include/smoke.h -- Install configuration: "" -- Installing /usr/local/lib/libsmokeqt.so.2.0.0 -- Install configuration: "" -- Installing /usr/lib/php5/20060613+lfs/php_qt.so I've copied the tests from the site: test 1 runs ok, all other tests either seg fault: $ php t3.php Segmentation fault (core dumped) or produce this PHP error: $ php t2b.php Fatal error: Undefined class constant 'Bold' in /foo/php_qt_tests/t2b.php on line 20 here is the install manifest /usr/local/include/smoke.h /usr/local/lib/libsmokeqt.so /usr/local/lib/libsmokeqt.so.2 /usr/local/lib/libsmokeqt.so.2.0.0 /usr/lib/php5/20060613+lfs/php_qt.so I had to symlink /usr/lib/libsmokeqt.so.2 to /usr/local/lib/libsmokeqt.so.2 Can anyone help? Thanks James |
From: James E. <jam...@gm...> - 2007-07-20 06:43:45
|
Hi Chris Yes, i386. All libqt4 packages installed from ubuntu repos. The only ones not installed are the "xxx-kdecopy" ones and libqt4-debug Thanks James On 7/20/07, Chris Seufert <se...@gm...> wrote: > > Are you running i386? there seems to be strangeness with AMD64 on Debian > Sid. > > and did you install all the kubuntu libqt4 packages? > > On 7/20/07, James Ellis <jam...@gm...> wrote: > > Hi > > > > I've tried installing the recently release version and am coming up > against > > the same probs as before: > > > > here is my installation method (Kubuntu) > > > > tar -xzvf php-qt-0.1.tar.gz > > cd php_qt > > mkdir build > > cd build (If I don't do this cmake .. fails) > > cmake -DQT_INCLUDE_DIR=/usr/share/qt4/include > > -DQT_QMAKE_EXECUTABLE=/usr/share/qt4/bin/qmake .. > > make > > sudo make install > > > > which produces this output: > > $ sudo make install > > > > [ 73%] Built target smokeqt > > [100%] Built target php_qt > > Linking CXX shared library > > CMakeFiles/CMakeRelink.dir/libsmokeqt.so > > Linking CXX shared library > > CMakeFiles/CMakeRelink.dir/php_qt.so > > Install the project... > > -- Install configuration: "" > > -- Install configuration: "" > > -- Installing /usr/local/include/smoke.h > > -- Install configuration: "" > > -- Installing /usr/local/lib/libsmokeqt.so.2.0.0 > > -- Install configuration: "" > > -- Installing /usr/lib/php5/20060613+lfs/php_qt.so > > > > > > > > I've copied the tests from the site: > > test 1 runs ok, all other tests either seg fault: > > $ php t3.php > > Segmentation fault (core dumped) > > > > or produce this PHP error: > > $ php t2b.php > > > > Fatal error: Undefined class constant 'Bold' in > /foo/php_qt_tests/t2b.php on > > line 20 > > > > > > here is the install manifest > > /usr/local/include/smoke.h > > /usr/local/lib/libsmokeqt.so > > /usr/local/lib/libsmokeqt.so.2 > > /usr/local/lib/libsmokeqt.so.2.0.0 > > /usr/lib/php5/20060613+lfs/php_qt.so > > > > I had to symlink /usr/lib/libsmokeqt.so.2 to > /usr/local/lib/libsmokeqt.so.2 > > > > Can anyone help? > > Thanks > > James > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Php-qt-users mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/php-qt-users > > > > > |
From: Thomas M. <tm...@ph...> - 2007-07-20 08:34:36
|
Hi James, as far as i can remember i solved it with setting LD_LIBRARY_PATH=/usr/local/lib _before_ running cmake and compiling. Make sure re-compiling is clean, just remove everthing in the build directory and please tell me the results. On Friday 20 July 2007 07:27:49 James Ellis wrote: > Hi > > I've tried installing the recently release version and am coming up against > the same probs as before: > > here is my installation method (Kubuntu) > > tar -xzvf php-qt-0.1.tar.gz > cd php_qt > mkdir build > cd build (If I don't do this cmake .. fails) > cmake -DQT_INCLUDE_DIR=/usr/share/qt4/include > -DQT_QMAKE_EXECUTABLE=/usr/share/qt4/bin/qmake .. > make > sudo make install > > which produces this output: > $ sudo make install > > [ 73%] Built target smokeqt > [100%] Built target php_qt > Linking CXX shared library CMakeFiles/CMakeRelink.dir/libsmokeqt.so > Linking CXX shared library CMakeFiles/CMakeRelink.dir/php_qt.so > Install the project... > -- Install configuration: "" > -- Install configuration: "" > -- Installing /usr/local/include/smoke.h > -- Install configuration: "" > -- Installing /usr/local/lib/libsmokeqt.so.2.0.0 > -- Install configuration: "" > -- Installing /usr/lib/php5/20060613+lfs/php_qt.so > > > > I've copied the tests from the site: > test 1 runs ok, all other tests either seg fault: > $ php t3.php > Segmentation fault (core dumped) > > or produce this PHP error: > $ php t2b.php > > Fatal error: Undefined class constant 'Bold' in /foo/php_qt_tests/t2b.php > on line 20 > > > here is the install manifest > /usr/local/include/smoke.h > /usr/local/lib/libsmokeqt.so > /usr/local/lib/libsmokeqt.so.2 > /usr/local/lib/libsmokeqt.so.2.0.0 > /usr/lib/php5/20060613+lfs/php_qt.so > > I had to symlink /usr/lib/libsmokeqt.so.2 to /usr/local/lib/libsmokeqt.so.2 > > Can anyone help? > Thanks > James -- Thomas |
From: Thomas M. <tm...@ph...> - 2007-07-20 08:37:06
|
On Friday 20 July 2007 10:34:33 Thomas Moenicke wrote: > Hi James, > as far as i can remember i solved it with setting > LD_LIBRARY_PATH=/usr/local/lib _before_ running cmake and compiling. Make > sure re-compiling is clean, just remove everthing in the build directory > and please tell me the results. Or configure ld.so.conf as mentioned by Mark Constable. -- Thomas |