[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. Fix: unknown How-To-Repeat: python: import yapsnmp
Responsible Changed From-To: freebsd-ports-bugs->arved My port
State Changed From-To: open->analyzed I can't reproduce, but i think you are right that the problem is swig-related. Can you try to deinstall swig before installing py-yapsnmp? The port does not actually depend on swig. I will try to fix the swig warnings and see if it will make a difference.
If you don't want to deinstall swig, can you try to place this patch in the ports files/ directory? http://people.freebsd.org/~arved/stuff/patch-src-Makefile.in regards tilman
FYI - building without SWIG installed gave me a module that loads successfully and successfully queries an agent: (where x is a yapsnmmp.Session object) >>> x.get('sysUpTime.0') '69789774' I will attempt to build with the patch supplied momentarily. Thanks, Marty
Tilman Linneweh wrote: > If you don't want to deinstall swig, can you try to place this patch in the ports files/ directory? > > http://people.freebsd.org/~arved/stuff/patch-src-Makefile.in The patch works. The module built can also correctly query a running agent: >>> x.get('sysLocation.0') 'Home Office' My most sincere thanks for your time and help. I particularly appreciate your promptness and willingness to fit the fix to my environment. Marty
State Changed From-To: analyzed->closed Thanks for your report! The patch was committed to the port.