| Summary: | net-mgmt/py-yapsnmp: python module fails to load | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | mhjacks |
| Component: | Individual Port(s) | Assignee: | Tilman Keskinoz <arved> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
mhjacks
2006-01-21 20:10:09 UTC
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. |