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

Garrett Cooper youshi10 at u.washington.edu
Sun Apr 1 03:41:51 UTC 2007


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 at dfwlp.com] 
> Sent: Saturday, March 31, 2007 3:10 PM
> To: freebsd-questions at freebsd.org
> Cc: dandee at 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řá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
>   
My guess is that that particular error message is a typo because usually 
Perl scripts are prefixed like {blah}.pl, not {blah}.PL.
-Garrett


More information about the freebsd-questions mailing list