Re: perl -> nagios snmp

From: Oliver Brandmueller <ob(at)e-Gitt.NET>
Date: Tue, 22 Jul 2003 14:09:53 +0200

Hallo.

On Tue, Jul 22, 2003 at 01:54:29PM +0200, Otto Kucera wrote:
> dummer weise gibts ein problem mit perl. das port
> /usr/ports/net/p5-Net-SNMP braucht perl neuer als 5.6.x. ich hab das
> port /usr/ports/lang/perl/ installiert. das meldet bei perl -v version
> 5.005_03 obwohl eigentlich perl-5.8.0_7 installiert sein sollte?
>
> weiß jemand was da zu tun ist?

Ja, das lesen der pkg-message bei der Installation des perl hätte aller
Wahrscheinlichkeit komplett ausgereicht, um Deine Frage zu beantworten.
Und das beste: Die wird bei der Installation aus den Ports sogar
automagisch am Ende der Installation anzeigt!

Zur Erinnerung, falls die Schatten der Anzeige nach dem Löschen des
Bildschirm bereits verschwommen sein sollten:

--- BEISSKANTE ---
(14:08) ob(at)silver:ttyp3 [~] cat /usr/ports/lang/perl5.8/pkg-message
Installation of Perl distribution is finished. Please note, that since
Perl is also in the base system, this distribution will not be used by
default.

If you want this version of Perl to be used by default, please type

  use.perl port

Assuming that use.perl script (which was installed with the rest of the
Perl distribution) can be found in your PATH (you might have to type
`rehash' first, depending upon a shell you use), this action will
replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
versions of these binaries in the Perl distribution. This action will
also put some variables into your /etc/make.conf file, so that newly
installed ports (not packages!) will use new version of perl, and the
system upgrades from the source will not overwrite the changes made.

At any time you can also type

  use.perl system

if you wish to revert back to the system version of perl.
--- BEISSKANTE ---

- Olli

-- 
| Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|               Ich bin das Internet. Sowahr ich Gott helfe.               |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 22 Jul 2003 - 14:09:57 CEST

search this site