Hello Saul, This is what I was trying actually, but I receive the following errors:
mediaproxy/interfaces/system/_conntrack.c:132: warning: implicit declaration of function âPy_VISITâ mediaproxy/interfaces/system/_conntrack.c:132: error: âForwardingRuleâ has no member named âdictâ mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_clearâ: mediaproxy/interfaces/system/_conntrack.c:140: warning: implicit declaration of function âPy_CLEARâ mediaproxy/interfaces/system/_conntrack.c:140: error: âForwardingRuleâ has no member named âdictâ mediaproxy/interfaces/system/_conntrack.c: At top level: mediaproxy/interfaces/system/_conntrack.c:145: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token mediaproxy/interfaces/system/_conntrack.c: In function âForwardingRule_deallocâ: mediaproxy/interfaces/system/_conntrack.c:180: warning: implicit declaration of function âPyObject_GC_UnTrackâ mediaproxy/interfaces/system/_conntrack.c:183: error: âForwardingRuleâ has no member named âis_activeâ mediaproxy/interfaces/system/_conntrack.c:184: error: âForwardingRuleâ has no member named âconntrackâ mediaproxy/interfaces/system/_conntrack.c:186: error: âPy_BEGIN_ALLOW_THREADSâ undeclared (first use in this function) mediaproxy/interfaces/system/_conntrack.c:186: error: (Each undeclared identifier is reported only once mediaproxy/interfaces/system/_conntrack.c:186: error: for each function it appears in.) mediaproxy/interfaces/system/_conntrack.c:187: error: expected â;â before âct_handleâ mediaproxy/interfaces/system/_conntrack.c:189: error: âForwardingRuleâ has no member named âconntrackâ mediaproxy/interfaces/system/_conntrack.c:192: error: âPy_END_ALLOW_THREADSâ undeclared (first use in this function) mediaproxy/interfaces/system/_conntrack.c:193: error: expected â;â before â}â token mediaproxy/interfaces/system/_conntrack.c:194: error: âForwardingRuleâ has no member named âconntrackâ mediaproxy/interfaces/system/_conntrack.c:196: error: âForwardingRuleâ has no member named âob_typeâ mediaproxy/interfaces/system/_conntrack.c:196: error: âPyObjectâ undeclared (first use in this function) mediaproxy/interfaces/system/_conntrack.c:196: error: expected expression before â)â token mediaproxy/interfaces/system/_conntrack.c: At top level: mediaproxy/interfaces/system/_conntrack.c:201: error: expected declaration specifiers or â...â before âPyObjectâ And I think I'm near to give up this environment for SIP. I notice that before I installed MediaProxy to Ubuntu 10.04 and at least the build and install were running OK. Liviu ________________________________ From: Saúl Ibarra Corretgé <[email protected]> To: OpenSIPS users mailling list <[email protected]> Sent: Fri, June 10, 2011 4:49:51 PM Subject: Re: [OpenSIPS-Users] MediaProxy installation error Hi, On Jun 10, 2011, at 3:25 PM, Barsan Liviu wrote: > Hello, > > We were installing the mediaproxy from your repository with apt-get ... , >including all prerequisites and we can not run media relay because we receive >the error: > > fatal error: failed to create MediaProxy Relay: cannot import name >default_host_ip > Jun 10 19:09:05 P4302 media-relay[2333]: Traceback (most recent call last): > Jun 10 19:09:05 P4302 media-relay[2333]: File "/usr/bin/media-relay", line >61, in <module> > Jun 10 19:09:05 P4302 media-relay[2333]: from mediaproxy.relay import >MediaRelay > Jun 10 19:09:05 P4302 media-relay[2333]: File >"/usr/lib/pymodules/python2.6/mediaproxy/relay.py", line 33, in <module> > Jun 10 19:09:05 P4302 media-relay[2333]: from application.system import >default_host_ip > Jun 10 19:09:05 P4302 media-relay[2333]: ImportError: cannot import name >default_host_ip > > As we think this comes from some incompatibility with the python-application >package. By uninstalling the python-application package, all related packages >were uninstalled, thus we can start again from installing from sources. > Would be welcome a tested configuration including which versions of the >prerequisites to install. > We are currently working on new packages, but that will take time. In the meanwhile, you may fetch the source code and build MediaProxy yourself: darcs get http://devel.ag-projects.com/repositories/mediaproxy cd mediaproxy debuild -us -uc Regards, -- Saúl Ibarra Corretgé AG Projects _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
