Thanks Everyone,
This does help..

-Bandeep

On Fri, Jan 23, 2009 at 9:48 AM, Gunnar Hjalmarsson <nore...@gunnar.cc>wrote:

> Scott Haneda wrote:
>
>> 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.
>>
>
> Yes, and that indicates that ASSP is still running the default Perl
> install, even if you told us that you edited the shebang line of the ASSP
> source files. Maybe you missed some file(s), maybe the command that invokes
> ASSP does not rely on the shebang line(s) to determine which of the Perl
> installs to use.
>
> --
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to