Hi Matt,
Thanks for your reply.
I have slice2cpp in my /usr/bin now.
When i run "make", it give me the following error:
Code:
[root@b php]# make
../config/Make.common.rules:112: Found slice2cpp in both ICE_HOME/bin and ./../cpp/bin, ICE_HOME/bin/slice2cpp will be used!
making all in src
make[1]: Entering directory `/root/Ice-3.3.1/php/src'
../../config/Make.common.rules:112: Found slice2cpp in both ICE_HOME/bin and ../../cpp/bin, ICE_HOME/bin/slice2cpp will be used!
making all in IcePHP
make[2]: Entering directory `/root/Ice-3.3.1/php/src/IcePHP'
../../../config/Make.common.rules:112: Found slice2cpp in both ICE_HOME/bin and ../../../cpp/bin, ICE_HOME/bin/slice2cpp will be used!
c++ -c -I. -I/usr/include -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g Communicator.cpp
In file included from ./Communicator.h:13,
from Communicator.cpp:11:
./Config.h:40:17: error: php.h: No such file or directory
./Config.h:41:21: error: php_ini.h: No such file or directory
./Config.h:42:31: error: ext/standard/info.h: No such file or directory
./Config.h:43:29: error: zend_interfaces.h: No such file or directory
./Config.h:44:29: error: zend_exceptions.h: No such file or directory
./Config.h:50: error: 'zend_module_entry' does not name a type
./Config.h:63: error: expected constructor, destructor, or type conversion before '(' token
./Config.h:64: error: expected constructor, destructor, or type conversion before '(' token
./Config.h:65: error: expected constructor, destructor, or type conversion before '(' token
./Config.h:66: error: expected constructor, destructor, or type conversion before '(' token
./Config.h:67: error: expected constructor, destructor, or type conversion before '(' token
./Config.h:69: error: expected constructor, destructor, or type conversion before '(' token
./Config.h:75: error: expected constructor, destructor, or type conversion before '(' token
./Communicator.h:51: error: expected constructor, destructor, or type conversion before '(' token
./Communicator.h:52: error: expected constructor, destructor, or type conversion before '(' token
./Communicator.h:62: error: 'TSRMLS_D' was not declared in this scope
./Communicator.h:64: error: 'TSRMLS_D' was not declared in this scope
./Communicator.h:65: error: 'TSRMLS_D' was not declared in this scope
./Communicator.h:66: error: expected constructor, destructor, or type conversion before '*' token
./Proxy.h:20: error: expected constructor, destructor, or type conversion before '(' token
./Proxy.h:21: error: expected constructor, destructor, or type conversion before '(' token.
.
.
./Proxy.h:153: error: 'TSRMLS_D' was not declared in this scope
./Proxy.h:155: error: 'zval' was not declared in this scope
./Proxy.h:155: error: expected primary-expression before ',' token
./Proxy.h:155: error: expected primary-expression before 'const'
./Proxy.h:155: error: initializer expression list treated as compound expression
./Proxy.h:156: error: redefinition of 'bool IcePHP::createProxy'
./Proxy.h:155: error: 'bool IcePHP::createProxy' previously defined here
./Proxy.h:156: error: 'zval' was not declared in this scope
./Proxy.h:156: error: expected primary-expression before ',' token
./Proxy.h:156: error: expected primary-expression before 'const'
./Proxy.h:156: error: expected primary-expression before 'const'
I know i have php on my server:
Code:
[root@b php]# php -v
PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies