SOAP::Lite requires Expat

SOAP::Lite requires Expat

am 14.03.2007 22:30:18 von theorem

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] ,

Re: SOAP::Lite requires Expat

am 14.03.2007 23:53:41 von Sisyphus

"theorem" wrote in message
news:1173907817.971906.172280@n76g2000hsh.googlegroups.com.. .
..
..
>>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