UNCLASSIFIED

G'day Scott,

To get the error message I'm reporting I did the following under a
Cygwin shell:

1. tar -xvzf xml-security-c-1.5.1.tar.gz 2. cd xml-security-c-1.5.1 3.
./configure 4. make 

Never got anywhere near an MSVC compile. I don't even have it installed.
The Xerces library should be the one that comes with Cygwin and are
currently xerces-c-3.0.1.

I'll try compiling my own version of xerces-c under Cygwin and see if
this fixes the issue.

Have Fun !!
 
Shane Hill

-----Original Message-----
From: Scott Cantor [mailto:canto...@osu.edu]
Sent: Friday, 25 September 2009 11:03 AM
To: security-dev@xml.apache.org
Subject: RE: Xml-security-c 1.5.x won't compile under Cygwin
[SEC=UNCLASSIFIED]

Hill, Shane wrote on 2009-09-24:
> Has anyone had this issue of not being able to compile xml-security-c 
> 1.5.0 or 1.5.1 under Cygwin? Something to do with DLL import/export.
> Very nasty ... should not need this under Cygwin. Just treat a Cygwin 
> compile just like it were Linux and all should be fine. Except I can't

> seem to get the makefile structure to allow me to do this ... Yet.

Whatever you're doing is not the right thing, you're pulling in Xerces
headers based on MSVC and they're defining the macros properly for
standard Windows builds. The xmlsec macros depend on those directly.

You have to use a configure-based build certainly, all the way down the
stack.

None of which is to say this will work on cygwin no matter what you do,
but that's the reason you're getting errors.

-- Scott



IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
Crimes Act 1914. If you have received this email in error, you are
requested to contact the sender and delete the email.

Reply via email to