xml-security-c1.4 and freebsd

View: New views
2 Messages — Rating Filter:   Alert me  

xml-security-c1.4 and freebsd

by Francesco Malvezzi-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not able to build xml-security-c version 1.4 in FreeBSD 7.0.

Source is downloaded from svn
command is:
./configure ./configure --without-xalan --prefix=/opt/shibboleth-sp

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

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
CPPFLAGS=-I/opt/shibboleth-sp/include/xercesc/
LDFLAGS=-L/opt/shibboleth-sp/lib/

I'm sure I'm doing something wrong. Unfortunately I'm a newcomer.

Thank you,

Francesco

--

tel: 059 205 8018

RE: xml-security-c1.4 and freebsd

by Scott Cantor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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


LightInTheBox - Buy quality products at wholesale price!