Curl Module Error

2013-07-11 Thread Ali
I get an error message when trying to curl Error output: root@02x110:~/Desktop# gdc a.d -o a a.d:2: Error: module curl is in file 'std/net/curl.d' which cannot be read import path[0] = /usr/include/d2/4.6/i486-linux-gnu import path[1] = /usr/include/d2/4.6 My Code: import std.net.curl;

Re: Curl Module Error

2013-07-11 Thread Johannes Pfau
Am Thu, 11 Jul 2013 15:29:09 +0200 schrieb Ali goren@yandex.com: /usr/include/d2/4.6 This looks like you're using a very old gdc version. std.net.curl was added in 2.058.

Re: Curl Module Error

2013-07-11 Thread Ali
On Thursday, 11 July 2013 at 13:46:48 UTC, Johannes Pfau wrote: Am Thu, 11 Jul 2013 15:29:09 +0200 schrieb Ali goren@yandex.com: /usr/include/d2/4.6 This looks like you're using a very old gdc version. std.net.curl was added in 2.058. How do I update? Searched, but could not find it.

Re: Curl Module Error

2013-07-11 Thread H. S. Teoh
On Thu, Jul 11, 2013 at 04:36:42PM +0200, Ali wrote: On Thursday, 11 July 2013 at 13:46:48 UTC, Johannes Pfau wrote: Am Thu, 11 Jul 2013 15:29:09 +0200 schrieb Ali goren@yandex.com: /usr/include/d2/4.6 This looks like you're using a very old gdc version. std.net.curl was added in

Re: Curl Module Error

2013-07-11 Thread Ali
On Thursday, 11 July 2013 at 14:44:23 UTC, H. S. Teoh wrote: On Thu, Jul 11, 2013 at 04:36:42PM +0200, Ali wrote: On Thursday, 11 July 2013 at 13:46:48 UTC, Johannes Pfau wrote: Am Thu, 11 Jul 2013 15:29:09 +0200 schrieb Ali goren@yandex.com: /usr/include/d2/4.6 This looks like you're

Re: Curl Module Error

2013-07-11 Thread H. S. Teoh
On Thu, Jul 11, 2013 at 05:38:16PM +0200, Ali wrote: On Thursday, 11 July 2013 at 14:44:23 UTC, H. S. Teoh wrote: [...] gdc-4.8 is now available in Debian and a few other distros. You should be able to just update it if you use one of these distros; if not, try compiling from source (see the