PHP compilation error debian lenny (stable)
Today I tried to recompile GD2-Lib on Debian Lenny (stable) to get the shared support working again. But during package build I had the following problem:
Open your rules-set file in /usr/src/php5-5.2.6.dfsg.1/debian/rules
After that rebuild package with:
/usr/src/php5-5.2.6.dfsg.1/ext/imap/php_imap.c:4557: warning: pointer targets in assignment differ in signedness /usr/src/php5-5.2.6.dfsg.1/ext/imap/php_imap.c:4557: warning: pointer targets in g argument 1 of ‘strlen’ differ in signedness make[1]: *** [ext/imap/php_imap.lo] B??d 1 make[1]: Opuszczenie katalogu `/usr/src/php5-5.2.6/apache2-build' make: *** [build-apache2-stamp] B??d 2 dpkg-buildpackage: niepowodzenie: debian/rules build zwróci? status b??du 2I think there is something wrong with the php-imap and it's dependencies to a external lib. Since I don't need it for my server I removed the compile flags from debian rules.
Open your rules-set file in /usr/src/php5-5.2.6.dfsg.1/debian/rules
--with-imap=shared,/usr --with-imap-ssl
After that rebuild package with:
dpkg-buildpackage -rfakerootThat's it! :)
Permalink Kommentare[0] Tags: imap error recompile problem php5 lenny








