libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Windows binary with SSL3/TLS


From: silvioprog
Subject: Re: [libmicrohttpd] Windows binary with SSL3/TLS
Date: Sun, 12 Jun 2016 15:12:19 -0300

Perfect!

After many Evgeny corrections, the scripts was updated:

1. http://pastebin.com/gqA5LgFs; (just HTTP server)
2. http://pastebin.com/7J6MWfM0. (full HTTP(S) server)

Thanks Evgeny! ^^

On Sat, Jun 11, 2016 at 7:03 AM, Evgeny Grin <address@hidden> wrote:
On 11.06.2016 0:25, silvioprog wrote:

Some corrections:
[...]
--
Best Wishes,
Evgeny Grin
[...]

Attachment 1:

  1. :: Script for build libmicrohttpd on Windows (no HTTPS, messages, auth etc., just HTTP server)
  2. ::
  3. :: Authors: silvioprog and karlson2k
  4. ::
  5.  
  6.  
  7. :: Open the Command Prompt:
  8. cd C:\msys32 & mingw32_shell.bat
  9.  
  10. :: Installing tools:
  11. pacman -S mingw-w64-i686-gcc make wget tar
  12.  
  13. :: Downloading MHD and upacking MHD ...
  14. cd ~ && wget -c http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.50.tar.gz && tar -zxvf libmicrohttpd-0.9.50.tar.gz
  15.  
  16. :: Configuring MHD build:
  17. mkdir build && cd build && ../libmicrohttpd-0.9.50/configure --disable-doc --disable-examples --disable-messages --enable-https=no --disable-bauth --disable-dauth --disable-curl CFLAGS='-Os -s'
  18. :: You will see a report like:
  19. :: ...
  20. :: configure: libmicrohttpd 0.9.50 Configuration Summary:
  21. ::   Cross-compiling:   no
  22. ::   Operating System:  mingw32
  23. ::   Threading lib:     w32
  24. ::   libcurl (testing): no, many unit tests will not run
  25. ::   Target directory:  /usr/local
  26. ::   Messages:          no
  27. ::   Basic auth.:       no
  28. ::   Digest auth.:      no
  29. ::   Postproc:          yes
  30. ::   HTTPS support:     no (disabled)
  31. ::   poll support:      no
  32. ::   epoll support:     no
  33. ::   build docs:        no
  34. ::   build examples:    no
  35.  
  36. :: Making and installing MHD:
  37. make && make install-strip
  38.  
  39. :: Finally, get compiled shared library at "C:\msys32\usr\local\bin\" and enjoy it! :-)
  40.  
  41. :: If you want to rebuild MHD:
  42. ::
  43. :: make clean
  44. :: ./configure --disable-doc --disable-examples --disable-messages --enable-https=no --disable-bauth --disable-dauth --disable-curl CFLAGS='-Os -s'
  45. :: make -j $NUMBER_OF_PROCESSORS
  46. :: make install-strip

Attachment 2:

  1. :: Script for build libmicrohttpd on Windows (HTTPS, messages, auth etc., full HTTP(S) server)
  2. ::
  3. :: Authors: silvioprog and karlson2k
  4. ::
  5.  
  6.  
  7. :: Open the Command Prompt:
  8. cd C:\msys32 & mingw32_shell.bat
  9.  
  10. :: Installing tools:
  11. pacman -S mingw-w64-i686-gcc make wget tar mingw-w64-i686-curl mingw-w64-i686-libgcrypt mingw-w64-i686-gnutls
  12.  
  13. :: Downloading MHD and upacking MHD ...
  14. cd ~ && wget -c http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.50.tar.gz && tar -zxvf libmicrohttpd-0.9.50.tar.gz
  15.  
  16. :: Configuring MHD build:
  17. mkdir build && cd build && ../libmicrohttpd-0.9.50/configure CFLAGS='-Os -s'
  18. :: You will see a report like:
  19. :: ...
  20. :: configure: libmicrohttpd 0.9.50 Configuration Summary:
  21. ::   Cross-compiling:   no
  22. ::   Operating System:  mingw32
  23. ::   Threading lib:     w32
  24. ::   libcurl (testing): yes
  25. ::   Target directory:  /usr/local
  26. ::   Messages:          yes
  27. ::   Basic auth.:       yes
  28. ::   Digest auth.:      yes
  29. ::   Postproc:          yes
  30. ::   HTTPS support:     yes (using libgnutls and libgcrypt)
  31. ::   poll support:      no
  32. ::   epoll support:     no
  33. ::   build docs:        yes
  34. ::   build examples:    yes
  35. ::
  36. :: configure: HTTPS subsystem configuration:
  37. ::   License         :  LGPL only
  38.  
  39. :: Making and installing MHD:
  40. make && make install-strip
  41.  
  42. :: Finally, get compiled shared library at "C:\msys32\usr\local\bin\" and enjoy it! :-)
  43.  
  44. :: If you want to rebuild MHD, do:
  45. ::
  46. :: make clean
  47. :: ./configure CFLAGS='-Os -s'
  48. :: make -j $NUMBER_OF_PROCESSORS
  49. :: make install-strip

--
Silvio Clécio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]