Article View: comp.sys.next.sysadmin
Article #759Re: Vendors Considered Evil (Re: Perl use over NFS)
From: Frank Peters
Date: Fri, 28 Aug 1992 18:01
Date: Fri, 28 Aug 1992 18:01
35 lines
2291 bytes
2291 bytes
In article <1992Aug28.155801.14501@sei.cmu.edu> kochmar@sei.cmu.edu (John Kochmar) says: : : In article <1992Aug28.145234.17625@news.eng.convex.com>, Tom Christiansen <tchrist@convex.COM> writes: : |> ... : |> In the particular case of perl, it really does make things *much* : |> easier if there is an agreed-upon, standard location. The : |> preferred strategy is to put a link in /usr/bin pointing to : |> where it actually lives, which varies from machine to machine. : |> ... : : OK, I'll bite: why is it that it is much easier if perl is in an agreed : upon place like /usr/bin? Because perl is a scripting language. That means it wants to have a #! line at the beginning with the path name to an executable. Distributing code in this situation can be an annoyance unless you can arrange to have the path to perl be the same on different systems. I'm not sure, though, that I would characterize this as "*much* easer". It isn't that hard to edit a file or sed a collection of files. : We use /usr/local for all tools that aren't part of the standard : distribution that the vendor sends us, and I've made all sorts of : software work cleanly while living in /usr/local (and, in almost all : cases, without the use of symbolic links in /usr/bin.) This model : works really well for us, and most tools will work with this model : if the programmers weren't of the lazy sort who like to hardwire : paths into the binary. But scripts have a path hardwired into them almost by definition. -- Frank Peters - UNIX Systems Programmer - Mississippi State University Internet: fwp@CC.MsState.Edu - Phone: (601)325-7030 - FAX: (601)325-8921
Technical Details
Message-ID:
<1992Aug28.180137.22861@ra.msstate.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!nntp.msstate.edu!newsReferences:
<1992Aug27.180847.15448@kakwa.ucs.ualberta.ca> <1992Aug28.145234.17625@news.eng.convex.com> <1992Aug28.155801.14501@sei.cmu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin,comp.unix.admin Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!nntp.msstate.edu!news From: fwp@CC.MsState.Edu (Frank Peters) Subject: Re: Vendors Considered Evil (Re: Perl use over NFS) Message-ID: <1992Aug28.180137.22861@ra.msstate.edu> Sender: news@ra.msstate.edu Nntp-Posting-Host: jester.cc.msstate.edu Organization: Computing Center, Mississippi State University References: <1992Aug27.180847.15448@kakwa.ucs.ualberta.ca> <1992Aug28.145234.17625@news.eng.convex.com> <1992Aug28.155801.14501@sei.cmu.edu> Date: Fri, 28 Aug 1992 18:01:37 GMT Lines: 35