toaster 5.14 toaster_setup.pl -s qmailadmin on freebsd 7.1 p5 not working

Started by pbrezny, June 29, 2009, 09:52:53 AM

Previous topic - Next topic

pbrezny

Found some references to this on the mail list as well.  Here's some information from there which may help.  Matt, any ideas on this one?

toaster_setup.pl -s qmailadmin
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.8.9/Mail/Toaster/Setup.pm line 4787.
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.8.9/Mail/Toaster/Setup.pm line 4788.

proposed fixes (not tried by me yet) from the mail list:
cp -p /usr/local/qmailadmin /usr/local/www/cgi-bin/


>> This puts qmailadmin in /usr/local/, and copying or linking the
>> resulting file wasn't creating any joy.
>>
>> So, I changed lines 4787 & 4788 in Setup.pm to read thusly -
>>
>>    #if ( $cgi =~ /\/usr\/local\/(.*)$/ ) { $cgi_sub = $1; }
>>    push @args, 'CGIBINDIR="www/cgi-bin"';
>>
>> And there was much rejoicing.
Peter Brezny

purplecat.net