/usr/bin/perl on FreeBSD
Andrew Bartlett
abartlet at samba.org
Fri Dec 22 00:25:13 UTC 2017
On Fri, 2017-12-22 at 01:23 +0200, Uri Simchoni via samba-technical
wrote:
> On 12/22/2017 01:18 AM, Timur I. Bakeyev wrote:
> >
> > On Wed, Dec 20, 2017 at 9:57 PM, Uri Simchoni <uri at samba.org
> > <mailto:uri at samba.org>> wrote:
> >
> > Hi,
> >
> > We seem to have many perl scripts with a "#!/usr/bin/perl" shebang,
> > which doesn't work on my FreeBSD 11.1-RELEASE machine (where perl is at
> > /usr/local/bin/perl, but /user/bin/env perl works)
> >
> > For example, the attached patch fixes setting up the nt4_member test
> > env, but there are ~70 scripts with /usr/bin/perl.
> >
> > Do we fix all those scripts or ask FreeBSD developers to kindly install
> > a symlink or something when they build Samba?
> >
> >
> > Somehow I never faced with that particular problem, maybe due the way
> > I/we build the Samba port.
> >
>
> The problem surfaces when running "make test", not when building.
>
> > Symlink to /usr/bin used to be provided in the past, but now it's gone
> > and I don't think it'll strike back.
> >
> > In general, I'd vote for the auto-detection and/or usage $ENV{'PERL'} or
> > $ENV{'PERL5'} for that.
> >
> >
>
> Already posted a solution in that spirit, forgot to cc you but you can
> see it on samba-technical.
I've got in autobuild now.
Andrew Bartlett
--
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
https://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list