Re: no way nr. 5
| From: | Andrei Zmievski | Date: | Wed, 21 Nov 2001 17:12:46 +0000 |
| Subject: | Re: no way nr. 5 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-659@lists.php.net to get a copy of this message | ||
On Wed, 21 Nov 2001, Bruno Depero wrote:
> Here are:
>
> <br>
> <b>Warning</b>: stat failed for /temp/php-gtk/ext/gtk+/gdk.defs.cache
> (errno=2 - No such file or directory) in
> <b>/temp/php-gtk/generator/scheme.php</b> on line <b>100</b><br>
> <br>
> <b>Warning</b>: stat failed for ext/gtk+/gtk.defs.cache (errno=2 - No
> such
> file or directory) in <b>/temp/php-gtk/generator/scheme.php</b> on line
> <b>100</b><br>
Ignore these. I've suppressed them in the script now.
> gcc -I. -I/temp/php-gtk-0.1.1/main -I/temp/php-gtk-0.1.1/main
> -I/temp/php-gtk-0.1.1 -I/usr/include/php -I/usr/include/php/main
> -I/usr/include/php/Zend -I/usr/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/usr/include/gnome-xml -I/temp/php-gtk-0.1.1/main -DHAVE_CONFIG_H -g
> -O2 -c php_gtk.c -fPIC -DPIC -o php_gtk.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 `/temp/php-gtk-0.1.1/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/temp/php-gtk-0.1.1/main'
> make: *** [all-recursive] Error 1
Which version of PHP do you have header files installed for?
> I'm downloading gtk+ 1.2.9, maybe something wrong in the 1.2.6 supplied
> with mandrake 8.1 ? e.g. Some header ?
Nope, nothing to do with Gtk+ version.
-Andrei
"Everything should be made as simple
as possible, but not simpler."
-- Albert Einstein