compiling conky for openSUSE 12.1 and Fedora 16 - curl support broken

Doesn’t seem to work:

`test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
ccurl_thread.c:36:24: fatal error: curl/types.h: No such file or directory
compilation terminated.
make[2]: *** [conky-ccurl_thread.o] Error 1

https://build.opensuse.org/package/show?package=conky&project=home%3Aplease_try_again

I presume newer versions of curl have moved this header. Any idea … or patch?

Hi
It was removed…
http://curl.haxx.se/mail/tracker-2011-07/0011.html


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 3 days 5:02, 4 users, load average: 0.19, 0.22, 0.20
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09

I tried to disable curl if %if 0%{?suse_version} > 1140 || 0%{?fedora} > 16 … but it still didn’t build. The version in my 11.4 repo works under 11.2. I would prefer to have it in my 11.2 repo though. That would make future installations simpler and faster. Do you have it, Malcolm? I missed something in your conky (I don’t remember what, but it wasn’t curl) and ended up building my own version. Now I don’t install conky nor conkyweather directly. They are both in my conkyconf dependencies. That’s why I would like to have it in my repo.

Actually, I noticed that I completely disabled curl support no matter the version, but it still wants curl/types.h … and in fact, looking at the log, --disable-curl had no effect. Am I missing something?

Hi
Just drop the reference :wink:
https://build.opensuse.org/package/view_file?file=conky-fix-curl-FTBFS.patch&package=conky&project=server%3Amonitoring&rev=c2c723dafdc37bddcd794712c0bbfdc6


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 4 days 19:01, 4 users, load average: 0.18, 0.18, 0.20
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09

I will try that.
Sorry for the stupid question but how come copying/pasting from the page in your link above (and from the editor web interface in OBS) doesn’t work? It used to work before they changed the interface.

Hi
Strange, both work for me from the web ui? I sent via nntp, will repaste and see what happens from the web ui;
https://build.opensuse.org/package/view_file?file=conky-fix-curl-FTBFS.patch&package=conky&project=server%3Amonitoring&rev=c2c723dafdc37bddcd794712c0bbfdc6

I can paste the text of your post (or any post or code) on the forum (into gvim) but not the text of the patch in your link. I’m using FF. But I have the same problem while trying to copy/paste to or from .spec files in OBS.

Hi
Ahh, ok, understand now, just click on the sources tab to download or;


wget -O conky-fix-curl-FTBFS.patch https://api.opensuse.org/public/source/server:monitoring/conky/conky-fix-curl-FTBFS.patch?rev=c2c723dafdc37bddcd794712c0bbfdc6&

I know that you can download the file. I just wondered why you could not paste into and from those files (anymore).
The conky problem is solved. Thank you for your help.

It must have been disabled, it use to throw in invisible spaces at the
end of lines, maybe that’s why?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 5 days 1:55, 5 users, load average: 0.30, 0.26, 0.31
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09

I don’t know why it was necessary, but directly applying small changes to spec files in OBS web ui (such as adding a line of code or a date - I never know the day, even not the year I’m living in) will take significantly longer if copying/pasting into and from the editor is not possible.