The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: vsouthmayd on May 14, 2005, 12:58:58 PM

Title: Install Error in lib/Mail/Toaster/DNS.pm
Post by: vsouthmayd on May 14, 2005, 12:58:58 PM
Do a clean install on FreeBSD 5.3 using Toaster 4.07 and I get the following error running 'toaster_setup.pl -s ports' and 'toaster_setup.pl -s config'.

Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 108.
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 173.
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 239.
Compilation failed in require at lib/Mail/Toaster/Qmail.pm line 2324.
BEGIN failed--compilation aborted at lib/Mail/Toaster/Qmail.pm line 2324.
Compilation failed in require at lib/Mail/Toaster.pm line 282.
BEGIN failed--compilation aborted at lib/Mail/Toaster.pm line 282.
Compilation failed in require at /usr/local/sbin/toaster_setup.pl line 37.
BEGIN failed--compilation aborted at /usr/local/sbin/toaster_setup.pl line 37.


This is a new error.  I have been working with Toaster 4.06 without this error.  Any way I can download 4.06?  

Thanks

Vernon
Title: Re: Install Error in lib/Mail/Toaster/DNS.pm
Post by: vsouthmayd on May 14, 2005, 01:20:28 PM
Found the link for the older toaster version.

Thanks

Vernon
Title: Re: Install Error in lib/Mail/Toaster/DNS.pm
Post by: alf68 on May 14, 2005, 03:52:27 PM
idem for me....

Obelix# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Apache.............ok                                                      
t/CGI................ok                                                      
t/Darwin.............ok                                                      
t/DNS................Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 108.
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 173.
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 239.
Compilation failed in require at t/DNS.t line 13.
BEGIN failed--compilation aborted at t/DNS.t line 13.
t/DNS................dubious                                                
       Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
       Failed 6/6 tests, 0.00% okay


Obelix# toaster_setup.pl -s ports
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 108.
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 173.
Global symbol "$conf" requires explicit package name at lib/Mail/Toaster/DNS.pm line 239.
Compilation failed in require at lib/Mail/Toaster/Qmail.pm line 2324.
BEGIN failed--compilation aborted at lib/Mail/Toaster/Qmail.pm line 2324.
Compilation failed in require at lib/Mail/Toaster.pm line 282.
BEGIN failed--compilation aborted at lib/Mail/Toaster.pm line 282.
Compilation failed in require at /usr/local/sbin/toaster_setup.pl line 37.
BEGIN failed--compilation aborted at /usr/local/sbin/toaster_setup.pl line 37.
Title: Re: Install Error in lib/Mail/Toaster/DNS.pm
Post by: Custom on May 14, 2005, 11:02:01 PM
Ok, I had this same problem. It seems that something changed w/ Mail::Toaster::DNS between 4.06 and 4.07 (I got the impression it had to do w/ RBLs). So, I just DL'ed 4.06 and replaced the DNS.pm that got installed w/ 4.07 with the one in 4.06 as follows:

After you run make install && make newconf && make cgi
cp Mail-Toaster-4.06/lib/Mail/Toaster/DNS.pm  /usr/local/lib/perl5/site_perl/5.8.*/Mail/Toaster/

Then, everything seems to run peachy.
Title: Re: Install Error in lib/Mail/Toaster/DNS.pm
Post by: matt on May 17, 2005, 12:46:55 PM

A new version of 4.07 has been uploaded. The new "not quite finished" version snuck onto the web server a couple days early.  Embarassed