[Scons-dev] D Lang config on ubuntu 16.04

Russel Winder russel at winder.org.uk
Thu Sep 28 12:06:26 EDT 2017


On Thu, 2017-09-28 at 08:43 -0700, Bill Deegan wrote:
> Russel,
> 
> I'm trying to configure a new system with gdc, dmd, and ldc, but alas I end
> up with:
> /usr/include/d/core/stdc/stdarg.d:48:5: error: undefined identifier
> __va_list_tag
>      alias __va_list = __va_list_tag;
> 
> A little googling suggests ldc + dmd = broken compiles and points to the
> d-apt repo.

In the past I avoided installing DMD for various reasons – the world recently
changed so I now have dmd, ldc, and gdc installed on Debian. dmd is still a
problem on Fedora, but the D people do prepare an rpm that can be used. I
don't use Arch but it seems to have all three, as does Homebrew on macOS.

For Debian, Ubuntu, etc. using D-Apt for DMD only is the right thing to do. As
you have discovered it is for the moment a victim of the Sourceforge outage.
Ldc and gdc are best installed from standard Debian, Fedora, Arch, etc.
packages

Whilst there have been problems with ldc and gdc in the past these are now all
fixed.

> Alas that seems to be dead. (Sourceforge had an all day outage yesterday or
> the day before so perhaps something was lost).
> 
> Any recipe to create a working system with all three compilers?

Use Debian Sid, install ldc and gdc from Debian packages. Set up D-Apt and
install from there. Sorry but that is the way to do it. I have it and no
problems.

I run an Approx cache internally so have all the Debian packages, including
from D-Apt. In dire straits I could open up my cache to the outside world. 

-- 
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170928/a5174905/attachment.pgp>


More information about the Scons-dev mailing list