[Spce-user] Problem compiling SIPWISE kamailio-src on debian 6.0.6
Joel Smith | VOZELIA
joel at vozelia.com
Mon Dec 10 05:09:09 EST 2012
Hi,
I can't compile Kamailio on debian 6.0.6.
I've downloaded your src packages and I've done a little modification
on the kamailio lcr module (I'll post about that later).
The first time I tried to build the package I got an error saying that
libmysqlclient-dev was missing...
The .deb for libmysqlclient-dev from Debian 6.0.6 was not compatible
so I had to download the exact version from percona:
root at sipomv1:~# dpkg -l | grep percona-server
ii percona-server-client-5.1
5.1.57-rel12.8-233.squeeze Percona Server database client binaries
ii percona-server-common
5.1.57-rel12.8-233.squeeze Percona Server database common files
(e.g. /etc/mysql/my.cnf)
ii percona-server-server-5.1
5.1.57-rel12.8-233.squeeze Percona Server database server binaries
root at sipomv1:~#
root at sipomv1:~# dpkg -l | grep libmysqlclient
ii libmysqlclient-dev
5.1.57-rel12.8-233.squeeze Percona Server database development files
ii libmysqlclient16
5.1.57-rel12.8-233.squeeze Percona Server database client library
root at sipomv1:~#
OK, got past the MySQL errors, now its XMLRPC's turn:
root at sipomv1:/opt/kamailio-src/kamailio-3.3+ngcp2.6.10# dpkg-buildpackage
[...]
[...]
[...]
make[1]: Leaving directory `/opt/kamailio-src/kamailio-3.3+ngcp2.6.10'
/usr/bin/make every-module group_include="kxml"
make[1]: Entering directory `/opt/kamailio-src/kamailio-3.3+ngcp2.6.10'
CC (gcc) [M xmlrpc.so] http.o
CC (gcc) [M xmlrpc.so] xmlrpc.o
LD (gcc) [M xmlrpc.so] xmlrpc.so
CC (gcc) [M xmlops.so] pv_xml.o
CC (gcc) [M xmlops.so] xmlops_mod.o
LD (gcc) [M xmlops.so] xmlops.so
Makefile:46: You are using an unsupported libxmlrpc-c3 version
(1.16.7), compile at your own risk!
Makefile:46: You are using an unsupported libxmlrpc-c3 version
(1.16.7), compile at your own risk!
CC (gcc) [M mi_xmlrpc.so] abyss_conf.o
CC (gcc) [M mi_xmlrpc.so] abyss_conn.o
CC (gcc) [M mi_xmlrpc.so] abyss_data.o
abyss_data.c:219: error: expected ‘)’ before ‘*’ token
abyss_data.c:236: error: expected ‘)’ before ‘*’ token
abyss_data.c:249: error: expected ‘)’ before ‘*’ token
abyss_data.c:287: error: expected ‘)’ before ‘*’ token
abyss_data.c:299: error: expected ‘)’ before ‘*’ token
abyss_data.c:312: error: expected ‘)’ before ‘*’ token
abyss_data.c:326: error: expected ‘)’ before ‘*’ token
abyss_data.c:332: error: expected ‘)’ before ‘*’ token
make[2]: *** [abyss_data.o] Error 1
make[1]: *** [modules_k] Error 1
make[1]: Leaving directory `/opt/kamailio-src/kamailio-3.3+ngcp2.6.10'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
root at sipomv1:/opt/kamailio-src/kamailio-3.3+ngcp2.6.10#
root at sipomv1:~# xmlrpc-c-config --version
1.16.7
root at sipomv1:~#
root at sipomv1:~# dpkg -l | grep xmlrpc
ii libxmlrpc-c3 1.16.07-1
A lightweight RPC library based on XML and HTTP for C and C++
ii libxmlrpc-c3-dev 1.16.07-1
A lightweight RPC library based on XML and HTTP for C and C++
root at sipomv1:~#
Do I have to downgrade libxmlprc also?
Am I going to get infinite dependency problems?
Is there a special OS version requirement to be able to compile your
Kamailio src package?
Thanks in advanced.
Best regards,
Joel.
More information about the Spce-user
mailing list