pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44748: Package net/net-snmp compile fails without perl (Please add USE_TOOLS+=perl)



>Number:         44748
>Category:       pkg
>Synopsis:       Package net/net-snmp compile fails without perl (Please add 
>USE_TOOLS+=perl)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 21 02:05:00 +0000 2011
>Originator:     Juho Juopperi
>Release:        NetBSD-5
>Organization:
>Environment:
NetBSD otusgw 5.0.2_PATCH NetBSD 5.0.2_PATCH (OTUSGW-01) #0: Mon Aug 23 
05:11:15 EEST 2010  root@otusgw:/usr/obj/sys/arch/amd64/compile/OTUSGW amd64

>Description:
Perl support (and thus perl dependency) can be disabled with an option 
(options.mk), but the package won't compile without perl.

The problem seems to be compiling manual pages.

>How-To-Repeat:
Disable perl option for the package in /etc/mk.conf:

PKG_OPTIONS.net-snmp+=         -perl


# cd /usr/pkgsrc/net/net-snmp
# make update

...


making all in /usr/pkgsrc/net/net-snmp/work/net-snmp-5.4.3/man
/usr/pkgsrc/net/net-snmp/work/.tools/bin/sed -f ../sedscript < 
./snmpd.conf.5.def > snmpd.conf.5
/usr/pkgsrc/net/net-snmp/work/.tools/bin/sed -f ../sedscript < 
./snmptrapd.conf.5.def > snmptrapd.conf.5
/usr/pkgsrc/net/net-snmp/work/.tools/bin/sed -f ../sedscript < 
./snmp.conf.5.def > snmp.conf.5
/usr/pkgsrc/net/net-snmp/work/.tools/bin/sed -f ../sedscript < 
./snmp_config.5.def > snmp_config.5
/usr/pkgsrc/net/net-snmp/work/.tools/bin/sed -f ../sedscript < 
./variables.5.def > variables.5
ERROR: To use this tool, add USE_TOOLS+=perl to the package Makefile.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/net-snmp/work/net-snmp-5.4.3/man
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/net-snmp/work/net-snmp-5.4.3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/net-snmp
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/net-snmp
*** Error code 1

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

>Fix:



Home | Main Index | Thread Index | Old Index