Click here to get back home

SOAP::Lite requires Expat

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SOAP::Lite requires Expat theorem 03-14-2007
Posted by theorem on March 14, 2007, 5:30 pm
Please log in for more thread options


sherm wrote:
>> It appears that I do have expat on my system from the debian apt-get
>> install expat:

>> /usr/lib/libexpat.so.0
>> /usr/lib/libexpat.so.1
>> /usr/lib/libexpat.so.1.0.0

>> So is this a PATH problem, and if so how do I get CPAN to look for the
>> correct PATH?

>That's just the runtime library - it doesn't include the headers needed
>to compile against expat.

>apt-get install libexpat1-dev


This is good to get the required header files in place, but I'm
confused how I can do this for a system that does not have expat on
it, and I am not a root user. I'm trying to build this under CPAN and
have altered my "makepl_arg' to install to a local folder .. but how
do I point make to use the correct libraries ? Do I need further
makepl_args ? here's what I currently have :

'makepl_arg' => q[PREFIX=/app/gmd/data/apache_perllibs \
INSTALLPRIVLIB=/app/gmd/data/apache_perllibs/lib/perl5 \
INSTALLSCRIPT=/app/gmd/data/apache_perllibs/bin \
INSTALLSITELIB=/app/gmd/data/apache_perllibs/lib/perl5/site_perl \
INSTALLBIN=/app/gmd/data/apache_perllibs/bin \
INSTALLMAN1DIR=/app/gmd/data/apache_perllibs/lib/perl5/man \
INSTALLMAN3DIR=/app/gmd/data/apache_perllibs/lib/perl5/man3],


Posted by Sisyphus on March 14, 2007, 6:53 pm
Please log in for more thread options



.
.
>>apt-get install libexpat1-dev
>
>
> This is good to get the required header files in place, but I'm
> confused how I can do this for a system that does not have expat on
> it, and I am not a root user.

One option is to build Expat from source and install it to some location
that doesn't need root privileges - which I think is usually achieved by
passing the appropriate 'PREFIX=/home/user/..." argument to './configure'.
(Run './configure --help' prior to building for a full list of options.)
It should be a simple and straightforward build. The only difficulty I
experienced was that, after successfully running 'make', I had to manually
copy lib/expat.h and lib/expat_external.h to the tests folder to get 'make
check' to run successfully - but that might be simply because I was on
Win32.

Cheers,
Rob


Similar ThreadsPosted
SOAP::Lite : Problem of # sign added by SOAP::Lite in the sent SOAPActionstring November 5, 2004, 8:45 pm
SOAP::Lite WSDL method with multiple soap:body parts February 16, 2005, 3:32 pm
Writing a HTML/ASP SOAP client for a SOAP::Lite destination March 16, 2005, 5:19 pm
Help with SOAP::Lite January 19, 2005, 11:35 pm
SOAP::Lite March 3, 2005, 6:13 am
Using SOAP::Lite and .NET November 16, 2005, 2:12 pm
SOAP::Lite March 5, 2007, 4:26 am
use SOAP::Lite +autodispatch ??? November 23, 2004, 3:12 am
SOAP::Lite weirdness April 6, 2006, 8:07 am
ForkOnAccept for SOAP::Lite TCP server November 27, 2004, 11:32 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap