Xin Z. wrote:
Hi List,
I am having trouble using ParseTree 1.7 on my new Ubuntu system.
When I require ‘parse_tree’, I get the following error:
http://pastie.caboo.se/55273
It seems like it can not find variuos development files. I am using GCC
4.1. Should I install the corresponding source? I’m downloading it at
the moment.
Make sure ‘build-essential’ and ‘ruby1.8dev’ ubuntu packages are
installed.
For me it seems to work:
[email protected]:~$ gcc --version
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[email protected]:~$ ruby --version
ruby 1.8.5 (2006-08-25) [i486-linux]
[email protected]:~$ ruby
ruby ruby1.8 rubyforge
[email protected]:~$ gem --version
0.9.0
[email protected]:~$ sudo gem install parsetree
Password:
Need to update 12 gems from http://gems.rubyforge.org
…
complete
Successfully installed ParseTree-1.7.0
Installing ri documentation for ParseTree-1.7.0…
lib/parse_tree.rb:123:26: ‘:’ not followed by identified or operator
test/test_parse_tree.rb:70:50: ‘:’ not followed by identified or
operator
test/test_parse_tree.rb:81:38: ‘:’ not followed by identified or
operator
Installing RDoc documentation for ParseTree-1.7.0…
lib/parse_tree.rb:123:26: ‘:’ not followed by identified or operator
test/test_parse_tree.rb:70:50: ‘:’ not followed by identified or
operator
test/test_parse_tree.rb:81:38: ‘:’ not followed by identified or
operator
Cheers,
Peter
__
http://www.rubyrailways.com :: Ruby and Web2.0 blog
http://scrubyt.org :: Ruby web scraping framework
http://rubykitchensink.ca/ :: The indexed archive of all things Ruby.