net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

Jonathan Horne freebsd at dfwlp.com
Sat Mar 31 13:09:41 UTC 2007


On Sat, 31 Mar 2007 13:49:32 +0200
Daniel Dvořák <dandee at hellteam.net> wrote:

> Hi all,
> 
> I have a wrap PC Engine with CF card.
> 
> I want do a upgrade of net-snmp-5.2.3_3 to latest version.
> 
> Of cource I do not want to compile the whole port on CF card,
> 
> so the directory /usr/ports/ is mounted through NFS.
> 
> When I do portupgrade net-snmp or make install clean, it always fails with the same error, see below.
> 
> What may I do to compile it through NFS successfully ?
> 
> SERVER site:
> 
> # /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 
> 
> If it is with or without, it does not influence the error.
> 
> statd is running as pid 1264.
> lockd is running as pid 1269 1275.
> 
> Thanks
> 
> Dan
> 
> # mount
> /dev/ad0s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> 10.X.Y.Z:/usr/ports on /usr/ports (nfs)
> 
> # cd /usr/ports/net-mgmt/net-snmp
> 
> # make install clean
> ===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
> ===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
> ===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
> ===>  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
> 
> Stop in /usr/ports/net-mgmt/net-snmp.
> #
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

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

WRKDIRPREFIX=/usr/tmp

cheers,
jonathan


More information about the freebsd-questions mailing list