[xmlsec] Fwd: Re: Building statically

EdShallow ed.shallow at gmail.com
Mon Oct 10 09:35:02 PDT 2011


. . .
---------- Forwarded message ----------
From: "EdShallow" <ed.shallow at gmail.com>
Date: Oct 10, 2011 12:33 PM
Subject: Re: [xmlsec] Building statically
To: "Aleksey Sanin" <aleksey at aleksey.com>

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.
On Oct 10, 2011 12:28 PM, "Aleksey Sanin" <aleksey at aleksey.com> wrote:

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


More information about the xmlsec mailing list