Subject: Re: PHP4.0.1 to be available as a package?
To: Zach Fine <zach@xdsl014.serv.net>
From: Giles Lean <giles@nemeton.com.au>
List: netbsd-help
Date: 07/04/2000 18:37:58
> I'm expecting that compiling and installing php4 with apache and mysql
> support may be a bit of a challenge/chore, and am curious whether
> anyone else has already done so or whether it will be available via
> the NetBSD package system soon?

Building PHP 4.0.1 on NetBSD-current/i386 and linking it against MySQL
and PostgreSQL was trivially easy; it just built as I recall.  I don't
know if extra contortions are required for linking with Apache; I
didn't do that.

My notes tell me that after running configure I had to add -lz to
libZend_la_LDFLAGS in Zend/Makefile and define HAVE_LIBZ in
php_config.h.  They're needed when you're linking with MySQL.

Someone might care to build a package; I haven't built one for years.

> Thanks for any help or information.

Building MySQL 3.23.20-beta was a pain; MySQL appears to have broken
the -with-mit-threads build.  (Details available on request; I sent
them off in a bug report to the MySQL folk, but they appeared to
misroute them to their support department and later worked out I don't
have a support contract and said they couldn't talk to me.  I was only
trying to help ...)

Regards,

Giles