PHP-GTK installation problem
| From: | Abhiram Singh Rajawat | Date: | Wed, 31 Oct 2001 12:37:10 +0000 |
| Subject: | PHP-GTK installation problem | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-501@lists.php.net to get a copy of this message | ||
Hi all,
I've just installed php-4.2.0-dev. php is running well on browser.Now i'm installing
php-gtk-0.1.1 but an error occurs when i compile php-gtk-0.1.1, plz help me.
the error is the following:
[root@p75 php-gtk-0.1.1]# make
Making all in ext
make[1]: Entering directory `/root/php-gtk-0.1.1/ext'
Making all in gtk+
make[2]: Entering directory `/root/php-gtk-0.1.1/ext/gtk+'
make[3]: Entering directory `/root/php-gtk-0.1.1/ext/gtk+'
/bin/sh /root/php-gtk-0.1.1/libtool --mode=compile gcc -I. -I/root/php-gtk-0.1.
1/ext/gtk+ -I/root/php-gtk-0.1.1/main -I/root/php-gtk-0.1.1 -I/usr/local/include
/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/in
clude/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/in
clude -I/usr/X11R6/include -I/usr/include/gnome-xml -I/root/php-gtk-0.1.1/main
-DHAVE_CONFIG_H -g -O2 -c php_gtk+.c
..................................................
....................................................
gcc -I. -I/root/php-gtk-0.1.1/main -I/root/php-gtk-0.1.1/main -I/root/php-gtk-0.
1.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/
php/Zend -I/usr/local/include/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/gli
b-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/r
oot/php-gtk-0.1.1/main -DHAVE_CONFIG_H -g -O2 -c php_gtk.c -fPIC -DPIC -o php_g
tk.lo
php_gtk.c:32: warning: initialization makes integer from pointer without a cast
php_gtk.c:32: initializer element is not computable at load time
php_gtk.c:32: (near initialization for `gtk_module_entry.size')
php_gtk.c:33: warning: initialization makes integer from pointer without a cast
php_gtk.c:34: warning: initialization makes integer from pointer without a cast
php_gtk.c:34: initializer element is not computable at load time
php_gtk.c:34: (near initialization for `gtk_module_entry.zend_debug')
php_gtk.c:35: warning: initialization makes integer from pointer without a cast
php_gtk.c:35: initializer element is not computable at load time
php_gtk.c:35: (near initialization for `gtk_module_entry.zts')
php_gtk.c:36: warning: initialization from incompatible pointer type
php_gtk.c:37: warning: initialization from incompatible pointer type
php_gtk.c:38: warning: initialization from incompatible pointer type
make[2]: *** [php_gtk.lo] Error 1
make[2]: Leaving directory `/root/php-gtk-0.1.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-gtk-0.1.1/main'
make: *** [all-recursive] Error 1
Thanks with regards,
Abhiram