MacPorts & perl path

Jason Luros macports at luros.org
Tue Jun 23 10:59:47 PDT 2009


This worked great. Thank you so much for your help. It begs the question,
why
isn't this the default for the Movable Type installation? Is there a
security risk in getting the path to perl from /usr/bin/env?

Daniel J. Luke wrote:
>
> On Apr 8, 2008, at 5:53 PM, Stephan Jaeger wrote:
>> I just installed  via macports the ports apache2, mysql5, php5 and
>> perl5.8.8 on my computer.
>> The reason for doing so is to set up a local development server for
>> my MovableType development.
>>
>> When I run a check (mt-check.cgi) in order to see which perl modules
>> I have to install, the module DBD::mysql is listed as "not
>> installed", although I installed it explicitly.
>
>
> The moveabletype scripts all unfortunately have #!/usr/bin/perl at the
> top, so they run the system perl instead of the macports perl.
>
> You can either change them all to #!/opt/local/bin/perl (or whatever
> your macports ${prefix} is set to) or #!/usr/bin/env perl (and then
> set up the script environment so that the macports perl is first in
> the path search).
>
> --
> Daniel J. Luke
> +========================================================+
> | *---------------- dluke at geeklair.net ----------------* |
> | *-------------- http://www.geeklair.net -------------* |
> +========================================================+
> |   Opinions expressed are mine and do not necessarily   |
> |          reflect the opinions of my employer.          |
> +========================================================+
>
>
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090623/3d8fea4b/attachment.html>


More information about the macports-users mailing list