Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!think!zaphod.mps.ohio-state.edu!rpi!rpi.edu!rodney From: rodney@sun.ipl.rpi.edu (Rodney Peck II) Newsgroups: comp.lang.perl Subject: Re: Installation Enhancement Message-ID: Date: 5 Jan 90 19:29:47 GMT References: <129887@sun.Eng.Sun.COM> Distribution: usa Organization: Rensselaer Polytechnic Institute Image Processing Lab, Troy NY Lines: 25 In-Reply-To: anantha%ravi@Sun.COM's message of 4 Jan 90 18:41:45 GMT >>>>> On 4 Jan 90 18:41:45 GMT, anantha%ravi@Sun.COM (Anantha Srirama) said: Anantha> While installing latest PERL that was posted to the net I Anantha> noticed the following: Anantha> - It provided a lot of tests and examples as a part of Anantha> package. This is great, but the '#! ....' had a Anantha> path name that was hardcoded, /usr/bin/perl. Anantha> I think it should be dynamic, in the sense that it should be Anantha> driven by the INSTALL directory. It so happens that my Anantha> install directory is not in /usr/bin but somewhere else, Anantha> necessitating a manual edit of all the files to change this Anantha> path. It could be done automatically after running the Anantha> 'Configure' script. Just my two cents worth to make PEARL Anantha> :-> installation easier. All you have to do is put a link from /usr/bin/perl to /usr/local/bin/perl or wherever you actually installed it. If you rely on the header pointing to exactly where your site's copy is, you won't be able to run files off the net without changing their headers too. I think the link solution is the right thing to do. -- Rodney