Saturday, June 26, 2010

DMD1 + DMD2

DMD1 and DMD2 can be installed and used together as long as they don't have the same executable name. No problems finding phobos or anything.

Wednesday, June 23, 2010

Installing Ubuntu 10.04 Desktop

I restarted Fedora 13 and the weirdness related to the high resolution (which is apparently the default resolution for the login screen) was so annoying that I said screw it, it's back to Ubuntu (although a newer version). Here's the procedure I used to install it:

  • Selected English as my language and clicked "Install Ubuntu 10.04 LTS"
  • Region: United States Time Zone: Denver
  • Keyboard Layout: USA
  • Specify Partitions Manually
  • Partition 1: 20480 MB, Primary Partition, Ext 4 FS, Mount point: /
  • Partition 2: 1536 MB, Primary Partition, swap
  • Partition 3: The rest of the space, Primary Partition, Ext 4 FS, Mount point: /media/data
  • Name: Mike Linford Username: mike Computer name: mmldesktop Require my password to log in
  • Install
Crap, 10.04 has the same video issue as Fedora 13...

Update: I did all the updates and installed the fglrx package and the weirdness as stopped. I'm not sure which of the two fixed it, but when I do lsmod it doesn't list the fglrx driver, just the free radeon driver, so it might have just been the updates. It's a pity updating fedora didn't help.

Additional Packages:
  • flashplugin-installer: Flash plugin
  • xserver-xorg-video-radeon: Proprietary video driver. Fixes the video problems.

Fedora 13

I just installed Fedora 13 and unfortunately it doesn't seem that great so far.

Issues:
  • When my monitor is at 1600 x 900 everything looks fuzzy and it'll turn black for a while randomly.
  • Audio didn't work out of the box
  • Flash is way slow and jittery
  • The software update program is incredibly slow
I'm thinking I'll give it more time and maybe switch back to Ubuntu. I wish Debian had a newer kernel so my wifi adapter would work without having to tear my hair otu.

Monday, June 7, 2010

Installing DMD2 alongside DMD1 on Unbuntu Netbook Edition 10.04

Here's my attempt to install the DMD2 compiler alongside my existing DMD1 installation without screwing anything up.

  1. Downloaded the latest version for D2 (2.046 at the time of this post) from http://ftp.digitalmars.com/dmd.2.046.zip
  2. Extracted the directory to ~/Downloads/
  3. Created directory /opt/dmd2 with permissions 755 and owner root/root
  4. Created directory /opt/dmd2/bin with permissions 755 and owner root/root
  5. Copied /home/mike/Downloads/dmd2/linux/bin/dmd.conf to /opt/dmd2/bin
  6. Copied dmd, dumpobj, obj2asm, and rdmd from /home/mike/Downloads/dmd2/linux/bin/ to /opt/dmd2/bin
  7. Changed the permissions of dmd, dumpobj, obj2asm, and rdmd in /opt/dmd2/bin to 555
  8. Made sure dmd, dumpobj, obj2asm, and rdmd in /opt/dmd2/bin had owner root/root
  9. Created directory /opt/dmd2/lib with permissions 755 and owner root/root
  10. Copied /home/mike/Downloads/dmd/linux/lib/libphobos2.a to /opt/dmd/lib/
  11. Copied /home/mike/dmd2/src to /opt/dmd2/src
  12. Changed the DFLAGS line in /opt/dmd/bin/dmd.conf to:
    DFLAGS=-I/opt/dmd2/src/phobos -I/opt/dmd2/src/druntime/import -L-L/opt/dmd2/lib
Later I'll try and see if I can set it up with DSSS

Update: It looks like DSSS is dead at version 0.78 and no longer compatible with the latest dmd2.