Re: [libmicrohttpd] Release 0.9.58, but configuration summary is 0.9.55

2017-12-08 Thread Evgeny Grin
Hi,

Make sure that you try sources from official FTP
https://ftp.gnu.org/gnu/libmicrohttpd/

I've just rechecked and it is 0.9.58:
configure: GNU libmicrohttpd 0.9.58 Configuration Summary:

I tried both
https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.58.tar.gz and
https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz with
same result.

-- 
Best Wishes,
Evgeny Grin

08.12.2017 5:20, silvioprog пишет:
> Hi dudes.
>
> I've upgraded my MHD copy and after configuring it I've got the
> following summary:
>
> ===
> *configure: libmicrohttpd 0.9.55 Configuration Summary:*
>   Cross-compiling:   no
>   Operating System:  mingw32
>   Threading lib:     w32
>   Use thread names:  no
>   Inter-thread comm: socketpair
>   libcurl (testing): no, many unit tests will not run
>   Target directory:  /mingw32
>   Shutdown of listening socket
>   trigger select:    no
>   Use debug asserts: no
>   Messages:          yes
>   Basic auth.:       yes
>   Digest auth.:      yes
>   HTTP "Upgrade":    yes
>   Postproc:          yes
>   HTTPS support:     no (disabled)
>   poll support:      no
>   epoll support:     no
>   sendfile used:     no
>   build docs:        no
>   build examples:    no
>
> configure:
>   License         :  LGPL or eCos
> ===
>
> I might be wrong, but it should report *0.9.58*. 😶
>
> --
> Silvio Clécio



signature.asc
Description: OpenPGP digital signature


Re: [libmicrohttpd] Compile Error

2017-12-08 Thread Evgeny Grin
Hi Jong

How do you define 'response' and 'ethbuf08'?
'reponse' must be defined as 'struct MHD_Response *response;'
'ethbuf08' should be defined list some array or pointer, for example
'char ethbuf08[8];'

You provided not enough information to give you precise answer.

-- 
Best Wishes,
Evgeny Grin

07.12.2017 23:23, Jong Han wrote:
> Hello,
>
> Please check thid error Message
>
> 
> sync.c:268:9: error: cannot convert to a pointer type
>  response = MHD_create_response_from_buffer (8, (void
> *)ethbuf08, MHD_RESPMEM_PERSISTENT);
> ===
>
> I don't know why this is a problem.
>
> Thanks.
>
> Jong Han
> jongha...@gmail.com 



signature.asc
Description: OpenPGP digital signature


Re: [libmicrohttpd] Release 0.9.58, but configuration summary is 0.9.55

2017-12-08 Thread silvioprog
Hum... so it seems a problem related to my environment. :-/ I'm going to
check again it tonight.

I'm configuring MHD in my project with AX_SUBDIRS_CONFIGURE ...:

AM_COND_IF([WINDOWS], [LDFLAGS="-static -lrpcrt4"], [CFLAGS=""]) # I've
declared 'CFLAGS=""' just because when I build my project removing it I've
got a crash in my app initialization and I can't understand why :-(

AX_SUBDIRS_CONFIGURE([libmicrohttpd], [[--enable-static=yes],
   [--enable-shared=no],
   [--disable-doc],
   [--disable-examples],
   [--disable-curl],
   [--enable-https=no],
   [--enable-asserts=no]])

... because I want to distribute only one DLL file, without any extra DLL
files (libgcc_s_dw2-1.dll, libwinpthread-1.dll, libmicrohttpd-12.dll etc.).
Do you think I can use AX_SUBDIRS_CONFIGURE() to configure MHD? I'm not
sure it is runs the MHD's bootstrap or call something like autoreconf.


On Fri, Dec 8, 2017 at 5:03 AM, Evgeny Grin  wrote:

