Subject: Re: Problem with Snmp
To: Matthias Scheler <tron@zhadum.org.uk>
From: Marcos Onisto <mlonisto@gmail.com>
List: port-sparc64
Date: 12/11/2006 15:48:54
Hello,

I tried to install for the pkgsrc, but I have another problem

# make
=> Required installed package digest>=20010302: digest-20060826 found
===> Skipping vulnerability checks.
WARNING: No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
checksum: Checksum SHA1 mismatch for net-snmp-5.3.1.tar.gz
ERROR: Make sure the Makefile and checksum file
(/usr/pkgsrc/net/net-snmp/distinfo)
ERROR: are up to date.  If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/net-snmp

I have another problem trying to do it:

# pkg_add -v net-snmp
parsing: ftp://ftp.netbsd.org/pub/pkgsrc/packages-2006Q3/NetBSD-3.0/sparc64
path: ftp://ftp.netbsd.org/pub/pkgsrc/packages-2006Q3/NetBSD-3.0/sparc64
increasing RLIMIT_NOFILE to max. 3404 open files
trying PKG_PATH
ftp://ftp.netbsd.org/pub/pkgsrc/packages-2006Q3/NetBSD-3.0/sparc64
Spawning FTP coprocess
ftp -detv ftp://ftp.netbsd.org/pub/pkgsrc/packages-2006Q3/NetBSD-3.0/sparc64/
ftp: connect to address 2001:4f8:1:c:230:48ff:fe31:43f2: No route to host

ftp> prompt off

ftp> nlist net-snmp /var/tmp/pkg.02195a
pkg_add: nlist failed!
Reusing FDs 4/5 for communication to FTP coprocess

ftp> nlist net-snmp.tbz /var/tmp/pkg.02195b
pkg_add: nlist failed!
Reusing FDs 4/5 for communication to FTP coprocess

ftp> nlist net-snmp.tgz /var/tmp/pkg.02195c
pkg_add: nlist failed!
Reusing FDs 4/5 for communication to FTP coprocess

ftp> nlist net-snmp-*.t[bg]z /var/tmp/pkg.02195d
pkg_add: nlist failed!
pkg_add: no pkg found for 'net-snmp', sorry.

ftp> close
pkg_add: 1 package addition failed

I really appreciate some help.

Thanks a lot,

Marcos


On 12/11/06, Matthias Scheler <tron@zhadum.org.uk> wrote:
> On Mon, Dec 11, 2006 at 10:31:20AM -0200, Marcos Onisto wrote:
> > I have a problem. I didn?t get install the net-snmp package for the
> > basic command that follow below, anyway I took the generic package
> > net-snmp.tar.gz source code. I got to compile it without errors, but
> > when I try to start up this service, It's start for few seconds and
> > stop. I dont know what exactly happen.
>
> "net-snmp" has a lot of bugs on 64bit platforms which "pkgsrc" has
> fixed for. If you can't find a NetBSD binary package for it you could
> simply build it via "pkgsrc" like this:
>
> cd pkgsrc/net/net-snmp
> make install
>
> > I need to put in some settings in the config file rc.conf ?
>
> Self built software isn't magically supported by NetBSD's startup scripts.
>
> > # PKG_PATH=ftp://ftp.NetBSD.org/pub/NetBSD/packages/3.1/sparc64/All
> > # export PKG_PATH
> > # pkg_add -v net-snmp
>
> Assuming you are using NetBSD 3.0.x or 3.1 try this, please:
>
> PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages-2006Q3/NetBSD-3.0/sparc64
> export PKG_PATH
> pkg_add -v net-snmp
>
> > I got a problem, the installation protest about the version of sparc64
> > that there isn't.
>
> I don't understand that sentence.
>
>         Kind regards
>
> --
> Matthias Scheler                                  http://zhadum.org.uk/
>