Since I got the errors trying to build the latest versions (xerces and
xml-security), I"m trying xerces 2.8 and xml 1.4.  I just got this error and
you mention to check the logs but the config.log doesn't give a clue.

Any other ideas?



Scott Cantor wrote:
> 
>> last output lines:
>> [...]
>> checking for Xerces 2.x or 3.x headers in XERCESCROOT/include... found
>> checking for Xerces 2.x or 3.x library naming convention... unable to
>> determine
>> configure: error: cannot link to Xerces library
> 
> Check the log (jeesh, I wish configure would just *say* that when it
> errors
> out, it would save so much email).
> 
>> xerces is xerces-c-src_2_8_0 installed in /opt/shibboleth-sp
>> some env:
>> 
>> XERCESCROOT=/usr/local/src/xerces-c-src_2_8_0
> 
> That's not necessary for building xmlsec anymore, and you can use
> --with-xerces if you need to.
> 
>> CPPFLAGS=-I/opt/shibboleth-sp/include/xercesc/
>> LDFLAGS=-L/opt/shibboleth-sp/lib/
> 
> As a rule, NEVER manually set those to values that configure should be
> getting through "proper" options. It just confuses the scripts.
> 
>> I'm sure I'm doing something wrong. Unfortunately I'm a newcomer.
> 
> Well, the code you're trying to build is not supported on FreeBSD, so
> consider whether that's even something you can deal with anyway.
> 
> -- Scott
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/xml-security-c1.4-and-freebsd-tp17886242p24175679.html
Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.

Reply via email to