verzia perlu
Michal Kapalka
kapalka at mfn.sk
Wed Feb 4 21:23:21 CET 2004
Ahojte chcel by som vas poprosit o radu pri kompilacii nagiosu na
mojom testovacom desktope freeBSD
Dual PII 266 / 256 ram /2x 4 GB scsi
FreeBSD 4.9 stable
som narazil na to ze mi zahlasil pri
maku ze mam mat verziu perlu 5.6x alebo vyssiu ../lang/perl5
a tak som tam doinstalil pozadovany perl ale i po reinstale
ked som dal perl -v tak mi ukazovalo 5.0.xxxx
<--->
gios-plugins-1.3.1_1 depends on executable: snmpcheck - found
===> nagios-plugins-1.3.1_1 depends on file: /usr/local/lib/perl5/site_perl/5. 005/Net/SNMP.pm - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.005/Net/SNMP.pm i n /usr/ports/net/p5-Net-SNMP
===> p5-Net-SNMP-4.1.2 Port requires perl 5.6.x or later. Install lang/perl5 th en try again.
*** Error code 1
Stop in /usr/ports/net/p5-Net-SNMP.
*** Error code 1
Stop in /usr/ports/net/nagios-plugins.
*** Error code 1
Stop in /usr/ports/net/nagios-plugins.
*** Error code 1
Stop in /usr/ports/net/nagios.
<--->
a tak som ho manualne nalinkoval
freebsd-desktop# ls -la /usr/bin/ |grep perl
-r-xr-xr-x 1 root wheel 12872 Feb 1 22:40 find2perl
lrwxr-xr-x 1 root wheel 19 Feb 4 22:53 perl -> /usr/local/bin/perl
<--->
a po zadani perl -v
freebsd-desktop# perl -v
This is perl, v5.6.1 built for i386-freebsd
Copyright 1987-2001, Larry Wall
...
naistalovany pozadovany perl mam :
freebsd-desktop# ls -la /var/db/pkg/ |grep perl
drwxr-xr-x 2 root wheel 512 Feb 4 22:48 perl-5.6.1_15
No ale neviem ako mam nastavit aby defaultne pouzival nie systemovy
perl ale moj doinstalovany .
Dakujem za radu s pozdravom Michal Kapalka
---
work:
Michal Kapalka
Referent IT
Martinska fakultna Nemocnica
Kollarova 2
036 59
tel.: 043 / 4 203 166
http://www.mfn.sk
michal.kapalka at mfn.sk, admin at mfn.sk
ICQ : 345363722
IRC : fofo or fofo_
private:
http://michal.kapalka.sk
fofo at hysteria.sk, fofo at zilina.net
More information about the Users-l
mailing list