> Hi,
>
> Make sure that you try sources from official FTP https://ftp.gnu.org/gnu/
> libmicrohttpd/
> I've just rechecked and it is 0.9.58:
> configure: GNU libmicrohttpd 0.9.58 Configuration Summary:
>
> I tried both https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.
> 9.58.tar.gz and https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-
> latest.tar.gz with same result.
>
> --
> Best Wishes,
> Evgeny Grin
>
> 08.12.2017 5:20, silvioprog пишет:
>
> Hi dudes.
>
> I've upgraded my MHD copy and after configuring it I've got the following
> summary:
>
> ===
> *configure: libmicrohttpd 0.9.55 Configuration Summary:*
>   Cross-compiling:   no
>   Operating System:  mingw32
>   Threading lib: w32
>   Use thread names:  no
>   Inter-thread comm: socketpair
>   libcurl (testing): no, many unit tests will not run
>   Target directory:  /mingw32
>   Shutdown of listening socket
>   trigger select:no
>   Use debug asserts: no
>   Messages:  yes
>   Basic auth.:   yes
>   Digest auth.:  yes
>   HTTP "Upgrade":yes
>   Postproc:  yes
>   HTTPS support: no (disabled)
>   poll support:  no
>   epoll support: no
>   sendfile used: no
>   build docs:no
>   build examples:no
>
> configure:
>   License :  LGPL or eCos
> ===
>
> I might be wrong, but it should report *0.9.58*. 😶
>
> --
> Silvio Clécio
>
>
>


-- 
Silvio Clécio


Re: [libmicrohttpd] Release 0.9.58, but configuration summary is 0.9.55

2017-12-08 Thread Evgeny Grin
Hi Silvio,

If I get you correctly, you are asking about proper way to run configure.
I did not use AX_SUBDIRS_CONFIGURE. I could tell you that if you are
using tarball, then you do not need to run autoreconf or bootstrap as
configure is already generated.

-- 
Best Wishes,
Evgeny Grin

08.12.2017 19:46, silvioprog пишет:
> Hum... so it seems a problem related to my environment. :-/ I'm going
> to check again it tonight.
>
> I'm configuring MHD in my project with AX_SUBDIRS_CONFIGURE ...:
>
> AM_COND_IF([WINDOWS], [LDFLAGS="-static -lrpcrt4"], [CFLAGS=""]) #
> I've declared 'CFLAGS=""' just because when I build my project
> removing it I've got a crash in my app initialization and I can't
> understand why :-(
>
> AX_SUBDIRS_CONFIGURE([libmicrohttpd], [[--enable-static=yes],
>                                        [--enable-shared=no],
>                                        [--disable-doc],
>                                        [--disable-examples],
>                                        [--disable-curl],
>                                        [--enable-https=no],
>                                        [--enable-asserts=no]])
>
> ... because I want to distribute only one DLL file, without any extra
> DLL files
> (libgcc_s_dw2-1.dll, libwinpthread-1.dll, libmicrohttpd-12.dll etc.).
> Do you think I can use AX_SUBDIRS_CONFIGURE() to configure MHD? I'm
> not sure it is runs the MHD's bootstrap or call something like autoreconf.
>
>
> On Fri, Dec 8, 2017 at 5:03 AM, Evgeny Grin  > wrote:
>
> Hi,
>
> Make sure that you try sources from official FTP
> https://ftp.gnu.org/gnu/libmicrohttpd/
> 
>
> I've just rechecked and it is 0.9.58:
> configure: GNU libmicrohttpd 0.9.58 Configuration Summary:
>
> I tried both
> https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.58.tar.gz
> 
> and
> https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz
> 
> with same result.
>
> -- 
> Best Wishes,
> Evgeny Grin
>
> 08.12.2017 5:20, silvioprog пишет:
>> Hi dudes.
>>
>> I've upgraded my MHD copy and after configuring it I've got the
>> following summary:
>>
>> ===
>> *configure: libmicrohttpd 0.9.55 Configuration Summary:*
>>   Cross-compiling:   no
>>   Operating System:  mingw32
>>   Threading lib:     w32
>>   Use thread names:  no
>>   Inter-thread comm: socketpair
>>   libcurl (testing): no, many unit tests will not run
>>   Target directory:  /mingw32
>>   Shutdown of listening socket
>>   trigger select:    no
>>   Use debug asserts: no
>>   Messages:          yes
>>   Basic auth.:       yes
>>   Digest auth.:      yes
>>   HTTP "Upgrade":    yes
>>   Postproc:          yes
>>   HTTPS support:     no (disabled)
>>   poll support:      no
>>   epoll support:     no
>>   sendfile used:     no
>>   build docs:        no
>>   build examples:    no
>>
>> configure:
>>   License         :  LGPL or eCos
>> ===
>>
>> I might be wrong, but it should report *0.9.58*. 😶
>>
>> --
>> Silvio Clécio
>
>
>
>
> -- 
> Silvio Clécio



signature.asc
Description: OpenPGP digital signature


Re: [libmicrohttpd] Release 0.9.58, but configuration summary is 0.9.55

2017-12-08 Thread silvioprog
Hi dude! :-)

