ok so totally new to building from source. i'm building for the d1 and i get this error...
davros@ubuntu:~$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
[sudo] password for davros:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg is already the newest version.
E: Couldn't find package sun-java5-jdk
any hits? helps?