Re: [Php-qt-users] php-qt 0.1 install probs
Status: Beta
Brought to you by:
tm243
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 |