Difference between revisions of "Talk:Tonika"

From Organic Design wiki
(error : not a valid identifier)
 
(Install Tonika: syntax of export command fixed)
Line 32: Line 32:
 
read ~/tonika/README and follow directions
 
read ~/tonika/README and follow directions
  
this step did not work for me; I'm stuck here
+
this step in the readme has an error
(3) Set the environment variable TONIKAROOT to point to the root of Tonika's  
+
(3) Set the environment variable TONIKAROOT to point to the root of Tonika's source distribution, e.g.
  source distribution, e.g.
 
  
      setenv TONIKAROOT /Users/petar/tonika      (csh/tcsh)
+
the correct (sh/bash) form is:
       export TONIKAROOT /Users/petar/tonika     (sh/bash)
+
       export TONIKAROOT=/Users/petar/tonika
:bash: export: `/home/joe/tonika': not a valid identifier
 

Revision as of 22:11, 26 August 2011

Installing Tonika on Ubuntu

Install Mercurial

# Debian/Ubuntu
$ apt-get install mercurial

More about mercurial:

Install Go language

  • http://golang.org/doc/install.html
  • Install C tools, if needed
  • The Go tool chain is written in C. To build it, you need these programs installed:
    • GCC,
    • the standard C libraries,
    • the parser generator Bison,
    • GNU make (version 3.81 or later), and
    • awk.
sudo apt-get install bison gawk gcc libc6-dev make

add ~/go/bin to your $PATH

gedit ~/.bashrc

append:

PATH=~/go/bin:”${PATH}”

Install Tonika

hg clone https://code.google.com/p/tonika/

read ~/tonika/README and follow directions

this step in the readme has an error (3) Set the environment variable TONIKAROOT to point to the root of Tonika's source distribution, e.g.

the correct (sh/bash) form is:

     export TONIKAROOT=/Users/petar/tonika