The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: atoyf on March 20, 2004, 05:17:46 PM

Title: PHP Install FAILS during Apache2 installation - See inside
Post by: atoyf on March 20, 2004, 05:17:46 PM
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 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
Title: PHP Install FAILS during Apache2 installation - See inside
Post by: happytommy on March 21, 2004, 08:00:27 AM
What options did you choose when you tried to install lang/php4?
Title: PHP Install FAILS during Apache2 installation - See inside
Post by: atoyf on March 21, 2004, 09:51:02 AM
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.
Title: PHP Install FAILS during Apache2 installation - See inside
Post by: alf68 on March 22, 2004, 04:58:12 AM
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
Title: PHP Install FAILS during Apache2 installation - See inside
Post by: atoyf on March 22, 2004, 10:44:53 AM
it was an easy fix, PHP was looking for OpenSSL, i had to install OpenSSL manually prior to PHP installation.
Title: PHP Install FAILS during Apache2 installation - See inside
Post by: pbrezny on September 26, 2004, 11:26:05 AM
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.