Curl Module Error

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Jul 11 21:22:07 PDT 2013


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 d.gnu forum, there's a recent
> >thread that has explicit steps of how to get the build to work
> >properly).
[...]
> My gdc --version output
> 
> root at 02x110:~# gdc --version
> gdc (Debian 4.6.3-2) 4.6.3
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> 
> how to update?
> 
> my distro name is kali linux based on debian
> 
> root at 02x110:~# apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Hmm. gdc-4.8 *is* rather recent, so maybe it hasn't percolated down to
your distro yet. The first release of gdc-4.8 (AFAICT) was 03 Jun 2013
(4.8.1-1). The latest release is 4.8.1-6 (09 Jul 2013).

You could add the 'unstable' branch to /etc/apt/sources.list to pull it
in, probably, i.e.:

	deb http://ftp.debian.org/debian unstable main contrib

Not sure how it would interact with the rest of your distro though. It
may be safer to try adding 'unstable' to your existing 'deb' line that
points to your distro's FTP servers; they may have synced with the main
Debian archive recently enough to have picked up gdc-4.8.

Alternatively, if it ends up being a mess, you could download the .deb's
directly from the Debian FTP archive:

	http://ftp.debian.org/debian/pool/main/g/gcc-4.8/gdc-4.8_4.8.1-6_amd64.deb

Replace "amd64" with your architecture. The downside of this approach is
that you'll have to hunt down all the dependencies manually, and there
can be a lot of them for gdc.

It *could* actually be easier for you to build GDC yourself; for this,
check the recent thread in the d.gnu forum for explicit instructions
(make sure you follow each step carefully, as a broken GCC/GDC build can
be a hair-tearing frustrating experience -- speaking from experience).
If you run into trouble, ask on the forum there and we'll try to help
you. :)


T

-- 
Creativity is not an excuse for sloppiness.


More information about the Digitalmars-d-learn mailing list