On Jan 23, 2009, at 1:01 AM, Gunnar Hjalmarsson wrote:
Scott Haneda wrote:
ASSP required about 15 perl modules, I installed them, or wrote new
portfiles for them to get them installed. I have all requirements
for ASSP installed. I edit the ASSP source files to change the first
line from:
#!/usr/bin/perl --
to
#!/opt/local/bin/perl --
When I run ASSP, it tells me three ports are not installed. One is
Email::Valid, which should serve well enough as a way for me to learn
how to solve this.
Try running:
/usr/bin/perl -MEmail::Valid -e 'print $INC{"Email/Valid.pm"}'
$/usr/bin/perl -MEmail::Valid -e 'print $INC{"Email/Valid.pm"}'
Can't locate Email/Valid.pm in @INC (@INC contains:
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8
/Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8
/Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level
/Network/Library/Perl/5.8.8 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6
/Library/Perl/5.8.1 .).
BEGIN failed--compilation aborted.
and
/opt/local/bin/perl -MEmail::Valid -e 'print $INC{"Email/Valid.pm"}'
$/opt/local/bin/perl -MEmail::Valid -e 'print $INC{"Email/Valid.pm"}'
/opt/local/lib/perl5/vendor_perl/5.8.9/Email/Valid.pm
and let us know the results.
I am not entirely sure what that all means, but I think it is telling me
there is in fact no Email::Valid in the default install, but there is
one in the /opt/local/bin/perl one.