Subject: Re: Problem making PHP5 under NetBSD 2.1.0_STABLE
To: Gerardo Alvarez <>
From: matthew sporleder <>
List: netbsd-users
Date: 12/15/2005 08:39:21
Did you try pkgsrc/www/ap-php?

On 12/14/05, Gerardo Alvarez <> wrote:
> I have installed Apache 2 and MySQL using pkgsrc, rather easily.
> However PHP5 is being very hard, complaining about missing headers, etc.
> Looking the error up in the user groups I have ended up adding several li=
nes to
> lang/php5/Makefile.php.
> After that I got stuck with a new error after "checking for mysql_error i=
> -lmysqlclient... no".
> I have tried to solve it with these instructions (
> - PHP-5.0.0b1 an=
> on SuSE), adapted for /usr/pkg, like this:
> cd /usr/pkg/lib/mysql
> ln -s /usr/pkg/include/mysql include
> ln -s /usr/pkg/lib/mysql lib
> & checking that makefile.php has CONFIGURE_ARGS+=3D--with-mysql=3D/usr/pk=
> But make keeps stopping in the same spot.
> - I have tried make install, make clean, make distclean many times.
> - I even redownloaded and cvs-updated the whole pkgsrc just in case there=
> something wrong with it (that=B4s why the path is /KK/pkgsrc/... instead =
> /usr/pkgsrc/...).
> - I can=B4t use pkg_add because there is no package for NetBSD 2.1.0
> My little brain is rapidly approaching its last resources.
> Help would be welcome.
> Am I missing something?
> What am I doing wrong?
> Thanks