Open meiry opened 1 year ago
after succefuly build of libmicrohttpi try to run the configure command like this :
vagrant@vagrant:~/libhttpserver/build$ CPPFLAGS=-I/home/vagrant/libmicrohttpd/libmicrohttpd-0.9.77/build/libmicrohttpd/include LDFLAGS=-L/home/vagrant/libmicrohttpd/libmicrohttpd-0.9.77/build/libmicrohttpd/lib ../configure --disable-doxygen-man --disable-doxygen-dot --disable-doxygen-doc --enable-debug CFLAGS="-g -O0" --prefix=/home/vagrant/libmicrohttpd/libmicrohttpd-0.9.77/build/libmicrohttpd
im getting this error :
checking for arpa/inet.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking gnutls/gnutls.h usability... yes checking gnutls/gnutls.h presence... yes checking for gnutls/gnutls.h... yes checking microhttpd.h usability... yes checking microhttpd.h presence... yes checking for microhttpd.h... yes checking for MHD_get_fdset2 in -lmicrohttpd... yes checking for libmicrohttpd >= 0.9.64... checking whether to build with TCP_FASTOPEN support... yes checking whether to link statically... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking whether to build with debug information... yes checking whether to build with coverage information... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating test/test_content config.status: creating test/test_content_2 config.status: creating test/test_content_empty config.status: creating test/test_content_large config.status: creating test/cert.pem config.status: creating test/key.pem config.status: creating test/test_root_ca.pem config.status: creating test/libhttpserver.supp config.status: creating examples/cert.pem config.status: creating examples/key.pem config.status: creating examples/test_content config.status: creating libhttpserver.pc config.status: creating Makefile config.status: creating doc/Makefile config.status: error: cannot find input file: `src/Makefile.in'
Im using : NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04"
did you install libtool? I have same error and for me helps to install libtool
Did you run the bootstrap script first before running configure?
see: https://github.com/etr/libhttpserver#building
after succefuly build of libmicrohttpi try to run the configure command like this :
im getting this error :
Im using : NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" VERSION_ID="18.04"