good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Incorporate CPAN module to mod-perlby athanasia (Pilgrim) |
on Jan 14, 2009 at 10:08 UTC ( [id://736176]=perlquestion: print w/replies, xml ) | Need Help?? |
athanasia has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks,
Hopefully, this question is within the scope of this group and not irrelevant. I apologise in advance if the opposite is true. I have the following problem. I am using Debian Linux and just downloaded some modules with apt-get install (i.e. libsoap-lite-perl and libapache2-mod-perl2-dev) in order to create a minimal server application in my pc that accepts SOAP messages from a cpe. These modules have installed SOAP::Lite, SOAP::Transport::HTTP::Apache etc. my pc, which I have successfully used to receive and correctly decode the SOAP message from the client. Now, I need the inverse procedure, i.e. I need the server to send a SOAP message (call an RPC method) to the cpe(client). From a quick scan in CPAN, I found SOAP::EnvelopeMaker which (I think) I need to accomplish this, and which unfortunately is not included in the mod-perl modules I have installed. I tried entering the CPAN shell and installed SOAP::EnvelopeMaker from there. This caused my former code not to work (it suddenly started complaining for some packages it cannot find). By removing the CPAN module, my former code works again. There seems to be a conflict in @INC, I mean between where CPAN modules are installed (/usr/local/share/perl/5.10.0) and where aptitude modules are installed (/usr/share/perl5/). How can I smoothly integrate them? Or, alternatively, is there a mod-perl module that includes SOAP::EnvelopeMaker? Cheers, Athanasia
Back to
Seekers of Perl Wisdom
|
|