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



Daniel Dvořák wrote:
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_store/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@xxxxxxxxx] Sent: Saturday, March 31, 2007 3:10 PM
To: freebsd-questions@xxxxxxxxxxx
Cc: dandee@xxxxxxxxxxxx
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řák <dandee@xxxxxxxxxxxx> 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"


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
My guess is that that particular error message is a typo because usually Perl scripts are prefixed like {blah}.pl, not {blah}.PL.
-Garrett
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: The rc.d mess strikes back
    ... For whatever reason the NFS filemounts not coming up forces rc.d to restart from a square one, which nukes PID files in /var/run via the cleanvar service, and causes devd and syslogd to be started twice, which in turn causes that message to be printed out on the console. ...
    (freebsd-current)
  • Re: errpt
    ... You might just think about doing a stopsrc -g nfsd. ... Check to make sure everything has stopped correctly doing a, lssrc -g nfs. ... You should not have to unmount stuff, but I'd also wait until these nfs mounts are not being used. ... SOFTWARE ERROR CODE ...
    (AIX-L)
  • Re: How do I make install clean a port in the background
    ... it returns the pid but then compiles in the foreground ... screen make install clean ...
    (freebsd-questions)
  • Re: make test fails, ExtTest dir
    ... > make test fails one test with the error: ... 1254-004 The error code from the last command is 2. ... of NFS, or the particular NFS configuration on the machine. ... "Reply" at the bottom of the article headers. ...
    (comp.lang.perl.misc)
  • Re: futex strangeness in 2.6.23-mm1/UML
    ... NFS when I log in. ... does not match up and uses a wrong PID number or process pointer ... autofs4 puts various kinds of PID information of the ... Wrt. the UML failures that Miklos is seeing, I imagine UML needs ...
    (Linux-Kernel)