PHP compilation error debian lenny (stable)

08:15AM Mai 26, 2009 in category PHP by Alexander Pirsig

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:
/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 2
I 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 -rfakeroot
That's it! :)

Kommentare[0] Tags: imap error recompile problem php5 lenny

Resetting Mysql Debian System Maintainer account

03:13PM Mai 24, 2009 in category Linux & Co by Alexander Pirsig

this articel will show you how to reset your debian system-maintainer password in mysql.[Read More]

Kommentare[0] Tags: debian debian.cnf password error ubuntu error-1045 mysql debian-sys-maint

Nicer .NET error pages

12:03PM Apr 09, 2009 in category Hello World by Alexander Pirsig

.Net error pages the nice way ... Gary shows a nice example how to get them ...

[Read More]

Kommentare[0] Tags: fault error admin page example .net