1.5. Building Pugs on Ubuntu

On Ubuntu it was quite straight forward, I think this is everything I needed:

sudo apt-get install subversion

# Installing GHC 6.4.2
wget http://haskell.org/ghc/dist/6.4.2/ghc-6.6-src.tar.bz2
wget 
tar xjf ghc-6.4.2-src.tar.bz2
tar xjf 
cd ghc-6.4.2
./configure --prefix=/opt/ghc66
make
sudo make install

mkdir ~/src
cd ~/src

# To compile Parrot
svn co https://svn.perl.org/parrot/trunk parrot
cd parrot
perl Configure.pl --prefix=$HOME/parrot --cc=cc --cxx=CC --link=cc --ld=cc
make
make test
make install

# added the following to ~/.bashrc and ran source ~/.bashrc
export PATH=$HOME/parrot/bin:$PATH
export LD_LIBRARY_PATH=$HOME/parrot/lib/
export PARROT_PATH=$HOME/work/parrot
export GHC=/opt/ghc642/bin/ghc

# To compile Pugs I use the following:
cd ~/src
svn co http://svn.pugscode.org/pugs
perl Makefile.PL
make

I have not "installed" it anywhere

# Now I can use it 
./pugs -e 'say "Hello world"'