ASSP port testing, not getting all perl mods to work

Scott Haneda talklists at newgeo.com
Wed Jan 21 12:40:14 PST 2009


Hello, this may be getting a little outside the scope of what this  
list can help me with.  Hopefully we can solve it so I can actually  
get my email server where I want.

I downloaded the ASSP package
http://superb-east.dl.sourceforge.net/sourceforge/assp/ASSP_1.4.3.1-Install.zip

The notes say I need some modules, which I managed to port install or  
make a port to get them installed.

Here is the list from their README as to what I need
http://pastebin.com/f692f61e3

Here is a list from `port installed`
http://pastebin.com/f564a902e

In short, all I need to get it working is to cd into the ASSP  
directory, and run `perl assp.pl` which will start it as a server, and  
give me a report to the console, as well as a log, telling me what is  
going on.

Looking over their files, I can see they are referencing a local perl  
location, which will not work, so I do a global find and replace to  
repair that.  I am near certain for MacPorts I need to use /opt/local/ 
bin/perl

#!/usr/bin/perl -> #!/opt/local/bin/perl
I am pretty sure, according to the old outdated ASSP port, this is all  
it is doing.  The old port makes some new users and groups, but I do  
not think that is related, nor needed anymore.

cd /Users/me/Downloads/ASSP_1.4.3.1-Install/ASSP
sudo perl assp.pl

It starts, and most of my efforts worked out, however, there are a few  
that do not.  Here is the result of the log file:

http://pastebin.com/f539150d2

Most of the errors are because it is a new install, but there are a  
few I am lost on:
Jan-21-09 12:27:32 Email::Valid module not installed
Jan-21-09 12:27:32 Mail::SPF module not installed
*Jan-21-09 12:27:32 Tie::RDBM module not installed - mysql usage not  
available

* Tie:RDBM may simply fail because I do not have MySql installed at  
this point, however, I am pretty sure it should still show as installed.

port contents p5-email-valid
Port p5-email-valid contains:
   /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Email/ 
Valid/.packlist
   /opt/local/lib/perl5/vendor_perl/5.8.9/Email/Valid.pm
   /opt/local/share/man/man3/Email::Valid.3pm.gz

port contents p5-mail-spf
Port p5-mail-spf contains:
   /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Mail/ 
SPF/.packlist
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Base.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Exception.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/MacroString.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/A.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/All.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/Exists.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/Include.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/IP4.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/IP6.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/MX.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/PTR.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mod/Exp.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mod/Redirect.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mod.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Record.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Request.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Result.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/SenderIPAddrMech.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Server.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Term.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Util.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/v1/Record.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/v2/Record.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF.pm
   /opt/local/share/man/man3/Mail::SPF.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Base.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::MacroString.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::A.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::All.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::Exists.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::Include.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::IP4.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::IP6.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::MX.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::PTR.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mod.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mod::Exp.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mod::Redirect.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Record.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Request.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Result.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::SenderIPAddrMech.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Server.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Term.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Util.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::v1::Record.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::v2::Record.3pm.gz
   /usr/sbin/spfd

port contents p5-tie-dbi
Port p5-tie-dbi contains:
   /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Tie/ 
DBI/.packlist
   /opt/local/lib/perl5/vendor_perl/5.8.9/Tie/DBI.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Tie/RDBM.pm
   /opt/local/share/man/man3/Tie::DBI.3pm.gz
   /opt/local/share/man/man3/Tie::RDBM.3pm.gz

Looks to me like they are all there, and they should all work.  I do  
not know enough perl to run three basic tests to make calls to each,  
and confirm if it is in ASSP, or if it is in MacPorts. On another  
machine, a while back, I used CPAN, and had 100% success in making  
this work, but with that, I did not have to find and replace out the  
perl path.

I am 99% there, and I will have an awesome port, with a option to pre- 
enable LDAP for my email server, and the ability to add the ldap  
strings for any other server, which is the hardest part of getting  
ASSP running live.
--
Scott



More information about the macports-users mailing list