Hello,
there are several specs in the source tree, perhaps some need to be
updated or removed. Can you point the path to the one you used?
Cheers,
Daniel
On 11/07/14 04:25, Allen Zhang wrote:
Hi,
There is a bug in the kamailio.spec file from kamailio-4.0.0.0’s
source code directory (if it matters to anyone but me).
This piece of config:
%if 0%{?centos}
Requires: net-snmp-agent-libs
%else
Requires: net-snmp-libs
Should be this:
%if 0%{?fedora}
Requires: net-snmp-agent-libs
%else
Requires: net-snmp-libs
The spec file from the build service is correct. So I guess it
doesn’t matter to most people.
Cheers,
Allen
*From:*sr-users-bounces@lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of *Allen Zhang
*Sent:* Friday, 11 July 2014 9:04 a.m.
*To:* miconda(a)gmail.com; Kamailio (SER) - Users Mailing List
*Subject:* Re: [SR-Users] Really need help on kamailio-snmpstats module
Hi Daniel,
I’m using the kamailio.spec in the source from kamailio-4.0.0.
I’ll go through the package names again.
Cheer,
Allen
*From:*sr-users-bounces@lists.sip-router.org
<mailto:sr-users-bounces@lists.sip-router.org>
[mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of
*Daniel-Constantin Mierla
*Sent:* Thursday, 10 July 2014 6:30 p.m.
*To:* Kamailio (SER) - Users Mailing List
*Subject:* Re: [SR-Users] Really need help on kamailio-snmpstats module
Hello,
which kamailio.spec are you using? Try to edit it to have the
dependency named as the package available on your system.
Cheers,
Daniel
On 09/07/14 07:21, Allen Zhang wrote:
Hi
This is a re-post. I’m desperate.
What I’m trying to do:
Use rpmbuild to build kamailio rpms from source code. We made a
lot of changes in the kamailio code. I can’t use the rpms from the
build service. The plan is to push these changes to kamailio but
that’s not done, yet.
The problem is when I try to install kamailio-snmpstats module
from the rpm built, it reports error:
Error: Package: kamailio-snmpstats-4.0.0-0.el6.x86_64 (company_name)
Requires: net-snmp-agent-libs
I’ve installed net-snmp on the build machine and the machine that
needs to install kamailio-snmpstats.
I have tried to use the kamailio.spec file from kamailio build
server but it didn’t solve the problem.
Can anyone help, please?
Regards,
Allen
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -http://www.asipto.com
http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda>
-http://www.linkedin.com/in/miconda