Re: [HEADS UP] perl symlinks in /usr/bin will be gone

From: Matthias Andree (matthias.andree_at_gmx.de)
Date: 01/30/05

  • Next message: Matthias Andree: "Re: [HEADS UP] perl symlinks in /usr/bin will be gone"
    To: Matthias Andree <matthias.andree@gmx.de>
    Date: Sun, 30 Jan 2005 14:44:38 +0100
    
    

    Erik Trulsson <ertr1013@student.uu.se> writes:

    >> Hardcoded paths in scripts are a mess. What if I installed Perl into
    >> /opt/mumble on some other machine? /usr/freeware? /what/ever? Changed
    >> $PREFIX and/or $LOCALBASE?
    >
    > Then you would have nobody but yourself to blame.

    So ports not heeding PREFIX or LOCALBASE aren't buggy? Interesting POV.

    > And what about all the scripts that administrators and users write that
    > are not part of any port? Scripts that were written according to the
    > de-facto standard that having '#!/usr/bin/perl' on the first line of
    > the script will work correctly.

    As mentioned before, #! /usr/bin/env perl is the canonic SHORT way to
    run perl, longer ways are in perlrun(1).

    -- 
    Matthias Andree
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Matthias Andree: "Re: [HEADS UP] perl symlinks in /usr/bin will be gone"

    Relevant Pages

    • Save to upgrade Perl?
      ... I have a production server that handles five domains for my employer. ... I've used ports very often, and I frequently 'cvsup ports-supfile && ... I tried to install a perl module ... much a no brainer that the vast majority of scripts will be compatible ...
      (comp.unix.bsd.freebsd.misc)
    • Re: [HEADS UP] perl symlinks in /usr/bin will be gone
      ... it's an impossible dream to hope that all scripts will ... Even making everything perl in the ports collection use ... broken ports are marked broken and removed after some months. ... third party scripts, so it would be wasted effort to try. ...
      (freebsd-stable)
    • Re: [HEADS UP] perl symlinks in /usr/bin will be gone
      ... > Hardcoded paths in scripts are a mess. ... > they break after upgrading both perl and the port, ... Ports covers only a *very* small proportion of the perl scripts in use out ... probably call their hosting provider first. ...
      (freebsd-stable)
    • Re: Is /usr/ports/archivers/rpm broken?
      ... autocrap hard-codes a specific version of perl in its' scripts. ... You also need to rebuild certain other ports, ...
      (comp.unix.bsd.freebsd.misc)
    • Re: how to build Spamassassin
      ... The ports collection is great for certain things. ... it for spam assassin on 4.9 Stable. ... Install Perl 5.8.2 from ports ... Install Spam assassin from ports ...
      (freebsd-questions)