install.sh etc.: tighter "perl" specification

Julian Field mailscanner at ecs.soton.ac.uk
Sat Jul 3 18:22:29 IST 2004


In for the next release.

At 18:18 02/07/2004, you wrote:
>Julian,
>
>I attach a pair of patches to tighten up both the determination of, and
>the use of, "perl" where there are multiple possibilities, typically
>"/usr/bin/perl" and "/usr/local/bin/perl".
>
>Use: I change occurence of "perl ..." to "$PERL ...".  (And where it calls
>"./CheckModuleVersion" this becomes "$PERL ./CheckModuleVersion".)  This
>
>Determination:  The "ignore-perl" technique didn't allow flexibility in
>choice of "perl".  It also potentially allowed ambiguity to slip through.
>So I changed "ignore-perl" into "--perl=/path/to/perl", thereby making the
>user with such a system have to think about which version they really
>want.  (Behaviour with only a single "perl": progresses as before;
>behaviour with two perls with no disambiguation stops as before.)
>
>The two patches are:
>    install.sh:  involves both determination and use.
>
>    install.tar-fns.sh: involves use (so depends upon "install.sh").
>
>As a side-effect, I tidied up the argument handling to be option-like.
>(It also has the advantages of (a) compatibility with autoconf's
>"./configure" for possible future flexibility and (b) transitionally
>bringing this to the attention of folk who had use the "ignore-perl"
>syntax.  But you can, if you wish, ignore this part of the change for the
>time being.)
>
>I'm also working on some of the annoying little wrinkles that beset the
>installation of perl modules on Solaris (and other?) systems.  But more on
>that later.
>
>Hope that helps.  Best wishes.
>
>
>--
>
>:  David Lee                                I.T. Service          :
>:  Systems Programmer                       Computer Centre       :
>:                                           University of Durham  :
>:  http://www.dur.ac.uk/t.d.lee/            South Road            :
>:                                           Durham                :
>:  Phone: +44 191 334 2752                  U.K.                  :
>
>-------------------------- MailScanner list ----------------------
>To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
>Before posting, please see the Most Asked Questions at
>http://www.mailscanner.biz/maq/     and the archives at
>http://www.jiscmail.ac.uk/lists/mailscanner.html
>
>

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list