Archived
This forum has been archived. Please start a new discussion on GitHub.
Error when trying to compile ice3.3.1 for php5.2- db_cxx.h: No such file or directory
I am getting this error when trying to compile ice3.3.1 for php5.2.10
what i did is
but i got this error..
i have
db 4.6 on my system..
My system:
php 5.2.10
centos 5
I am trying to compile ice 3.3.1 from source..db_cxx.h: No such file or directory
what i did is
cd cpp
make
but i got this error..
../Freeze/TransactionI.h:15:20: error: db_cxx.h: No such file or directory
../Freeze/ObjectStore.h:62: error: ISO C++ forbids declaration of 'Db' with no type
../Freeze/ObjectStore.h:62: error: expected ';' before '*' token
../Freeze/ObjectStore.h:74: error: 'Db' was not declared in this scope
../Freeze/ObjectStore.h:74: error: template argument 1 is invalid
../Freeze/ObjectStore.h:135: error: expected initializer before '*' token
../Freeze/Util.h:29: error: 'Dbt' has not been declared
i have
db 4.6 on my system..
[root@server cpp]# rpm -qa | grep db46
db46-4.6.21-3ice.rhel5
db46-java-4.6.21-3ice.rhel5
My system:
php 5.2.10
centos 5
0
Comments
-
nvm..
i solve my own problem
cd php
make
then get the icePHP.so0