You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I got libmicrohttp to compile 32 bit because I see the -m32 on the compile and link lines from make and after I installed it my program's compile now fails only trying to get the 32 bit version of libhttpserver
I tried setting CFLAGS and LDFLAGS to "-m32" and also ../configure CFLAGS=-m32 and LDFLAGS=-m32. Both give me "configure: error: "libmicrohttpd not found"" at the end of ../configure
I suspect this might be a bug in the configure. The library does a bit of magic to find libmicrohttpd (see: http://github.com/etr/libhttpserver/blob/master/configure.ac#L96 ) without using pkgconfig.
I think that code is causing the issue you see. I'll need to play with it a bit to see if it can work the way it is or I need to re-add pkgconfig to support similar use-cases.
Activity
etr commentedon Jan 16, 2021
Hey,
I suspect this might be a bug in the configure. The library does a bit of magic to find libmicrohttpd (see: http://github.com/etr/libhttpserver/blob/master/configure.ac#L96 ) without using pkgconfig.
I think that code is causing the issue you see. I'll need to play with it a bit to see if it can work the way it is or I need to re-add pkgconfig to support similar use-cases.
etr commentedon Mar 7, 2021
Hey, sorry for the late response. Did you try setting CXXFLAGS to -m32 too? That did it for me.