Thanks a lot Kriti. I could successfully compile the mi_xmlrpc module.
For those of you who may follow this thread, you need to modify few files in
the source of xmlrpc-c-0.9.10.tar.gz. Few files like DataType.cc in
tools/xml-rpc-api2cpp directory includes < iostream.h> and few versions of
g++ do not like this. You just have to remove the .h (i.e., do
#include<iostream>). This may happen with few other files and the same fix
works.
Thanks once again to Kriti.
Regards,
Purna Chandar M
On 9/5/07, Kriti Wadhwa <kriti.wadhwa(a)tcs.com> wrote:
Hi Purna,
We are using PCQLinux as I mentioned in my previous mail, unlike Debian
this needs lots of dependencies to be resolved.
I have these two on my machine:
xmlrpc-c-devel-0.9.10-1
xmlrpc-c-0.9.10-1
I used the following for the installation:
xmlrpc-c-0.9.10.tar.gz (build from source)
xmlrpc-c-devel-0.9.10-1.i386.rpm (direct installation from rpm). As far as
I remember these libraries further needed libwww libraries for complete
installation.
For that I used: w3c-libwww-5.4.0.tgz
I got all these from googling, let me know if you dont get any.
Regards,
- Kriti
*"Purna Chandar M" <cmongusagusa(a)gmail.com>*
Sent by: users-bounces(a)openser.org
09/05/2007 16:42
To users(a)openser.org
cc
bcc
Subject Re: [OpenSER-Users] mi_xmlrpc compilation issues
Hi Kriti
Thanks for the quick reply.
The INSTALL file asks us to install libxmlrpc-c3 library. I could only
find this package for Debian and for none of the other linux flavors. The
latest package for Suse is xmlrpc-c-0.9.10-36 and I have it installed. Can
you please let me know what linux you are using. If you have this rpm, I
would be more than happy if you send it to me.
On 9/5/07, *Kriti Wadhwa* <*kriti.wadhwa(a)tcs.com*> wrote:
Hi Purna,
Even I was stuck with the same issue(s) few days back. I am working on PC
Linux.
Somehow I managed to resolve all but one dependencies... Giving a few
pointers, may help:
-> Install all xmlrpc libraries mentioned in README/INSTALL files through
source instead of rpm.
-> If you get stuck in compilation of libraries, you may get patches on
Koders site.
-> Remove all older versions of Openser code before you start with the
latest one.
-> In src/modules/mi_xml/Makefile include all dependent libraries that
this module needs to get compiled. Please refer to the one I used, it may
help. You may check the dependencies of libwww library and include the
same from /usr/local/lib or /usr/lib.
Makefile:
# WARNING: do not run this directly, it should be run by the master
Makefile
include ../../Makefile.defs
auto_gen=
NAME=mi_xmlrpc.so
LIBS=
DEFS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/xmlrpc-c \
-I$(SYSBASE)/include/xmlrpc-c
LIBS+=-L$(SYSBASE)/lib -L$(SYSBASE)/local/lib -L$(LOCALBASE)/lib
-L$(LOCALBASE)/local/lib -lxmlrpc -lxmlrpc_xmlparse \
-lxmlrpc_xmltok -lxmlrpc_abyss -lxmlrpc_abyss_server \
-lxmlrpc_client -lwwwinit -lwwwstream -lwwwxml -lxmltok
-lxmlparse \
-lwwwutils -lpics -lwwwapp -lwwwcache -lwwwcore -lwwwdir
-lwwwfile \
-lwwwftp -lwwwgopher -lwwwhtml -lwwwhttp -lwwwmime
-lwwwmux \
-lwwwnews -lwwwtelnet -lwwwtrans
include ../../Makefile.modules
Hope this might help.
Regards,
- Kriti
mailto: *kriti.wadhwa(a)cs.com*
*"Purna Chandar M" <**cmongusagusa(a)gmail.com**>*
Sent by: *users-bounces(a)openser.org*
09/05/2007 06:47 AM
To
*users(a)openser.org*
cc
Subject
[OpenSER-Users] mi_xmlrpc compilation issuesHi,
Im trying to compile mi_xmlrpc module in openser but could not succeed.
The following errors are displayed
mi_xmlrpc.c: In function 'xmlrpc_process':
mi_xmlrpc.c:161: error: 'xmlrpc_server_abyss_rpc2_handler' undeclared
(first use in this function)
mi_xmlrpc.c:161: error: (Each undeclared identifier is reported only once
mi_xmlrpc.c:161: error: for each function it appears in.)
mi_xmlrpc.c:167: error: 'xmlrpc_server_abyss_default_handler' undeclared
(first use in this function)
Im using Suse 10.1; The libraries xmlrpc-c-0.9.10-36, libxml-1.8.17-385,
libxml2-devel-2.6.23-13, xmlrpc-c-devel-0.9.10-36 are properly installed.
Few discussions on the mailing list concluded that the module mi_xmlrpc
compiles well on Debian without any dependency issues. Is it true??
Can somebody tell me whether Im missing any dependencies?? Please let me
know how to successfully compile this module.
Thanks and regards,
Purna Chandar M_______________________________________________
Users mailing list
*Users(a)openser.org*
*http://openser.org/cgi-bin/mailman/listinfo/users*
ForwardSourceID:NT0000CFFE
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
ForwardSourceID:NT0001E98A
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you