I'm using git sub-module upgrading it each new MHD release, however tarball
can be a better option with AX_SUBDIRS_CONFIGURE().

Thanks for the tip! :-)

On Fri, Dec 8, 2017 at 2:15 PM, Evgeny Grin  wrote:

> Hi Silvio,
> If I get you correctly, you are asking about proper way to run configure.
> I did not use AX_SUBDIRS_CONFIGURE. I could tell you that if you are using
> tarball, then you do not need to run autoreconf or bootstrap as configure
> is already generated.
>
> --
> Best Wishes,
> Evgeny Grin
>
> 08.12.2017 19:46, silvioprog пишет:
>
> Hum... so it seems a problem related to my environment. :-/ I'm going to
> check again it tonight.
>
> I'm configuring MHD in my project with AX_SUBDIRS_CONFIGURE ...:
>
> AM_COND_IF([WINDOWS], [LDFLAGS="-static -lrpcrt4"], [CFLAGS=""]) # I've
> declared 'CFLAGS=""' just because when I build my project removing it I've
> got a crash in my app initialization and I can't understand why :-(
>
> AX_SUBDIRS_CONFIGURE([libmicrohttpd], [[--enable-static=yes],
>[--enable-shared=no],
>[--disable-doc],
>[--disable-examples],
>[--disable-curl],
>[--enable-https=no],
>[--enable-asserts=no]])
>
> ... because I want to distribute only one DLL file, without any extra DLL
> files (libgcc_s_dw2-1.dll, libwinpthread-1.dll, libmicrohttpd-12.dll
> etc.). Do you think I can use AX_SUBDIRS_CONFIGURE() to configure MHD? I'm
> not sure it is runs the MHD's bootstrap or call something like autoreconf.
>
>
> On Fri, Dec 8, 2017 at 5:03 AM, Evgeny Grin  wrote:
>
>> Hi,
>>
>> Make sure that you try sources from official FTP
>> https://ftp.gnu.org/gnu/libmicrohttpd/
>> I've just rechecked and it is 0.9.58:
>> configure: GNU libmicrohttpd 0.9.58 Configuration Summary:
>>
>> I tried both https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.58.
>> tar.gz and https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.
>> tar.gz with same result.
>>
>> --
>> Best Wishes,
>> Evgeny Grin
>>
>> 08.12.2017 5:20, silvioprog пишет:
>>
>> Hi dudes.
>>
>> I've upgraded my MHD copy and after configuring it I've got the following
>> summary:
>>
>> ===
>> *configure: libmicrohttpd 0.9.55 Configuration Summary:*
>>   Cross-compiling:   no
>>   Operating System:  mingw32
>>   Threading lib: w32
>>   Use thread names:  no
>>   Inter-thread comm: socketpair
>>   libcurl (testing): no, many unit tests will not run
>>   Target directory:  /mingw32
>>   Shutdown of listening socket
>>   trigger select:no
>>   Use debug asserts: no
>>   Messages:  yes
>>   Basic auth.:   yes
>>   Digest auth.:  yes
>>   HTTP "Upgrade":yes
>>   Postproc:  yes
>>   HTTPS support: no (disabled)
>>   poll support:  no
>>   epoll support: no
>>   sendfile used: no
>>   build docs:no
>>   build examples:no
>>
>> configure:
>>   License :  LGPL or eCos
>> ===
>>
>> I might be wrong, but it should report *0.9.58*. 😶
>>
>> --
>> Silvio Clécio
>>
>>
>>
> --
> Silvio Clécio
>
>
-- 
Silvio Clécio


Re: [libmicrohttpd] Release 0.9.58, but configuration summary is 0.9.55

