Re: [Php-qt-users] 6th tutorial available
Status: Beta
Brought to you by:
tm243
From: Thomas M. <tm...@ip...> - 2006-01-15 21:48:08
|
=46erenc Veres wrote on Sonntag, 15. Januar 2006 14:18: > Hi everyone, > > I must do the following command line to start it compiling: > > /usr/local/php511/bin/phpize Right. > ./configure --enable-php_qt --prefix=3D/usr/local/php511/ > --with-qtlib=3D/usr/lib/qt4/lib --with-php_qt=3D/usr/lib/qt4/include > make clean > make Ok, I should update the README file. We figured that out a few weeks before. > (I hope that --with-php_qt=3D/usr/lib/qt4/include is what you wanted, > because that's the only combination which creates the INCLUDES variable > right. Hopefully QT4 and PHP5.1.x will became standard installation soon > so we don't need any path tricks. :-) ) Yeah! We can dream :-) > Compiling fails with the error attached below, but probably I checked > out some unfinished changes. =2E.. > g++ -I. -I/home/lion/install/php-5.1.1/ext/php_qt -DPHP_ATOM_INC > -I/home/lion/install/php-5.1.1/ext/php_qt/include > -I/home/lion/install/php-5.1.1/ext/php_qt/main > -I/home/lion/install/php-5.1.1/ext/php_qt -I/usr/include/php > -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend > -I/usr/lib/qt4/include/include -I/usr/lib/qt4/include/QtGui > -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include -DHAVE_CONFIG_H -c > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp -fPIC -DPIC -o qt/abstract_widgets/.libs/qabstractbutton.o > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp: In function =E2=80=98void zif_QAbstractButton_setAutoExclusive(int, = zval*, > zval*, int)=E2=80=99: > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp:40: error: =E2=80=98zend_update_property_bool=E2=80=99 was not declar= ed in this scope > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp: In function =E2=80=98void zif_QAbstractButton_setAutoRepeat(int, zva= l*, zval*, > int)=E2=80=99: > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp:41: error: =E2=80=98zend_update_property_bool=E2=80=99 was not declar= ed in this scope > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp: In function =E2=80=98void zif_QAbstractButton_setCheckable(int, zval= *, zval*, > int)=E2=80=99: > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp:42: error: =E2=80=98zend_update_property_bool=E2=80=99 was not declar= ed in this scope > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp: In function =E2=80=98void zif_QAbstractButton_setDown(int, zval*, zv= al*, > int)=E2=80=99: > /home/lion/install/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractbutt= on >.cpp:43: error: =E2=80=98zend_update_property_bool=E2=80=99 was not declar= ed in this scope > make: *** [qt/abstract_widgets/qabstractbutton.lo] Error 1 > zend_update_property_bool is implemented in Zend/zend_API.c and defined in= =20 Zend/zend_API.h. =46or you, it should be here: /usr/include/php/Zend/zend_API.h Is it? In december you have used this command: =2E/configure --prefix=3D/usr/local/php511/ =2D-with-php-config=3D/usr/local/php511/bin/php-config =2D-with-qtlib=3D/usr/lib/qt4 --with-php_qt=3D/usr/lib/qt4/include Meanwhile I removed the --prefix argument because it is usual to use php's = own=20 prefix specified at configuration and compilation of php. =2D-=20 Thomas |