[xmlsec] Problem with xmlsec configure

Aleksey Sanin aleksey at aleksey.com
Wed Nov 21 06:13:44 PST 2012


"--with-XXX" option should be used for *installed* copy of the
dependencies. In your case, it sounds that you are using raw
source tree so you might want to use "--with-XXX-src" option
(note that it exists only for Libxml2/Libxslt).

Aleksey

On 11/20/12 8:49 AM, 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
> 
> 
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
> 


More information about the xmlsec mailing list