Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## The Road to Dart
- ## This is the most complete writeup I've been able to come up with for installing Google Dart VM on an Ubuntu server. Directions are for LTS at this time.
- # WARNING: This is not optimized for running as a script yet! I'm simply documenting my steps that got me to a successful VM test!
- # Copy and pasting should work, but I'm not responsible if you accidentally find the Higgs Boson!
- # John Vilsack email: [email protected] twitter: chikkachichi
- # Build PreReqs: Acquired and modified from http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites
- #Update Ubuntu
- sudo apt-get update && sudo apt-get upgrade -y
- # Get Pre-Reqs
- sudo apt-get install bison fakeroot flex g++ g++-multilib gperf libapache2-mod-php5 libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev libsqlite3-dev libxslt1-dev libxss-dev mesa-common-dev ttf-mscorefonts-installer patch perl pkg-config python python-dev rpm subversion libcups2-dev libgnome-keyring-dev libcurl4-gnutls-dev libelf-dev ttf-indic-fonts
- # Chromium: Acquired from: http://code.google.com/p/dart/wiki/PreparingYourMachine
- # Chromium Dependencies
- wget http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh
- source install-build-deps.sh
- # Depot Tools
- cd ~
- svn co http://src.chromium.org/svn/trunk/tools/depot_tools
- export PATH=$PATH:`pwd`//depot_tools
- #get Dart Source
- gclient config http://dart.googlecode.com/svn/trunk/deps/all.deps
- gclient sync
- #Configure Storage?
- ~/dart/third_party/gsutil/20110627/gsutil config
- #Copy stupid link into stupid browser to access stupid gsutil
- #sync again just to be safe
- gclient sync
- # Build all the things!
- cd ~/dart/runtime
- ../tools/build.py --arch=ia32
- # Finally, run a test to make sure it....kinda(?) works!
- ../tools/test.py --arch=ia32
Advertisement
Add Comment
Please, Sign In to add comment