OpenBSD 3.1 + Apache 2.0.39 + PHP 4.2.1 -> configure problem

From: Date: Mon, 22 Jul 2002 10:50:57 +0000
Subject: OpenBSD 3.1 + Apache 2.0.39 + PHP 4.2.1 -> configure problem
Groups: php.install 
Request: Send a blank email to php-install+get-7852@lists.php.net to get a copy of this message
Hi, I'm trying to install php 4.2.1 on OpenBSD 3.1 with apache 2.0.39. I've installed a chrooted Apache, with no problem at all. I've also installed a non-chrooted MySQL 3.23.51. OpenBSD 3.1 has a quite standard installation (no additional packages over a base/non-x installation). I've configured apache with the following line: ./configure --prefix=/usr/local/jails/apache --enable-so \ --enable-ssl --enable-mods-shared=all MySQL has been configured with the following line: ./configure --prefix=/usr/local/mysql --localstatedir=/home/mysql \ --enable-thread-safe-client --with-mysqld-username=mysql Both of them work with no problem at all. Now I'm trying to compile PHP as a DSO. I get two different kind of errors: 1)configuring with: ./configure --enable-bcmath --enable-ftp --enable-calendar \ --enable-versioning --enable-sysvshm \ --enable-sysvsem --enable-sockets \ --enable-inline-optimization --enable-shared=most \ --enable-trackvars --with-zlib --with-openssl \ --with-ldap --with-bz2=/bin/ --with-imap \ --with-imap-ssl --with-kerberos --with-gettext \ --with-mysql=/usr/local/mysql \ --with-apxs2=/usr/local/jails/apache/bin/apxs I'm stopped here: checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no and config.log says: ld: -lgssapi_krb5: no match so I've searched on mailing lists and found that... 2)adding export LDFLAGS="-L/usr/lib -lkrb5 -lgssapi" and configuring again the problem should be fixed. With the same ./configure line as above, I now get the following error: checking for Apache 2.0 module support via DSO through APXS... configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads. I've tried with export LDFLAGS="-L/usr/lib -lkrb5 -lgssapi -pthreads" with no success. In this case, config.log seems to be truncated, last line: configure:4082: checking for Apache 2.0 module support via DSO through APXS with no error message. In case 1) the test for Apache 2.0 module support via DSO said: checking for Apache 2.0 module support via DSO through APXS... yes So... ...I'm asking for help! Thank you in advance. Michele Albrigo

« previous php.install (#7852) next »