[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-613371 ] SNMP.pm build problems
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-02-27 20:35:33
Message-ID: E1Awohp-0006bC-00 () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]

Bugs item #613371, was opened at 2002-09-23 15:34
Message generated for change (Settings changed) made by slif
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=613371&group_id=12694

Category: library
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Todd Caine (tcaine)
Assigned to: Nobody/Anonymous (nobody)
Summary: SNMP.pm build problems

Initial Comment:

It looks like the SNMP.pm module hasn&#039;t been tested to 
see if it builds under version 5.0.3 of net-snmp.  I&#039;ve 
found one problem and see side effects of a problem 
that I&#039;m not sure how to solve.

Problem 1:  The perl/SNMP/Makefile.PL has a bug 
which causes a build failure on all platforms.

Here&#039;s the patch.  (MAN3PODS needs a hash ref 
instead of a scalar).

--- Makefile.PL Mon Sep 23 12:26:44 2002
+++ Makefile.PL~        Mon Sep 23 12:26:34 2002
@@ -17,7 +17,7 @@
     my %Params = (
                  NAME         => &#039;SNMP&#039;,
                  dist         => { SUFFIX => "gz", 
COMPRESS => "gzip -9f"},
-                 MAN3PODS     => &#039;SNMP&#039;,  # Pods will be 
built by installman.
+                 MAN3PODS     => {&#039;SNMP&#039; => 0},  # Pods 
will be built by installman.
                  XSPROTOARG   => &#039;-noprototypes&#039;,      # 
XXX remove later?
                  VERSION_FROM => &#039;SNMP.pm&#039;,
                  realclean        => { FILES => &#039;host&#039; },

Now for the bigger problem.

Problem 2:  It still won&#039;t build.

sandbox:/usr/local/src/net-snmp-5.0.3/perl/SNMP $ perl 
Makefile.PL
Processing hints file hints/solaris.pl
Writing Makefile for SNMP
sandbox:/usr/local/src/net-snmp-5.0.3/perl/SNMP $ 
make
gcc -c   -g -O2 -Dsolaris2 -O   -DVERSION=\5.0.3\ -
DXS_VERSION=\5.0.3\ -fPIC "-
I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE"   SNMP.c
SNMP.xs: In function `__libraries_init&#039;:
SNMP.xs:229: `NETSNMP_DS_LIBRARY_ID&#039; 
undeclared (first use in this function)
SNMP.xs:229: (Each undeclared identifier is reported 
only once
SNMP.xs:229: for each function it appears in.)
SNMP.xs:229: 
`NETSNMP_DS_LIB_DONT_BREAKDOWN_OIDS&#039; 
undeclared (first use in this function)
SNMP.xs:230: 
`NETSNMP_DS_LIB_PRINT_SUFFIX_ONLY&#039; undeclared 
(first use in this function)
SNMP.xs: In function `__snmp_xs_cb&#039;:
SNMP.xs:1247: `NETSNMP_DS_LIBRARY_ID&#039; 
undeclared (first use in this function)
SNMP.xs:1247: 
`NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS&#039; 
undeclared (first use in this function)
SNMP.xs:1248: 
`NETSNMP_DS_LIB_PRINT_FULL_OID&#039; undeclared 
(first use in this function)
SNMP.xs: In function `_bulkwalk_recv_pdu&#039;:
SNMP.xs:1856: `NETSNMP_DS_LIBRARY_ID&#039; 
undeclared (first use in this function)
SNMP.xs:1856: 
`NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS&#039; 
undeclared (first use in this function)
SNMP.xs:1857: 
`NETSNMP_DS_LIB_PRINT_FULL_OID&#039; undeclared 
(first use in this function)
SNMP.xs:1858: 
`NETSNMP_DS_LIB_OID_OUTPUT_FORMAT&#039; 
undeclared (first use in this function)
SNMP.xs:1863: `NETSNMP_OID_OUTPUT_NUMERIC&#039; 
undeclared (first use in this function)
SNMP.xs: In function `XS_SNMP__getnext&#039;:
SNMP.xs:3268: `NETSNMP_DS_LIBRARY_ID&#039; 
undeclared (first use in this function)
SNMP.xs:3269: 
`NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS&#039; 
undeclared (first use in this function)
SNMP.xs:3271: 
`NETSNMP_DS_LIB_PRINT_FULL_OID&#039; undeclared 
(first use in this function)
SNMP.xs: In function `XS_SNMP__getbulk&#039;:
SNMP.xs:3475: `NETSNMP_DS_LIBRARY_ID&#039; 
undeclared (first use in this function)
SNMP.xs:3476: 
`NETSNMP_DS_LIB_PRINT_NUMERIC_OIDS&#039; 
undeclared (first use in this function)
SNMP.xs:3478: 
`NETSNMP_DS_LIB_PRINT_FULL_OID&#039; undeclared 
(first use in this function)
SNMP.xs: In function `XS_SNMP__set_replace_newer&#039;:
SNMP.xs:4422: `NETSNMP_DS_LIBRARY_ID&#039; 
undeclared (first use in this function)
SNMP.xs:4422: `NETSNMP_DS_LIB_MIB_REPLACE&#039; 
undeclared (first use in this function)
make: *** [SNMP.o] Error 1




----------------------------------------------------------------------

Comment By: Dave Shield (dts12)
Date: 2002-12-11 06:42

Message:
Logged In: YES 
user_id=88893

Apologies for the delay in responding to this.
The documentation problem has certainly been
addressed, and there have been changes to the
code which may also have fixed your build problems.
  This module certainly build correctly on other
architectures.   Can you please try the current
code, and see whether things have been fixed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=613371&group_id=12694


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
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