2017-12-08 Thread Evgeny Grin
For git submodule you need to call 'autoreconf -i' after each update.


-- 
Best Wishes,
Evgeny Grin

08.12.2017 20:21, silvioprog пишет:
> Hi dude! :-)
>
> I'm using git sub-module upgrading it each new MHD release, however
> tarball can be a better option with AX_SUBDIRS_CONFIGURE().
>
> Thanks for the tip! :-)
>
> On Fri, Dec 8, 2017 at 2:15 PM, Evgeny Grin  > wrote:
>
> Hi Silvio,
>
> If I get you correctly, you are asking about proper way to run
> configure.
> I did not use AX_SUBDIRS_CONFIGURE. I could tell you that if you
> are using tarball, then you do not need to run autoreconf or
> bootstrap as configure is already generated.
>
> -- 
> Best Wishes,
> Evgeny Grin
>
> 08.12.2017 19:46, silvioprog пишет:
>> Hum... so it seems a problem related to my environment. :-/ I'm
>> going to check again it tonight.
>>
>> I'm configuring MHD in my project with AX_SUBDIRS_CONFIGURE ...:
>>
>> AM_COND_IF([WINDOWS], [LDFLAGS="-static -lrpcrt4"], [CFLAGS=""])
>> # I've declared 'CFLAGS=""' just because when I build my project
>> removing it I've got a crash in my app initialization and I can't
>> understand why :-(
>>
>> AX_SUBDIRS_CONFIGURE([libmicrohttpd], [[--enable-static=yes],
>>                                        [--enable-shared=no],
>>                                        [--disable-doc],
>>                                        [--disable-examples],
>>                                        [--disable-curl],
>>                                        [--enable-https=no],
>>                                        [--enable-asserts=no]])
>>
>> ... because I want to distribute only one DLL file, without any
>> extra DLL files
>> (libgcc_s_dw2-1.dll, libwinpthread-1.dll, libmicrohttpd-12.dll
>> etc.). Do you think I can use AX_SUBDIRS_CONFIGURE() to configure
>> MHD? I'm not sure it is runs the MHD's bootstrap or call
>> something like autoreconf.
>>
>>
>> On Fri, Dec 8, 2017 at 5:03 AM, Evgeny Grin > > wrote:
>>
>> Hi,
>>
>> Make sure that you try sources from official FTP
>> https://ftp.gnu.org/gnu/libmicrohttpd/
>> 
>>
>> I've just rechecked and it is 0.9.58:
>> configure: GNU libmicrohttpd 0.9.58 Configuration Summary:
>>
>> I tried both
>> https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.58.tar.gz
>> 
>> and
>> https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz
>> 
>> with same result.
>>
>> -- 
>> Best Wishes,
>> Evgeny Grin
>>
>> 08.12.2017 5:20, silvioprog пишет:
>>> Hi dudes.
>>>
>>> I've upgraded my MHD copy and after configuring it I've got
>>> the following summary:
>>>
>>> ===
>>> *configure: libmicrohttpd 0.9.55 Configuration Summary:*
>>>   Cross-compiling:   no
>>>   Operating System:  mingw32
>>>   Threading lib:     w32
>>>   Use thread names:  no
>>>   Inter-thread comm: socketpair
>>>   libcurl (testing): no, many unit tests will not run
>>>   Target directory:  /mingw32
>>>   Shutdown of listening socket
>>>   trigger select:    no
>>>   Use debug asserts: no
>>>   Messages:          yes
>>>   Basic auth.:       yes
>>>   Digest auth.:      yes
>>>   HTTP "Upgrade":    yes
>>>   Postproc:          yes
>>>   HTTPS support:     no (disabled)
>>>   poll support:      no
>>>   epoll support:     no
>>>   sendfile used:     no
>>>   build docs:        no
>>>   build examples:    no
>>>
>>> configure:
>>>   License         :  LGPL or eCos
>>> ===
>>>
>>> I might be wrong, but it should report *0.9.58*. 😶
>>>
>>> --
>>> Silvio Clécio
>>
>>
>> -- 
>> Silvio Clécio
>
>
> -- 
> Silvio Clécio



signature.asc
Description: OpenPGP digital signature