[xmlsec] Problem with xmlsec configure

Mike Peat mpeat at unicorninterglobal.com
Wed Nov 21 02:09:15 PST 2012


On 20/11/2012 16:49, Mike Peat wrote:
> Hi
>
> I am having a stupid problem configuring my build of xmlsec. Having 
> got all of the other libraries (libiconv, openssl, zlib, libxml2 and 
> libxslt) to build OK (I think/hope), the xmlsec ./configure can't seem 
> to find libxslt, although it finds libxml2 OK:
>
> $ ./configure --prefix=/projects/xmlsec/xmlsec1-1.2.18 \
>         --with-openssl=/projects/xmlsec/openssl-1.0.1c \
>         --with-libxml=/projects/xmlsec/libxml2-2.9.0 \
>         --with-libxslt=/projects/xmlsec/libxslt-1.1.27
>
> Produces, after a bit:
>
> ...
> checking for xml2-config... /projects/xmlsec/libxml2-2.9.0/bin/xml2-config
> checking libxml2 /projects/xmlsec/libxml2-2.9.0/bin/xml2-config ... 
> yes ('2.9.0')
> checking for xslt-config... no
> checking for libxslt libraries >= 1.0.20... configure: error: Unable 
> to find libxslt at '/projects/xmlsec/libxslt-1.1.27'
>
> But:
>
> $ ls -l /projects/xmlsec/libxslt-1.1.27/xslt-config
> -rwxr-xr-x 1 mike Administrators 2537 Nov 19 18:57 
> /projects/xmlsec/libxslt-1.1.27/xslt-config
>
> I am a bit baffled... looking through the code in the xmlsec 
> "configure" I am having trouble spotting exactly what it is that it is 
> looking for but not finding. Has anyone any helpful thoughts about 
> what I am doing wrong?
>
> TIA
>
> Mike Peat
>
I have now found that copying xslt-config from its "natural" location in 
/projects/xmlsec/libxslt-1.1.27 to /projects/xmlsec/xmlsec1-1.2.18 (the 
build directory) seems to work around the problem.

I /may/ try modifying the configure script to address this - does 
anybody have any thoughts?

Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20121121/5f4d373b/attachment.html>


More information about the xmlsec mailing list