Ubuntu/Debian D Packages
This article is now obsolete! A repository is now available! See here for instructions.
I decided to make a browsable directory at my website to put all new releases of the D packages for Ubuntu/Debian. You just have to download the newest versions and install them over the old ones (upgrade).
Here’s the address: http://download.palos.ro/Debian D Packages/
I really hope I will be able to set up a repo soon (I don’t have SSH access yet on the webserver that hosts my website). Until then, the http://download.palos.ro address will have to do. See the notes in this post for a description of how to use the DSSS wrapper scripts provided in the DSSS package.
Cheers!…
Enjoyed this post?, why not subscribe to the RSS feed!
March 30th, 2008 at 4:57 am
installed ok… i have a simple test.d file that imports tango.io and does a Stdout… gdc complains;
gdc test.d
Unsupported environment; neither Win32 or Posix is declared
/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../include/d/4.1.3/tango/sys/Common.d:83: static assert is false
but doing rebuild test.d compiles (leaves all these tango*.o object files in my current directory… kinda odd)…
i think i will wait until I move to hardy
thanks for all the hard work!! :)
March 30th, 2008 at 9:34 am
But that’s supposed to happen (and I doubt that the problem will go away if you switch to Hardy)!
It is required that the -version=Posix parameter is passed to gdmd when compiling. Tango contains static asserts that ensure at least one of Posix or Win32 is defined.
If you installed the DSSS package then you could see that all gdc based profiles in /usr/etc/rebuild are actually using “gdmd -version=Posix …” (in fact *ALL* profiles use it).
I recommend you use only DSSS(or maybe rebuild) to compile/run your code since the DSSS (in my mind at least) acts as the perfect (and final) wrapper to any inconsistency or issue regarding the correct calls to the compiler and linker. It will know what libraries to link automatically and also it will pass all required parameters to the underlying commands just as they should be passed.
I have my dsss.conf set up and no matter what happens all I need to do is “dsss-gdc-tango build” and that’s it. For me it works flawlessly every time and on every computer I tried it (only with the above packages of course).
April 1st, 2008 at 10:03 pm
sweet!!
what to write in /etc/apt/sources.list ?!
April 1st, 2008 at 11:03 pm
Well I have not set up a repository yet (to put into sources.list) but am working on it as we speak with the help of larsivi (one of the Tango maintainers). I will let you know as soon as we get it working…