[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-3476141 ] configure generates buggy makefiles on Solaris 9
From: SourceForge.net <noreply () sourceforge ! net>
Date: 2012-04-24 9:33:43
Message-ID: E1SMc80-0006pL-DT () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Bugs item #3476141, was opened at 2012-01-19 10:27
Message generated for change (Comment added) made by cgrzemba
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3476141&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: agent
Group: solaris
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Igor Gubenko (drshower)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure generates buggy makefiles on Solaris 9
Initial Comment:
When building 5.7.1 from source on Solaris 9,
1) The configure script generates Makefiles with missing line carryover "\", which \
results in "make" stops. 2) The configure script doesn't generate any valid MAN3 \
entries, which results in "make install" stop on a "for" loop running through "$MAN3"
Steps to reproduce on Sol 9:
As unprivileged user:
./configure --prefix=/some/custom/location
....
config.status: executing libtool commands
config.status: executing default commands
---------------------------------------------------------
Net-SNMP configuration summary:
---------------------------------------------------------
SNMP Versions Supported: 1 2c 3
Building for: solaris2
Net-SNMP Version: 5.7.1
Network transport support: Callback Unix Alias TCP UDP IPv4Base SocketBase TCPBase \
UDPIPv4Base UDPBase SNMPv3 Security Modules: usm
Agent MIB code: default_modules => snmpv3mibs mibII ucd_snmp \
notification notification-log-mib target agent_mibs agentx disman/event \
disman/schedule utilities host MYSQL Trap Logging: unavailable
Embedded Perl support: disabled
SNMP Perl modules: disabled
SNMP Python modules: disabled
Crypto support from: crypto
Authentication support: MD5 SHA1
Encryption support: DES
Local DNSSEC validation: disabled
---------------------------------------------------------
make
....
make[1]: Entering directory `/home/igubenko/net-snmp-5.7.1/agent'
Makefile:372: *** recipe commences before first target. Stop.
make[1]: Leaving directory `/home/igubenko/net-snmp-5.7.1/agent'
make: *** [subdirs] Error 1
sed '371,372!d' agent/Makefile
mibgroup/host/data_access/swrun_procfs_psinfo.lo
mibgroup/hardware/cpu/cpu.lo \
# Fix - add "\"
Subsequent make errors for that same Makefile all occur for "swrun_procfs_psinfo.o"
Also,
make[1]: Entering directory `/home/igubenko/net-snmp-5.7.1/agent'
Makefile:1046: *** recipe commences before first target. Stop.
sed '1045,1046!d' agent/Makefile
mibgroup/agentx/agentx_config.lo
mibgroup/agentx/protocol.lo \
make[1]: Entering directory `/home/igubenko/net-snmp-5.7.1/agent'
Makefile:1063: *** recipe commences before first target. Stop.
sed '1062,1063!d' agent/Makefile
mibgroup/agentx/agentx_config.ft
mibgroup/agentx/protocol.ft \
make[1]: Entering directory `/home/igubenko/net-snmp-5.7.1/agent'
Makefile:1080: *** recipe commences before first target. Stop.
sed '1079,1080!d' agent/Makefile
mibgroup/agentx/agentx_config.o
mibgroup/agentx/protocol.o \
make[2]: Entering directory `/home/igubenko/net-snmp-5.7.1/agent/mibgroup'
Makefile:267: *** recipe commences before first target. Stop.
sed '266,267!d' agent/mibgroup/Makefile
host/data_access/swrun_procfs_psinfo.o
hardware/cpu/cpu.o \
Subsequent make errors for that same Makefile all occur for \
swrun_procfs_psinfo.{o,c,ft}
-------
make install
.....
install: installed net-snmp-create-v3-user.1 in /u/igubenko/net-snmp/share/man/man1
/bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `for i in ; do /bin/bash ../libtool --mode=install \
.././install-sh -c -m 644 ./$i /u/igubenko/net-snmp/share/man/man3 ; echo "install: \
installed $i in /u/igubenko/net-snmp/share/man/man3" ; done' make[1]: *** \
[maninstall] Error 2 make[1]: Leaving directory `/home/igubenko/net-snmp-5.7.1/man'
make: *** [installsubdirs] Error 1
sed '/MAN3[^A-Za-z0-9_]\{1,\}/!d' man/Makefile
MAN3 =
MANALL = $(MAN1) $(MAN1G) $(MAN3) $(MAN3G) $(MAN5G) $(MAN8G) $(MANALIASES)
maninstall: maninstalldirs $(MAN1) $(MAN1G) $(MAN3) $(MAN5G) $(MAN8) $(MANALIASES)
@for i in $(MAN3) ; do $(INSTALL_DATA) $(srcdir)/$$i \
$(INSTALL_PREFIX)$(man3dir) ; echo "install: installed $$i in \
$(INSTALL_PREFIX)$(man3dir)" ; done
@for i in $(MAN3G) $(MAN3) $(MANALIASES); do rm -f \
$(INSTALL_PREFIX)$(man3dir)/$$i ; echo "removed $$i from $(INSTALL_PREFIX)$(man3dir)" \
; done
Since MAN3 is not assigned anything, the "@for i in $(MAN3) ; do" fails.
----------------------------------------------------------------------
Comment By: Carsten Grzemba (cgrzemba)
Date: 2012-04-24 02:33
Message:
The backslashes are already missing in the files in the mk directory.
This is probably cause by the Solaris9 environment like shell and/or sed
----------------------------------------------------------------------
Comment By: Dave Shield (dts12)
Date: 2012-03-28 09:19
Message:
The issue with MAN3 has been addressed in the current development code
(5.6.x and above) and this fix will be included in future releases.
Can you specify the details about exactly which line(s) in the Makefile are
broken wrt missing backslashes. Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3476141&group_id=12694
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic