Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jul 09 09:06
    fechantillac-antidot commented #177
  • Jul 08 17:36
    etr commented #69
  • Jul 08 12:27
    fechantillac-antidot commented #69
  • Jul 06 02:24
    etr commented #198
  • Jul 06 02:23
    etr commented #199
  • Jul 06 02:23

    etr on master

    Compatibility with libmicrohttp… (compare)

  • Jul 06 02:23
    etr closed #199
  • Jul 05 10:05
    codecov[bot] commented #199
  • Jul 05 10:03
    bkuhls opened #199
  • Jul 05 10:00
    bkuhls labeled #198
  • Jul 05 10:00
    bkuhls assigned #198
  • Jul 05 10:00
    bkuhls opened #198
  • Jun 12 21:40
    etr commented #196
  • Jun 10 04:50
    beneschtech commented #196
  • Jun 10 03:23
    etr commented #196
  • Jun 09 02:19
    beneschtech commented #196
  • Jun 06 19:47
    beneschtech commented #196
  • Jun 06 18:40
    etr closed #196
  • Jun 06 18:40
    etr commented #196
  • Jun 06 17:25

    etr on 0.18.1


I've only been able to find packages for libhttpserver on fedora, and on archlinux through a seemingly abandoned AUR
why is it? Is it too complex process or something like it?
Sebastiano Merlino
hey @evilteq, thanks for reaching
we used to have a maintainer to produce the fedora packages (never has an arch one - unsure who built that)
to be honest, I don't think it is too hard to build - the building process for this library is quite standard so it shouldn't be impossible to build packages (different topic to maintain them aligned with the dependencies of each version of these OS)
are you searching for the packages on a specific distro?
I can build that one, actually already have, but I was wondering why it is missing from almost every distro
oh, and actually now that i make it fully, with tests, it fails :D
[CHECK FAILURE] (../../test/integ/authentication.cpp:166) - error in "digest_auth": Not Found!=SUCCESS
  • Time spent during "digest_auth": 4.86523 ms
    Running test (4): digest_auth_wrong_pass
    [CHECK FAILURE] (../../test/integ/authentication.cpp:197) - error in "digest_auth_wrong_pass": Not Found!=FAIL
  • Time spent during "digest_auth_wrong_pass": 5.07007 ms
Sebastiano Merlino
uhm... that's weird. I mean the error is still not what I'd expect because it feels awfully specific. But have you obtained this by standard "configure -> make" ?
and then make check
maybe it's because i took it from the default branch
I emailed it to where it pointed me
I mean, it's not a problem to me right now, we have not started and even then we wont be using authentication, but I thought you would like to read about it
Sebastiano Merlino
Thanks for reporting this. The mainline should always compile correctly (that's the reason we have travis in place). If it is not doing so, it might be worth understanding what is going on. Would you mind opening an issue? I guess I need some info to be able to debug it given it does compile and test correctly on travis.
If you use the "Bug Report" template, that will already request you most of the questions I might need to root cause this.

I am not able to build or make this library under VM and ubuntu 16.04 lts environment. Host os is win10.
I followed below build steps

libhttpserver uses the standard system where the usual build process involves running

mkdir build
cd build
make install # (optionally to install on the system)

for some reason i was not able ot make it.
Can any one help me in this regard.

checking microhttpd.h usability... no ===> log for ../configure
checking microhttpd.h presence... no
checking for microhttpd.h... no
configure: error: "microhttpd.h not found"
rayap@rayap-VirtualBox:~/edge/src/edge_examples/rotate_state_subscriber/libhttpserver/build$ make
make: * No targets specified and no makefile found. Stop.

Ho Ming Tsui
Can anyone tell me how to include this library in cmake, I installed this library via brew
Sebastiano Merlino
Hey, sorry, for some reason gitter was not sending me notifications. @nagvenk from your error, it seems that you haven't installed libmicrohttpd on your system (libmicrohttpd is a dependency of the library)
@alantsui_gitlab the library offers a CMakeModule file that should allow you to refer to it when using CMake