Re: frustrating compile problems :-(

From: Date: Tue, 16 Apr 2002 11:47:02 +0000
Subject: Re: frustrating compile problems :-(
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1794@lists.php.net to get a copy of this message
It does not work with 4.0.6. Grab the latest (4.1.2) and you will be fine. Make sure to install libglade-devel (if it exists) so you don't miss any headers. - Markus On Tue, Apr 16, 2002 at 12:39:47PM +0200, Holger Banko wrote : > Hi, > > after 4 hours trying to compile php-gtk without any success I hope anybody > here could help me. > > My system is SuSE 7.3 and I installed > > mod_php4-core-4.0.6-68 > mod_php4-4.0.6-68 > > I also installed the Source-RPM and the source tree is under > /usr/src/packages/SOURCES/php-4.0.6 . > > On gtk side I installed > > gtk-1.2.10-101 > gtk-devel-1.2.10-101 > libglade-0.16-195 > > and some other gtk-dependend packages. > > My first problem was, to use buildconf. It wasn't possible for buildconf to > find a pear.m4, aclocal.m4 and a dynlib.m4. > > I found this files in the Source-Tree from PHP and copied them to > /usr/share/php/build. > > After this it created a configure but told me to start aclocal to update ?! I > started it and it told me that it has updated my configure script. > > Then i made a ./configure and the next problem is, that the configure don`t > finds my libglade. I don`t know why, it's installed under /opt/gnome/libs and > I tried to help it with some links to /lib but the only way is to disable > glade. After a ./configure --disable-libglade the compiler stops with an > error: > > make[1]: Entering directory `/incoming/php-gtk-0.1.1/ext' > Making all in gtk+ > make[2]: Entering directory `/incoming/php-gtk-0.1.1/ext/gtk+' > make[3]: Entering directory `/incoming/php-gtk-0.1.1/ext/gtk+' > /bin/sh /incoming/php-gtk-0.1.1/libtool --mode=compile gcc -I. > -I/incoming/php-gtk-0.1.1/ext/gtk+ -I/incoming/php-gtk-0.1.1/main > -I/incoming/php-gtk-0.1.1 -I/usr/share/include/php > -I/usr/share/include/php/main -I/usr/share/include/php/Zend > -I/usr/share/include/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -I/incoming/php-gtk-0.1.1/main > -DHAVE_CONFIG_H -g -O2 -c php_gtk+.c > gcc -I. -I/incoming/php-gtk-0.1.1/ext/gtk+ -I/incoming/php-gtk-0.1.1/main > -I/incoming/php-gtk-0.1.1 -I/usr/share/include/php > -I/usr/share/include/php/main -I/usr/share/include/php/Zend > -I/usr/share/include/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -I/incoming/php-gtk-0.1.1/main > -DHAVE_CONFIG_H -g -O2 -c php_gtk+.c -fPIC -DPIC -o php_gtk+.lo > In file included from /incoming/php-gtk-0.1.1/main/php_gtk.h:26, > from php_gtk+.c:23: > /incoming/php-gtk-0.1.1/main/php_gtk_module.h:26: php.h: No such file or > directory > /incoming/php-gtk-0.1.1/main/php_gtk_module.h:27: php_ini.h: No such file or > directory > In file included from /incoming/php-gtk-0.1.1/main/php_gtk.h:26, > from php_gtk+.c:23: > /incoming/php-gtk-0.1.1/main/php_gtk_module.h:34: ext/standard/info.h: No such > file or directory > /incoming/php-gtk-0.1.1/main/php_gtk_module.h:35: ext/standard/php_array.h: No > such file or directory > php_gtk+.c:24: SAPI.h: No such file or directory > make[3]: *** [php_gtk+.lo] Error 1 > make[3]: Leaving directory `/incoming/php-gtk-0.1.1/ext/gtk+' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/incoming/php-gtk-0.1.1/ext/gtk+' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/incoming/php-gtk-0.1.1/ext' > make: *** [all-recursive] Error 1 > pc-0001:/incoming/php-gtk-0.1.1 # > > The same error occurs with php-gtk.0.5 . > > Maybe its a problem with missing php header files. Is there a easy way to move > the php header files to the right system path (/usr/include) ? > > Help :-) > > Holger > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"

« previous php.gtk.general (#1794) next »