The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: alf68 on March 20, 2004, 12:54:47 PM

Title: test mail toaster 3.8
Post by: alf68 on March 20, 2004, 12:54:47 PM
Step 1 = is OK

Step 2 = is OK

Step 3 = is OK

step 4 = pouf...

 toaster_setup.pl -s pre    => ok
 toaster_setup.pl -s ports => ok
 toaster_setup.pl -s mattbundle => ok
 toaster_setup.pl -s mysql => ok
 toaster_setup.pl -s apache2 :

InstallPort: installing bison...couldn't cd to /usr/ports/sysutils/bison: No such file or directory
at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Apache.pm line 90

first "bug"

i do , pkg_add -r bison
rehash

FreeBSD# toaster_setup.pl -s apache2
Can't locate Mail/Toaster/FreeBSD.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.6.1/mach /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach /usr/local/lib/perl5/5.6.1 .) at /usr/local/sbin/toaster_setup.pl line 33.

i'm bloqued...  Confused
Title: test mail toaster 3.8
Post by: alf68 on March 20, 2004, 03:22:13 PM
it's ok

Format rulez Smile


Reading Makefile.PL args from @ARGV
  MP_APXS = /usr/local/sbin/apxs
  MP_INST_APACHE2 = 1
!!! '/usr/local/sbin/apxs -q INCLUDEDIR' failed:
!!! /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'..

!!! Unable to determine server version, aborting.
!!! Invalid MP_APXS specified?
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found

somebody with an idea?
Title: test mail toaster 3.8
Post by: atoyf on March 20, 2004, 05:21:25 PM
Easy fix, i just ahd the same problem, Matt probably hd anotehr brain fart, bison is located at devel and not sysutils.
Go here:
/usr/local/lib/perl5/site_perl/5.8.2/MATT/Apache.pm

find line 90:
MATT::FreeBSD::InstallPort ("bison", "devel");

and make sure it says devel and not sysutils
Title: test mail toaster 3.8
Post by: atoyf on March 20, 2004, 05:22:18 PM
and then re-run toaster apache installation
Title: test mail toaster 3.8
Post by: happytommy on March 21, 2004, 07:58:54 AM
I suggest that you install bison and p5-libwww and apache2 before you run the toaster apache2 install.

I think up to last week, p5-libwww still uses perl 5.6 and this week it's using 5.8.2