[Qt-interest] Re : Configure hangs on Windows when building Qt 4.6 when adding -openssl-linked
Garth Dahlstrom
ironstorm at gmail.com
Fri Nov 13 20:08:00 CET 2009
4.5.3 built with SSL, everything accept SSL was static ... I'm following the instructions at http://www.qtcentre.org/forum/f-installation-and-deployment-5/t-qt-453-openssl-098k-windows-static-mingw32-25453.html to try to get it to go completely static.
I've opened a JIRA for the configure.exe hanging issue -> http://bugreports.qt.nokia.com/browse/QTBUG-5802
Cheers,
-G
On 2009-11-12, at 6:13 PM, Garth Dahlstrom wrote:
> Looks like the problem with the configure.exe hanging with -openssl-linked is a 4.6 problem only.
>
> I'm building Qt SDK 2009.04 for Windows with the same arguments right now, flew through configuration spitting this up right before starting qmake:
> Include paths...............E:\OpenSSL\include
> Additional libraries........-LE:\OpenSSL\lib\MinGW
> WARNING: Using static linking will disable the use of plugins.
> Make sure you compile ALL needed modules into the library.
> NOTE: When linking against OpenSSL, you can override the default
> library names through OPENSSL_LIBS.
> For example:
> configure -openssl-linked OPENSSL_LIBS='-lssleay32 -llibeay32'
> Creating qmake...
>
> Guess I will have stay on 4.5.3 on Windows until 4.6.1 hopefully addresses it...
>
> -G
>
> On 2009-11-12, at 11:19 AM, Garth Dahlstrom wrote:
>
>> Unfortunately, removing the space yields
>>
>> Unknown option -LE:\OpenSSL\lib\MinGW
>> Usage: configure [-buildkey <key>]
>> [-release] [-debug] [-debug-and-release] [-shared] [-static]
>> ...
>> with configure.exe on Windows
>>
>> It says the syntax is:
>> [-I <includepath>] [-L <librarypath>]
>>
>> Besides if I delete both the -I and -L configure.exe still hangs, its not even making it to the configure summary screen much less actually firing up gcc or the linker.
>>
>> -G
>>
>> On 2009-11-12, at 9:44 AM, BOUCARD Olivier wrote:
>>
>>> To declare external library, you must not put space between -L and the path.
>>> For example, if you have a library named libssl.a in the C:\OpenSSL\lib :
>>>
>>> -LC:\OpenSSL\lib <- this adds a libraries search path
>>> -lssl <- this searches for libssl.a in libraries search paths (including C:\OpenSSL\lib)
>>>
>>> De : Garth Dahlstrom <ironstorm at gmail.com>
>>> À : qt-interest at trolltech.com
>>> Envoyé le : Jeu 12 Novembre 2009, 15 h 22 min 19 s
>>> Objet : Re: [Qt-interest] Configure hangs on Windows when building Qt 4.6 when adding -openssl-linked
>>>
>>> On 2009-11-12, at 9:07 AM, Zeljko <zeljko at holobit.net> wrote:
>>>
>>> > Garth Dahlstrom wrote:
>>> >
>>> >> windowsmobile -debug-and-release -openssl-linked -I "E:\OpenSSL
>>> >> \include" -L "E:\OpenSSL\lib\MinGW"
>>> >
>>> > what about (path delimiter change),
>>> > windowsmobile -debug-and-release -openssl-linked -I "E:/OpenSSL
>>> > /include" -L "E:/OpenSSL/lib/MinGW"
>>>
>>> Tried it with slashes in both directions, it even hangs if I delete
>>> the -I & -L args and just have "-openssl-linked"... I've tried this
>>> on 3 Windows XP VMs result are the same on each. Longest I left it
>>> running was about 6 hours.
>>>
>>> It is definitely something to do with "-openssl-linked" specifically
>>> causing configure.exe to hang.
>>>
>>> I also tried " -openssl-linked OPENSSL_LIBS='-lssleay32 -llibeay32' "
>>> but configure.exe spits out the help page telling me that is not a
>>> correct syntax.
>>>
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091113/c1a3dc87/attachment.html
More information about the Qt-interest-old
mailing list