Broken perl configuration
Daniel J. Luke
dluke at geeklair.net
Thu Feb 21 08:46:29 PST 2013
On Feb 21, 2013, at 11:37 AM, Bruce Miller <bruce.miller at nist.gov> wrote:
> And, let's be frank; Macs cater (wisely, perhaps) to
> a group of users who don't know about, or want to know about, $PATH.
... and those people tend to not ever use the terminal ... ;-)
If you're going to use the command line, you probably need to know (at least a little) about $PATH.
>>> This is all due to a configuration change with MacPort's perl,
>>> and there's a ticket about this
>>> https://trac.macports.org/ticket/36980
>>
>> well, my read of that ticket is that 'libexec' isn't really the right place
>
> So, should we file a new ticket that is more specific?
you can, I guess, but I don't know if you'll get any action on it.
It might make sense to set vendorbin like we're doing, but leave sitebin alone (allowing people who install outside of macports to shoot themselves in the foot).
>> not really, it all runs fine - you just have to deal with $PATH or use the full path to the script you want to run.
>
> Well, for half my mac users it doesn't run.
because there's a bug somewhere, or just because they can't be bothered to use the absolute path or set $PATH?
>> Using macports ;-)
>
> Sure, although I'm sadly behind in getting an official release,
> I _do_ have a portfile....
>
> But are you seriously saying that the Perl that comes with MacPorts
> shouldn't be expected to work with non-macports Makes or CPAN or...?
Your definition of 'work' is different from mine. I'm not saying that, but I don't think that having scripts/binaries installed into a place that isn't in $PATH means that something is broken.
>>> How should I modify my Makefile.PL?
>>
>> you shouldn't, you should modify your Portfile.
>
> So the Perl really only supports MacPorts,
> and shouldn't be expected for general use?
Nope, but in general MacPorts (or any package management system) works best when you 'buy in' and just use it for all your install management.
--
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. |
+========================================================+
More information about the macports-users
mailing list