ygrek / ocurl

OCaml bindings to libcurl
https://ygrek.org/p/ocurl
MIT License
59 stars 32 forks source link

Installation error on CentOS 5.8 #7

Closed MichaelGreerNO closed 9 years ago

MichaelGreerNO commented 9 years ago

I attempt a make in my ocurl-master top directory and get this error:

curl-helper.c:6780: error: CURLMOPT_TIMERFUNCTION undeclared (first use in this function) curl-helper.c:6780: error: incompatible type for argument 2 of curl_multi_setopt curl-helper.c:6781: error: CURLMOPT_TIMERDATA undeclared (first use in this function) curl-helper.c:6781: error: incompatible type for argument 2 of curl_multi_setopt make[1]: * [curl-helper.o] Error 2 make[1]: Leaving directory `/home/support/google/ocurl-master' make: * [all] Error 2

Any help would be appreciated. Michael

ygrek commented 9 years ago

Sounds like a very old version of libcurl (< 7.16.0 released in 2006) - is that true?

MichaelGreerNO commented 9 years ago

That does in fact appear to be the case. yum list curl returned:

curl.i386 7.15.5-17.el5_9

I installed curl with “yum install curl”. The OS is release 5.3. Is this the problem?

Thanks!

Michael

From: ygrek [mailto:notifications@github.com] Sent: Monday, October 06, 2014 8:57 PM To: ygrek/ocurl Cc: Mike Greer Subject: Re: [ocurl] Installation error on CentOS 5.8 (#7)

Sounds like a very old version of libcurl (< 7.16.0 released in 2006) - is that true?

— Reply to this email directly or view it on GitHubhttps://github.com/ygrek/ocurl/issues/7#issuecomment-58126507.

ygrek commented 9 years ago

Yes, that's the version since more than 8 years ago. I believe it's time to upgrade..

MichaelGreerNO commented 9 years ago

Thanks. I had a feeling . . .

From: ygrek [mailto:notifications@github.com] Sent: Tuesday, October 07, 2014 8:37 AM To: ygrek/ocurl Cc: Mike Greer Subject: Re: [ocurl] Installation error on CentOS 5.8 (#7)

Yes, that's the version since more than 8 years ago. I believe it's time to upgrade..

— Reply to this email directly or view it on GitHubhttps://github.com/ygrek/ocurl/issues/7#issuecomment-58184813.