1
Hello.
I'm trying to install XOOPS on my pc. The installation goes well, but I've got a blank page after the installation with the following error:
Fatal error: Call to undefined function session_set_save_handler() in /var/www/localhost/htdocs/xoops/include/common.php on line 184
So I've search on the forum of XOOPS for the solution and I've read that it might be come from the mod_php 4.3.x.
So I've emerged mod_php and I get the following error:
I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/Zend -I/usr/include/libxml2 -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/mbstring/mbregex -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/mbstring/libmbfl -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/xml/expat -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/TSRM -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -prefer-pic -c /var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/ctype/ctype.c -o ext/ctype/ctype.lo
In file included from /var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:30:
/usr/include/packer.h:28: error: parse error before "uint32_t"
/usr/include/packer.h:30: error: parse error before "pih_blocklen"
/usr/include/packer.h:31: error: parse error before "pih_pad"
/usr/include/packer.h:40: error: parse error before "uint32_t"
/usr/include/packer.h:50: error: conflicting types for 'data'
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/main/php.h:259: error: previous declaration of 'data' was here
/usr/include/packer.h:50: error: conflicting types for 'data'
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/main/php.h:259: error: previous declaration of 'data' was here
/usr/include/packer.h:51: error: parse error before '}' token
/usr/include/packer.h:56: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:32: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:33: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `_crack_open_dict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: (Each undeclared identifier is reported only once
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: for each function it appears in.)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: At top level:
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:99: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `_close_crack_dict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:101: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_closedict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:176: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:199: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_check':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:216: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:239: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: At top level:
/usr/include/packer.h:47: error: storage size of `header' isn't known
make: *** [ext/crack/crack.lo] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: dev-php/mod_php-4.3.10-r1 failed.
!!! Function php-sapi_src_compile, Line 544, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
I think this is normal, because I've emerge php 5.0.2 and modphp 5.02, why I've to install mod_php 4.3.x?
Does anyone have a solution for this problem?