<p>. . .</p>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: "EdShallow" <<a href="mailto:ed.shallow@gmail.com">ed.shallow@gmail.com</a>><br>Date: Oct 10, 2011 12:33 PM<br>Subject: Re: [xmlsec] Building statically<br>
To: "Aleksey Sanin" <<a href="mailto:aleksey@aleksey.com">aleksey@aleksey.com</a>><br><br type="attribution"><p>Yes, agreed. One ought to follow Igor's notes on compiling for Windows and use either the MSDDK or VC6, nothing newer although some have had success.</p>
<div class="elided-text">
<div class="gmail_quote">On Oct 10, 2011 12:28 PM, "Aleksey Sanin" <<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Honestly, Windows makefile are complete crap and it changes significantly with every major MSVC version.<br>
<br>
<br>
Aleksey<br>
<br>
On 10/10/11 9:13 AM, Floodeenjr, Thomas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That does not instill confidence...<br>
<br>
<br>
Thomas Floodeen, Jr.<br>
Mentor Graphics BSD<br>
<a href="tel:720.494.1133" value="+17204941133" target="_blank">720.494.1133</a><br>
<br>
<br>
-----Original Message-----<br>
From: Aleksey Sanin [mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>]<br>
Sent: Monday, October 10, 2011 9:53 AM<br>
To: Floodeenjr, Thomas<br>
Cc: <a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a><br>
Subject: Re: [xmlsec] Building statically<br>
<br>
Weird.<br>
<br>
Aleksey<br>
<br>
On 10/10/11 8:45 AM, Floodeenjr, Thomas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Is there a way to build only static xmlsec libraries? When I attempt to do so, the dynamic libraries still try to build.<br>
<br>
I am setting these options: static=yes with-dl=no iconv=no debug=no<br>
crypto=openssl unicode=no nt4=no xslt=no<br>
<br>
<br>
Which generates this configure.txt:<br>
<br>
# .\configure.txt<br>
# This file is generated automatically by configure.js.<br>
<br>
XMLSEC_VERSION_MAJOR=1<br>
XMLSEC_VERSION_MINOR=2<br>
XMLSEC_VERSION_SUBMINOR=16<br>
BASEDIR=..<br>
XMLSEC_SRCDIR=..\src<br>
APPS_SRCDIR=..\apps<br>
BINDIR=binaries<br>
WITH_CRYPTO=openssl<br>
WITH_DEFAULT_CRYPTO=openssl<br>
WITH_OPENSSL=1<br>
WITH_OPENSSL_VERSION=XMLSEC_<u></u>OPENSSL_098<br>
WITH_NSS=0<br>
WITH_MSCRYPTO=0<br>
WITH_LIBXSLT=0<br>
WITH_ICONV=0<br>
WITH_NT4=0<br>
UNICODE=0<br>
DEBUG=0<br>
STATIC=1<br>
WITH_DL=0<br>
PREFIX=C:\Build\slimming1\<u></u>xmlsec1-1.2.16\..\install\<u></u>win32<br>
BINPREFIX=$(PREFIX)\bin<br>
INCPREFIX=$(PREFIX)\include<br>
LIBPREFIX=$(PREFIX)\lib<br>
SOPREFIX=$(PREFIX)\lib<br>
INCLUDE=$(INCLUDE);C:\Build\<u></u>slimming1\xmlsec1-1.2.16\..\<u></u>install\win32\<br>
include;C:\Build\slimming1\<u></u>xmlsec1-1.2.16\..\install\<u></u>win32\include;c:\<br>
Program Files (x86)\Microsoft Visual Studio<br>
9.0\VC\ATLMFC\INCLUDE;c:\<u></u>Program Files (x86)\Microsoft Visual Studio<br>
9.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v6.0A\include;<br>
LIB=$(LIB);C:\Build\slimming1\<u></u>xmlsec1-1.2.16\..\install\<u></u>win32\lib;C:\B<br>
uild\slimming1\xmlsec1-1.2.16\<u></u>..\install\win32\lib;c:\<u></u>Program Files<br>
(x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;c:\Program Files<br>
(x86)\Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\Microsoft<br>
SDKs\Windows\v6.0A\lib;<br>
<br>
<br>
Yet, dlls are still attempted:<br>
<br>
        link.exe /nologo /LIBPATH:binaries<br>
/LIBPATH:C:\Build\slimming1\<u></u>xmlsec1-1.2.16\..\install\<u></u>win32\lib /DEBUG /DLL /VERSION:1.2  /IMPLIB:binaries\libxmlsec-<u></u>openssl.lib /OUT:binaries\libxmlsec-<u></u>openssl.dll  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\app.obj <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\bn.obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\ciphers.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\crypto.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\digests.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\evp.obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\hmac.obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\kt_rsa.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\kw_aes.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\kw_des.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\<u></u>signatures.obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\strings.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\symkeys.<u></u>obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\x509.obj  <a href="http://libxmlsec_openssl.int" target="_blank">libxmlsec_openssl.int</a>\x509vfy.<u></u>obj libxmlsec.lib  libxml2.lib libeay32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib LINK : fatal error LNK1104: cannot open file 'libeay32.lib'<br>


<br>
I am building only static OpenSSL libraries.<br>
<br>
Thanks,<br>
-Tom<br>
<br>
<br>
Thomas Floodeen, Jr.<br>
Mentor Graphics BSD<br>
<a href="tel:720.494.1133" value="+17204941133" target="_blank">720.494.1133</a><br>
<br>
______________________________<u></u>_________________<br>
xmlsec mailing list<br>
<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a><br>
<a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/<u></u>mailman/listinfo/xmlsec</a><br>
</blockquote>
______________________________<u></u>_________________<br>
xmlsec mailing list<br>
<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a><br>
<a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/<u></u>mailman/listinfo/xmlsec</a><br>
</blockquote>
______________________________<u></u>_________________<br>
xmlsec mailing list<br>
<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a><br>
<a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/<u></u>mailman/listinfo/xmlsec</a><br>
</blockquote></div>
</div></div>