*BSD News Article 47353


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!fu-berlin.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ridiculous Newbie Question: perl with FreeBSD 2.0.5?
Date: 24 Jul 1995 10:45:20 +0200
Organization: Private U**x site, Dresden.
Lines: 19
Message-ID: <3uvmj0$9rr@bonnie.tcd-dresden.de>
References: <ennov-2007951519460001@ennov.slip.netcom.com> <3uni16$4g3@news.rwth-aachen.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de> wrote:

>> Is there anything in particular I need to do in order to get perl
working under >> FreeBSD 2.0.5?  I can't seem to get scripts to
execute (I _have_ chmod'd them).

>perl is in the FreeBSD distribution, as /usr/bin/perl. Maybe you
>need to edit the first line in your scripts
>(`#!/wherever/perl/lives'), but that's just a guess.

In addition, if you try to run setuid scripts, make this line
explicitly referencing #!/usr/bin/suidperl.  The normal way (let Perl
decide itself to run suidperl) will perhaps not work since perl is
looking up the suidperl by version number and won't find it.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)