coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Compilation error with --with-curl #396

Open jafojial opened 7 years ago

jafojial commented 7 years ago

Hi!

I use Ubuntu 16.10, try to build with option --with-curl in ./configure. Have the following error:

checking for curl_global_init in -lcurl... no configure: error: in '/tmp.coova-chilli' configure: error: --with-curl was given, but the test for curl failed See 'config.log' for more details

Thanks for your help

gizmopt commented 7 years ago

I'm getting same problem compilation with Ubuntu 16.04.3 on a Raspberry pi 3, libcurl is correctly installed I've already test compilation with a file.c and it's ok. Any help?

darkprince1337 commented 6 years ago

i'm too getting same problem on rpi 3 with Ubuntu 16.04. libcurl4-gnutls-dev is correctly installed. Did your problem solved?

R3apeR25 commented 6 years ago

I solved by installing the following dependencies : apt-get install libssl-dev libcurl4-openssl-dev pkg-config

antoniovalenzuela commented 6 years ago

same problem, RPI3, libcurl4-openssl-dev is already the newest version (7.52.1-5+deb9u5). libssl-dev is already the newest version (1.1.0f-3+deb9u2). pkg-config is already the newest version (0.29-4).

configure: error: --with-curl was given, but test for curl failed

antoniovalenzuela commented 6 years ago

solved! omitting --with-curl (i do not need it)

./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --enable-largelimits --enable-binstatusfile --enable-statusfile --enable-chilliproxy --enable-chilliradsec --enable-chilliredir --with-openssl --with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog --enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig --enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal --enable-chilliscript --enable-eapol --enable-uamdomainfile --enable-modules --enable-multiroute

make with ms_chap.c errors?

it's necesary reeplace the file ms_chap.c with the file https://github.com/coova/coova-chilli/blob/master/src/ms_chap.c

pihomeserver commented 5 years ago

Ok if you remove the option but how to keep it and compile ?