Debian D Packages - Release 3
Article is obsolete. See here for updates.
Ok, new release for these packages and quite a few improvements:
- Merge DSSS-xxx packages into just DSSS;
- Added a set of wrapper scripts for DSSS to properly use the desired installation and libraries (see below for a description);
- Both installations (GDC and DMD) can be installed simultaneously now and DSSS will recognize both (through the mentioned scripts);
- The libtangobos.a file for GDC is now called libgtangobos.a (added the “g” just like Tango did to live peacefully with the DMD version);
- Added 64bit packages (i.e. amd64) for GDC (DMD doesnt work yet on 64bit) and without Tangobos-GDC unfortunately (because Tangobos does not compile properly in a 64bit environment);
- Uniformized all package release numbers so that they all coincide.
Attention: I suggest that you uninstall any previously installed package before upgrading to these packages (and I recommend you DO upgrade) by running:
sudo dpkg --purge dsss tangobos-gdc tango-gdc dsss-gdc gdc gdc-4.2 libphobos-4.2-dev tangobos-dmd tango-dmd dsss-dmd dmd
D Packages for 32bit(i386/i686) - Release 3:
- GDC: run sudo apt-get -y install gdc
- Tango for GDC: tango-gdc_0.99.5-3_i386.deb
- Tangobos for GDC: tangobos-gdc_39-3_i386.deb
- DMD: dmd_1.027-3_i386.deb
(a package for D 2.0 also exists at the DM website) - Tango for DMD: tango-dmd_0.99.5-3_i386.deb
- Tangobos for DMD: tangobos-dmd_39-3_i386.deb
- DSSS (for DMD and GDC): dsss_0.75-3_i386.deb
D Packages for 64bit(amd64) - Release 3:
- GDC: run sudo apt-get -y install gdc
- Tango for GDC: tango-gdc_0.99.5-3_amd64.deb
- Tangobos for GDC: not available (compilation breaks - is there a fix?)
- DMD: not available
- Tango for DMD: not available
- Tangobos for DMD: not available
- DSSS (for DMD and GDC): dsss_0.75-3_amd64.deb
D Packages generation scripts - Release 3: DPackages-Release3.tar.bz2
DSSS Explanation:
The best way I could imagine to have both GDC and DMD installations as well as Tango and Tangobos (if desired) live peacefully at the same time (and on the same computer of course) was to make a set of wrapper scripts to the dsss executable that changed the requested profile at call time. So here they are:
- dsss-gdc runs dsss with the original GDC + Phobos configuration (this is when you don’t have Tango and Tangobos installed);
- dsss-gdc-tango runs dsss properly linking with Tango libs (this is when you have Tango installed - also works if Tangobos is installed as well);
- dsss-gdc-tangobos runs dsss properly linking to both Tangobos as well as Tango (this is when you have both Tango and Tangobos installed);
- dsss-dmd same as dsss-gdc but uses DMD;
- dsss-dmd-tango same as dsss-gdc-tango but uses DMD;
- dsss-dmd-tangobos same as dsss-gdc-tangobos but uses DMD;
These scripts actually change the DSS active profile so you really only need to call them only once (when you want to change the needed profile to what you are using) and then just use dsss as you normally would do (so if you use gdc, tango and tangobos to support some old library, just call dsss-gdc-tangobos only once, without any parameters and then use “dsss whatever…”). Also note that when changing profiles, the scripts will ask you for your password because they need sudo to do that (but only when changing to a different profile).
I know that these packages should be put in a repository (I’m sorry for this messy linking between posts - that’s all I have for now) but I simply had no time for it. I’ll look into it as soon as I have some spare time.
Let me know how these work out for you! :)
Enjoyed this post?, why not subscribe to the RSS feed!
March 27th, 2008 at 3:31 pm
[…] Thoughts about high architecture and sheer speed. ← Ubuntu Packages for GDC and Tango Debian D Packages - Release 3 […]
March 27th, 2008 at 11:43 pm
doh! Gutsy comes with 4.1.2….. maybe I will wait to go to hardy…
your blog died on an lessthan sign in my comment
dpkg: dependency problems prevent configuration of tango-gdc:
tango-gdc depends on gdc (>= 4.2); however:
Package gdc is not installed.
tango-gdc depends on gdc (<< 4.3); however:
Package gdc is not installed.
dpkg: error processing tango-gdc (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tango-gdc
March 28th, 2008 at 12:07 am
Hmm, indeed, I compiled these for Hardy! I’ll try and test Release 4 under Gutsy (with 4.1.2) as well and see if it runs with that as well (it definitely should) and if it does I’ll loosen the requirements to accept Gutsy as well by default. Sorry about this…
March 29th, 2008 at 11:08 pm
A new release (number 4) is here. I’ve decided to launch future releases into a download directory so that it would be easier for me to actually do that. Sources are there too if you’re intrested.
April 1st, 2008 at 8:37 am
[…] Paloş::Code.Blog() Thoughts about high architecture and sheer speed. ← Debian D Packages - Release 3 […]
July 29th, 2008 at 6:34 pm
[…] running, though. If you’re interested, I found a site which has (old, but not so old) .deb files: Debian D Packages - Release 3 | Paloş::Code.Blog() But even after having it all installed, I still face the same vague troubles (of getting […]
September 9th, 2008 at 5:10 pm
D Programming: Creating a Game…
I want to make my first game with the D programming language.
Today I’ve installed a fresh ubuntu copy on my harddisk and started to make a D development environment.
I found this website and tried the packages.
I installed Derelict with:
…
December 10th, 2008 at 7:18 pm
[…] If anyone is interested, it is heavily based on the packages that were built with the scripts on this page: http://codeblog.palos.ro/2008/03/27/debian-d-packages-release-3/ […]