installation error on rh7.2
| From: | Lewi | Date: | Sat, 23 Mar 2002 05:28:55 +0000 |
| Subject: | installation error on rh7.2 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1620@lists.php.net to get a copy of this message | ||
I have trouble installing php-gtk-0.5.0 on my rh7.2 system,
the errors look like this
gcc -I. -I/home/ichtus/php-gtk-0.5.0/ext/gtk+ -I/home/ichtus/php-gtk-0.5.0/main
-I/home/ichtus/php-gtk-0.5.0 -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/home/ichtus/php-gtk-0.5.0/main -DHAVE_CONFIG_H -g
-O2 -c php_gtk+.c -fPIC -DPIC -o php_gtk+.lo
In file included from php_gtk+.c:23:
/home/ichtus/php-gtk-0.5.0/main/php_gtk.h:80: parse error before `TSRMLS_DC'
In file included from /home/ichtus/php-gtk-0.5.0/main/php_gtk.h:90,
from php_gtk+.c:23:
/home/ichtus/php-gtk-0.5.0/ext/gtk+/php_gtk+.h:118: parse error before `TSRMLS_DC'
/home/ichtus/php-gtk-0.5.0/ext/gtk+/php_gtk+.h:119: parse error before `TSRMLS_DC'
php_gtk+.c:33: parse error before `TSRMLS_DC'
php_gtk+.c:143: parse error before `TSRMLS_DC'
php_gtk+.c: In function `release_gtk_object_rsrc':
php_gtk+.c:145: `rsrc' undeclared (first use in this function)
php_gtk+.c:145: (Each undeclared identifier is reported only once
php_gtk+.c:145: for each function it appears in.)
php_gtk+.c: At top level:
php_gtk+.c:149: parse error before `TSRMLS_DC'
php_gtk+.c: In function `php_gtk_xinit_gtk_plus':
php_gtk+.c:151: `module_number' undeclared (first use in this function)
php_gtk+.c:154: parse error before `TSRMLS_CC'
php_gtk+.c:155: parse error before `TSRMLS_CC'
php_gtk+.c:156: parse error before `TSRMLS_CC'
make[3]: *** [php_gtk+.lo] Error 1
make[3]: Leaving directory `/home/ichtus/php-gtk-0.5.0/ext/gtk+'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ichtus/php-gtk-0.5.0/ext/gtk+'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ichtus/php-gtk-0.5.0/ext'
make: *** [all-recursive] Error 1
and my config.log last 25 lines look like this
configure:6946: checking how to hardcode library paths into programs
configure:6974: checking whether stripping libraries is possible
configure:6988: checking dynamic linker characteristics
configure:7374: checking if libtool supports shared libraries
configure:7867: checking whether -lc should be explicitly linked in
configure:7874: gcc -c -g -O2 conftest.c 1>&5
configure:7887: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep
-lc >/dev/null 2>&1
configure:8548: checking for working mkdir -p
[root@lewi php-gtk-0.5.0]# tail config.log -n 25
configure:5409: checking for dlfcn.h
configure:5419: gcc -E conftest.c >/dev/null 2>conftest.out
configure:5587: checking for ranlib
configure:5654: checking for strip
configure:5890: checking for objdir
configure:5917: checking for gcc option to produce PIC
configure:6069: checking if gcc PIC flag -fPIC works
configure:6083: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
configure:6135: checking if gcc static flag -static works
configure:6150: gcc -o conftest -g -O2 -static conftest.c 1>&5
configure:6177: checking if gcc supports -c -o file.o
configure:6196: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
configure:6225: checking if gcc supports -c -o file.lo
configure:6241: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
configure:6290: checking if gcc supports -fno-rtti -fno-exceptions
configure:6303: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
configure:6330: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:6946: checking how to hardcode library paths into programs
configure:6974: checking whether stripping libraries is possible
configure:6988: checking dynamic linker characteristics
configure:7374: checking if libtool supports shared libraries
configure:7867: checking whether -lc should be explicitly linked in
configure:7874: gcc -c -g -O2 conftest.c 1>&5
configure:7887: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep
-lc >/dev/null 2>&1
configure:8548: checking for working mkdir -p
so what's wrong about installation?
--
ichtus
------
Lewi Supranata .K
ICQ: 50643061