andelf / go-curl

golang curl(libcurl) binding.
Apache License 2.0
478 stars 130 forks source link

compilation failure with libcurl 7.19.7 #23

Closed blalor closed 10 years ago

blalor commented 10 years ago

Any chance you can support this older version of libcurl?

bash-4.1# curl --version
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp 
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz 
bash-4.1# go get -v github.com/andelf/go-curl
error: 'CURL_VERSION_TLSAUTH_SRP' undeclared (first use in this function)
error: 'CURL_VERSION_NTLM_WB' undeclared (first use in this function)
andelf commented 10 years ago

Thanks for your report. I'll fix soon.

andelf commented 10 years ago

Fixed by adding version defines to compatgen.

gorsuch commented 10 years ago

:heart: