Problem happened when ucspi-tcp install in Freebsd6.2 using Mail-Toaster5.06

Started by Ahfei, September 21, 2007, 09:01:27 AM

Previous topic - Next topic

Ahfei

Problem with ucspi-tcp install in Freebsd6.2 with Mail-Toaster5.06


Total fresh Freebsd 6.2 installed, using Mail-Toaster5.06 to install ucspi-tcp, step by step following http://www.tnpi.net/wiki/MT_Installation instruction.

And error happen ,msg shown as bellow:

serv# toaster_setup.pl -s ucspi
ucspi-tcp is installed but w/o mysql support
compiling from sources.
               install_from_source: fetching patches...
Syntax error: "(" unexpected
file_get error executing fetch -q http://www.tnpi.net/internet/mail/toaster/patches/ARRAY(0x87322f8)
install_from_source: could not fetch http://www.tnpi.net/internet/mail/toaster/patches/ARRAY(0x87322f8)
at lib/Mail/Toaster/Setup.pm line 8531

We try another method,  ports/deinstall ucspi-tcp, and re-command #toaster_setup.pl -s ucspi ,  error still there. ;_^
________________________________________________
Same error cause when install qmail, msg shown as below:

source_warning: netqmail-1.05 sources not present.
         smtp_reject patch: yes
netqmail: using patch netqmail-1.05-toaster-3.2.patch
fetch: http://www.tnpi.net/internet/mail/toaster/patches/netqmail-1.05-toaster-3.2.patch: Not Found
file_get error executing fetch -q http://www.tnpi.net/internet/mail/toaster/patches/netqmail-1.05-toaster-3.2.patch

failed to fetch patch netqmail-1.05-toaster-3.2.patch!
___________________________________________________________________


How to ?

We try to ignor it , but when install vpopmail, and error msg shown as bellow:

module_load, checking DBI...........................................ok (1.37)
module_load, checking DBD::mysql....................................ok (4.005)
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/mysql.so: Undefined symbol "DBIc_TRACE_LEVEL"

Thanks for whom would give help.

calvin

I just had this same issue come up. Possibly due to perl 5.8.8 instead of 5.8.1?


calvin

Temp fix for me...

vi /usr/local/lib/perl5/site_perl/5.8.8/Mail/Toaster/Setup.pm

edit line 8533 and replace...

patches => [ $patches, ],

with...

  patches => ["ucspi-tcp-0.88-mysql+rss.patch"],


If I knew perl I could probably resolve the array issue but I am lame :-)

calvin

Quote from: Ahfei on September 21, 2007, 09:01:27 AM

source_warning: netqmail-1.05 sources not present.
         smtp_reject patch: yes
netqmail: using patch netqmail-1.05-toaster-3.2.patch
fetch: http://www.tnpi.net/internet/mail/toaster/patches/netqmail-1.05-toaster-3.2.patch: Not Found
file_get error executing fetch -q http://www.tnpi.net/internet/mail/toaster/patches/netqmail-1.05-toaster-3.2.patch

failed to fetch patch netqmail-1.05-toaster-3.2.patch!



I was able to get past this by editing  /usr/local/lib/perl5/site_perl/5.8.8/Mail/Toaster/Qmail.pm


my $patch_version = $conf->{''} || 3.2;

to

my $patch_version = $conf->{''} || 3.1;

Ahfei

Cools, It is done well!  :D

Thanks calvin, thank you very much!

In my situation, I just modified Setup.pm & Qmail.pm files under Mail/Toaster/. And it runs properly.

And a problem there when install vpopmail:

Undefined symbol "DBIc_TRACE_LEVEL"

We found it caused by older DBI module version.

Thanks.