PHP Install FAILS during Apache2 installation - See inside

Started by atoyf, March 20, 2004, 05:17:46 PM

Previous topic - Next topic

atoyf

Even though it fails the installation continues and apache2 gets installed fine, but the fact remains, see below. Any thoughts?
That's what i get.
..........
Configuring extensions
checking for OpenSSL support... yes
checking for pkg-config... /usr/local/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
===>  Script "configure" failed unexpectedly.
Please report the problem to mailto:ale@FreeBSD.org" target="_blank">ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/php4/work/php-4.3.4/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.
SysCmd: make  -DWITH_APACHE2  install clean
SysCmd: result: 256
done.
InstallPort: php4                 FAILED
Kind regards, Anton

happytommy

What options did you choose when you tried to install lang/php4?

atoyf

happytommy

What options did you choose when you tried to install lang/php4?


the default ones and GD, OpenSSL, SNMP and mysql is one of the default options.
Kind regards, Anton

alf68

bourin mode on
{

cd /usr/ports/lang/php4 && make deinstall clean
rehash
toaster_setup -s apache2

it is what I did.... after toaster installed what it had need...
}bourin mode Off

atoyf

it was an easy fix, PHP was looking for OpenSSL, i had to install OpenSSL manually prior to PHP installation.
Kind regards, Anton

pbrezny

the bourin mode below didn't work for me, and a manual:
cd /usr/ports/lang/php4 && make install clean

didn't present me with any configuration options for for php, which I think is the problem.  php-error.log gives:
PHP Warning:  Unknown(): Unable to load dynamic library './pcre.so' - C
annot open &quot;./pcre.so&quot; in Unknown on line 0
also for:
xml.so
session.so
mhash.so
gettext.sh

etc...

?

This is on a freebsd 4.9 p11 system with ports updated yesterday.
Peter Brezny

purplecat.net