intertwingly

It’s just data

Building Dart


Trying to follow the PreparingYourMachine instructions.

First impression:

# source install-build-deps.sh 
Only Ubuntu 10.04 (lucid) through 11.04 (natty) are currently supported

... I was trying using 11.10, which is still in beta.  Understandable.

Second impression:

Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom bison-doc dh-make krb5-doc
  php-pear libasound2-doc cairo-perf-utils libcairo2-doc libcurl3-dbg
  libgcrypt11-doc libglib2.0-doc python-subunit gnutls-doc gnutls-bin
  guile-gnutls krb5-user libgtk2.0-doc libpango1.0-doc imagemagick sqlite3-doc
  php5-suhosin libmail-box-perl alien rpm-i18n ri ruby-dev ruby1.8-examples
  ri1.8 subversion-tools db4.8-util xserver-xfree86 xserver xfs
The following NEW packages will be installed:
  apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common bison
  cabextract comerr-dev curl debhelper elfutils firefox-locale-fr flex gperf
  html2text krb5-multidev language-pack-fr language-pack-fr-base
  libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libasm1 libasound2-dev libatk1.0-dbg libatk1.0-dev
  libavahi-client-dev libavahi-common-dev libbz2-dev libc6-dbg
  libcairo-script-interpreter2 libcairo2-dbg libcairo2-dev libcups2-dev
  libcurl3 libcurl4-gnutls-dev libdbus-1-dev libdbus-glib-1-dev libdrm-dev
  libdw1 libelf-dev libexpat1-dev libfontconfig1-dbg libfontconfig1-dev
  libfreetype6-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf2.0-dev
  libgl1-mesa-dev libglib2.0-0-dbg libglib2.0-dev libglu1-mesa-dev
  libgnome-keyring-dev libgnutls-dev libgpg-error-dev libgssrpc4
  libgtk2.0-0-dbg libgtk2.0-dev libice-dev libidl-dev libidn11-dev
  libjpeg62-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkms1
  libkrb5-dev libldap2-dev libmail-sendmail-perl libnspr4-dbg libnspr4-dev
  libnss3-dbg libnss3-dev liborbit2-dev libpam0g-dev libpango1.0-0-dbg
  libpango1.0-dev libpcre3-dbg libpcrecpp0 libpixman-1-0-dbg libpixman-1-dev
  libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libpulse-dev
  libreadline5 librpm1 librpmbuild1 librpmio1 libruby1.8 libsctp-dev libsctp1
  libsm-dev libsqlite3-0-dbg libsqlite3-dev libssl-dev libsvn1
  libsys-hostname-long-perl libtasn1-3-dev libx11-6-dbg libx11-dev libxau-dev
  libxau6-dbg libxcb-render0-dev libxcb-shm0-dev libxcb1-dbg libxcb1-dev
  libxcomposite-dev libxcomposite1-dbg libxcursor-dev libxcursor1-dbg
  libxdamage-dev libxdamage1-dbg libxdmcp-dev libxdmcp6-dbg libxext-dev
  libxext6-dbg libxfixes-dev libxfixes3-dbg libxft-dev libxi-dev libxi6-dbg
  libxinerama-dev libxinerama1-dbg libxml2-dev libxrandr-dev libxrandr2-dbg
  libxrender-dev libxrender1-dbg libxslt1-dev libxss-dev libxt-dev libxtst-dev
  libxtst6-dbg lksctp-tools m4 mesa-common-dev orbit2 php5-cgi php5-cli
  php5-common po-debconf python-dev python2.7-dev rpm rpm-common rpm2cpio ruby
  ruby1.8 subversion ttf-bengali-fonts ttf-devanagari-fonts ttf-gujarati-fonts
  ttf-indic-fonts ttf-kannada-fonts ttf-kochi-gothic ttf-kochi-mincho
  ttf-malayalam-fonts ttf-mscorefonts-installer ttf-oriya-fonts
  ttf-sazanami-mincho ttf-tamil-fonts ttf-telugu-fonts wdiff
  x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
  x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
  x11proto-record-dev x11proto-render-dev x11proto-scrnsaver-dev
  x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev
  zlib1g-dbg zlib1g-dev

Whoa... that’s a lot of stuff.  Presumably most of that stuff is only needed to build chrome, and dash only needs a small portion of that.

Third impression:

Gold is a new linker that links Chrome 5x faster than GNU ld.

Wow.  Replacing the linker is clearly hard-core stuff.

Fourth impression:

*******************************************************************************
* WARNING: Can't download DumpRenderTree! This is required to test client apps.
* You need to do a one-time configuration step to access Google Storage.
* Please run this command and follow the instructions:
*     third_party/gsutil/20110627/gsutil config
*
* NOTE: When prompted you can leave "project-id" blank. Just hit enter.
*******************************************************************************

OK, this is starting to **** me off.  They need my Google identity in order to simply build a compiler?  Grr.

Fifth impression:

Please navigate your browser to http://code.google.com/apis/console,
then click "Services" on the left side panel and ensure you have Storage
activated, then click "Storage" on the left side panel and find the "x-goog-project-id" on that page.
What is your project-id?

I don’t see a left side panel or “Services” anywhere on the page.  Stuck for now.  Will move onto other tasks and come back later.

I wonder how many people who are diss’ing Dart on Twitter and elsewhere have actually tried the language?