Date: Sat, 21 Jan 2006 20:07:14 GMT From: Martin Jackson <mhjacks@swbell.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/92109: py24-yapsnmp: python module fails to load Message-ID: <200601212007.k0LK7Efu086476@www.freebsd.org> Resent-Message-ID: <200601212010.k0LKAAjI037428@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92109 >Category: ports >Synopsis: py24-yapsnmp: python module fails to load >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 21 20:10:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Martin Jackson >Release: 6.0-RELEASE-p1 >Organization: >Environment: FreeBSD glamdring.minas.tirith 6.0-RELEASE-p1 FreeBSD 6.0-RELEASE-p1 #1: Sun Dec 25 22:27:11 CST 2005 root@glamdring.minas.tirith:/usr/obj/usr/src/sys/SERVER i386 >Description: [glamdring] ~# python Python 2.4.2 (#2, Nov 27 2005, 11:17:01) [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6 Type "help", "copyright", "credits" or "license" for more information. >How-To-Repeat: python: import yapsnmp >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: >>> import yapsnmp Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/yapsnmp.py", line 13, in ? import netsnmp, socket, string File "/usr/local/lib/python2.4/site-packages/netsnmp.py", line 4, in ? import _netsnmp ImportError: /usr/local/lib/python2.4/site-packages/_netsnmp.so: Undefined symbol "snmp_get_fd_for_session" SWIG complains a bit during the build phase: swig -python -shadow -I/usr/local/include/net-snmp/library net-snmp.i /usr/local/include/net-snmp/library/snmp.h:309: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:310: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:311: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:312: Warning(305): Bad constant value (ignored). /usr/local/include/net-snmp/library/snmp.h:313: Warning(305): Bad constant value (ignored). mib.h:37: Warning(305): Bad constant value (ignored). net-snmp.i:38: Warning(113): %addmethods is now %extend net-snmp.i:61: Warning(113): %addmethods is now %extend net-snmp.i:125: Warning(119): %typemap(ignore) has been replaced by %typemap(in,numinputs=0). net-snmp.i:129: Warning(450): Deprecated typemap feature ($source/$target). net-snmp.i:129: Warning(450): The use of $source and $target in a typemap declaration is deprecated. For typemaps related to argument input (in,ignore,default,arginit,check), replace $source by $input and $target by $1. For typemaps related to return values (out, argout,ret,except), replace $source by $1 and $target by $result. See the file Doc/Manual/Typemaps.html for complete details. net-snmp.i:133: Warning(450): Deprecated typemap feature ($source/$target). net-snmp.i:151: Warning(450): Deprecated typemap feature ($source/$target). I'm using net-snmp-5.2.2 (from ports), python-2.4.2 (from ports), and swig-1.3.27 (from ports).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601212007.k0LK7Efu086476>