problem during toaster_setup.pl -s apache

Started by DrJazz, April 22, 2004, 03:08:09 PM

Previous topic - Next topic

DrJazz

My installation stops here:

xmail1# toaster_setup.pl -s apache

InstallPackage: p5-libwww            installed as (p5-libwww-5.69).
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/apache2.tgz..." target="_blank">ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/apache2.tgz... Done.
pkg_add: package bsdpan-MATT-Bundle-1.26 has no origin recorded
pkg_add: package bsdpan-Mail-Toaster-3.39 has no origin recorded
pkg_add: package bsdpan-MATT-Bundle-1.26 has no origin recorded
pkg_add: package bsdpan-Mail-Toaster-3.39 has no origin recorded
pkg_add: command '[ ! -d /usr/local/www/data ] && ln -fs /usr/local/www/data-dist /usr/local/www/data' failed
pkg_add: package bsdpan-MATT-Bundle-1.26 has no origin recorded
pkg_add: package bsdpan-Mail-Toaster-3.39 has no origin recorded
pkg_add: warning: package 'apache-2.0.47' requires 'expat-1.95.6_1', but 'expat-1.95.7' is installed
CheckPortsAge: Ports file is current (enough).
InstallPort: cronolog             installed as (cronolog-1.6.2).
InstallPackage: bison                installed as (bison-1.75_2).
InstallPackage: gd                   installed as (gdbm-1.8.3
ruby18-gdbm-1.8.1).
CheckPortsAge: Ports file is current (enough).
running: make  -DWITH_APACHE2  install clean/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"Makefile", line 567: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"Makefile", line 567: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
===>   php4-4.3.6 depends on file: /usr/local/lib/libcrypto.so.3 - found
===>   php4-4.3.6 depends on file: /usr/local/sbin/apxs - found
===>   php4-4.3.6 depends on executable: bison - found
===>   php4-4.3.6 depends on shared library: freetype.9 - found
===>   php4-4.3.6 depends on shared library: t1.5 - not found
===>    Verifying install for t1.5 in /usr/ports/devel/t1lib
===>  Building for t1lib-5.0.1,1
/usr/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found
*** Error code 1

Stop in /usr/ports/devel/t1lib.
*** 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
InstallPort: php4                 FAILED


I have tried it on 5.2.1 and 4.9.

Any ideas?

DrJazz

I had to:

portupgrade -rf -m BATCH=yes gettext
portupgrade -rf -m BATCH=yes apache-2.0.47

And to get apache to start I had to comment out in httpd.conf:

#LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so

All the other modules in httpd.conf load fine.

Do I need mod_ext_filter.so? Is it required by the toaster?

matt

I'm assuming you had your ports tree up to date?

I don't think you'll miss the mod_ext_filter.so.

tgm_of_xxl

I think the problem is because the Toaster is trying to fetch/install Apache 1.3.28 and it's not finding it on apache's site in the correct place.
Can someone tell how can i modify it's behaviour, so it will intall apache 1.3.29.

Thanks and regards

tgm_of_xxl

Maybe it could be better to install apache from ports not from packages.
It's just a sugestion ofc. Razz

Thanks