[php-maint] Recompiling PHP on squeeze without Suhosin patch -> fails

Sandro Tosi morph at debian.org
Mon Sep 17 13:40:11 UTC 2012


Hello guys,
I'm trying to recompile php on squeeze (both debian/5.3.3-7+squeeze7
(which we have installed currently) and debian/5.3.3-7+squeeze8)
without the Suhosin patch, but it fails with the below error. Do you
have any idea how to fix that?

libtool: compile:  x86_64-linux-gnu-gcc -IZend/
-I/tmp/buildd/php5-5.3.3/Zend/ -DPHP_ATOM_INC
-I/tmp/buildd/php5-5.3.3/apache2-build/include
-I/tmp/buildd/php5-5.3.3/apache2-build/main -I/tmp/buildd/php5-5.3.3
-I/tmp/buildd/php5-5.3.3/apache2-build/ext/date/lib
-I/tmp/buildd/php5-5.3.3/ext/date/lib
-I/tmp/buildd/php5-5.3.3/ext/ereg/regex -I/usr/include/libxml2
-I/usr/include/enchant -I/usr/include/freetype2
-I/usr/include/c-client -I/tmp/buildd/php5-5.3.3/ext/mbstring/libmbfl
-I/tmp/buildd/php5-5.3.3/apache2-build/ext/mbstring/libmbfl
-I/tmp/buildd/php5-5.3.3/ext/mbstring/libmbfl/mbfl
-I/tmp/buildd/php5-5.3.3/apache2-build/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/postgresql -I/usr/include/pspell
-I/usr/include/tidy -I/tmp/buildd/php5-5.3.3/apache2-build/TSRM
-I/tmp/buildd/php5-5.3.3/apache2-build/Zend
-I/tmp/buildd/php5-5.3.3/main -I/tmp/buildd/php5-5.3.3/Zend
-I/tmp/buildd/php5-5.3.3/TSRM -I/tmp/buildd/php5-5.3.3/apache2-build/
-I/usr/include -g -O2 -O2 -Wall -fsigned-char -fno-strict-aliasing
-gstabs -fvisibility=hidden -c
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c  -fPIC -DPIC -o
Zend/.libs/zend_stream.o
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c: In function 'zend_stream_unmap':
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:73: warning: implicit
declaration of function 'munmap'
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c: In function 'zend_stream_fixup':
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:239: warning: implicit
declaration of function 'mmap'
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:239: error: 'PROT_READ'
undeclared (first use in this function)
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:239: error: (Each undeclared
identifier is reported only once
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:239: error: for each
function it appears in.)
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:239: error: 'MAP_PRIVATE'
undeclared (first use in this function)
/tmp/buildd/php5-5.3.3/Zend/zend_stream.c:240: error: 'MAP_FAILED'
undeclared (first use in this function)
make[1]: *** [Zend/zend_stream.lo] Error 1
make[1]: Leaving directory `/tmp/buildd/php5-5.3.3/apache2-build'
make: *** [build-apache2-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package

Thanks & Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the pkg-php-maint mailing list