Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2007 02:42:53 +0200
From:      =?UTF-8?Q?Daniel_Dvo=C5=99=C3=A1k?= <dandee@hellteam.net>
To:        "'Jonathan Horne'" <freebsd@dfwlp.com>, <freebsd-questions@freebsd.org>
Subject:   RE: net-snmp: portupgrade or clean instalation from ports through NFS failed again and again
Message-ID:  <001f01c773f6$b0c29640$6508280a@tocnet28.jspoj.czf>
In-Reply-To: <20070331080937.35bc4daf.freebsd@dfwlp.com>
References:  <000801c7738a$a73359f0$6508280a@tocnet28.jspoj.czf> <20070331080937.35bc4daf.freebsd@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok thanks for your quick reply. It helped me ... for a while.

I did what you advised me and it worked, but after some comilling time =
this new error appeared:

Makefile out-of-date with respect to Makefile.PL =
/usr/local/lib/perl5/5.8.8/mach/Config.pm =
/usr/local/lib/perl5/5.8.8/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/local/bin/perl Makefile.PL
ERROR from evaluation of =
/usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl/default_sto=
re/Makefile.PL: You need to install net-snmp first (I can't find =
net-snmp-config) at ./Makefile.PL line 83.
*** Error code 2

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl.
*** Error code 1

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.


I have compilled net-snmp for many times on many platforms even this =
wpra pc engine, but always with success. What is wrong with this =
net-snmp version 5.3.X ?

Dan
-----Original Message-----
From: Jonathan Horne [mailto:freebsd@dfwlp.com]=20
Sent: Saturday, March 31, 2007 3:10 PM
To: freebsd-questions@freebsd.org
Cc: dandee@hellteam.net
Subject: Re: net-snmp: portupgrade or clean instalation from ports =
through NFS failed again and again

On Sat, 31 Mar 2007 13:49:32 +0200
Daniel Dvo=C5=99=C3=A1k <dandee@hellteam.net> wrote:

> Hi all,
>=20
> I have a wrap PC Engine with CF card.
>=20
> I want do a upgrade of net-snmp-5.2.3_3 to latest version.
>=20
> Of cource I do not want to compile the whole port on CF card,
>=20
> so the directory /usr/ports/ is mounted through NFS.
>=20
> When I do portupgrade net-snmp or make install clean, it always fails =
with the same error, see below.
>=20
> What may I do to compile it through NFS successfully ?
>=20
> SERVER site:
>=20
> # /etc/rc.d/nfsd status
> nfsd is running as pid 1254 1255 1256 1257 1258.
> # /etc/rc.d/mountd status
> mountd is running as pid 1245.
> # /etc/rc.d/rpcbind status
> rpcbind is running as pid 1210.
> # /etc/rc.d/nfslocking  status=20
>=20
> If it is with or without, it does not influence the error.
>=20
> statd is running as pid 1264.
> lockd is running as pid 1269 1275.
>=20
> Thanks
>=20
> Dan
>=20
> # mount
> /dev/ad0s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> 10.X.Y.Z:/usr/ports on /usr/ports (nfs)
>=20
> # cd /usr/ports/net-mgmt/net-snmp
>=20
> # make install clean
> =3D=3D=3D>   net-snmp-5.3.1_3 depends on file: =
/usr/local/bin/perl5.8.8 - found
> =3D=3D=3D>   net-snmp-5.3.1_3 depends on file: =
/usr/local/bin/autoconf259 - found
> =3D=3D=3D>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool =
- found
> =3D=3D=3D>  Configuring for net-snmp-5.3.1_3
> autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps =
you are running make -j on a lame NFS client?): Operation not supported
> *** Error code 1
>=20
> Stop in /usr/ports/net-mgmt/net-snmp.
> #
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"
>=20

you need to specify a different place for your workdirs to go, by adding =
a line like this to /etc/make.conf:

WRKDIRPREFIX=3D/usr/tmp

cheers,
jonathan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001f01c773f6$b0c29640$6508280a>