Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2005 12:02:15 +0100
From:      lupe@lupe-christoph.de (Lupe Christoph)
To:        "Loren M. Lang" <lorenl@alzatex.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Perl script installation
Message-ID:  <20051204110215.GA6178@lupe-christoph.de>
In-Reply-To: <20051204095114.GA11064@alzatex.com>
References:  <20051204095114.GA11064@alzatex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 2005-12-04 at 01:51:15 -0800, Loren M. Lang wrote:
> I am updating the port for a perl script that depends on
> Time::ParseDate.  When I installed the port for the first time on a
> system, it installed it's dependency first, then successfully installed
> itself.  Though, when I tried to run it, it couldn't find
> Time::ParseDate because that module was installed under the directory
> for 5.8.7, not 5.6.2 which is the version of the standard perl
> executable.  I believe both Time::ParseDate can run under 5.6.2 and
> dirvish can run under 5.8.7 without any problems, but how do I check
> when version I need or force dependencies to be installed for a certain
> system?  Is this just a problem with the system I'm testing on or do I
> need to worry about other people having problems with it?

You should always use the perl version selected by the ports make
environment. That is ${PERL5}. Substitute @@PERL@@ with $(PERL5) in
your shebang line, or something similar.

HTH,
Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear     |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?                               |
| Rockhound in "Armageddon", 1998, about the Space Shuttle               |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051204110215.GA6178>