Ticket #112 (closed defect: duplicate)
hpricot install failed on ubuntu
| Reported by: | fsword | Owned by: | why |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | ext/hpricot_scan | Version: | |
| Keywords: | ':' not followed by identified | Cc: |
Description
I tried two version on my system, but they all have the same error
lib/hpricot/builder.rb:25:61: ':' not followed by identified or operator
lib/hpricot/elements.rb:477:39: 'attr' ignored - looks like a variable
lib/hpricot/elements.rb:477:66: 'attr' ignored - looks like a variable
Installing RDoc documentation for hpricot-0.5...
lib/hpricot/builder.rb:25:61: ':' not followed by identified or operator
lib/hpricot/elements.rb:477:39: 'attr' ignored - looks like a variable
lib/hpricot/elements.rb:477:66: 'attr' ignored - looks like a variable
software environment:
OS : ubuntu dapper(6.10) $ uname -a Linux c2rich-master 2.6.15-28-server #1 SMP Wed Jul 18 23:11:55 UTC 2007 i686 GNU/Linux
ruby environment : $ ruby -v ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] $ gem -v 0.9.4
other : $ dpkg --status build-essential Package: build-essential Status: install ok installed Version: 11.1 Depends: libc6-dev | libc-dev, gcc (>= 4:4.0), g++ (>= 4:4.0), make, dpkg-dev (>= 1. 13.5) $ dpkg --status ragel Package: ragel Status: install ok installed Version: 5.1-1 Depends: libc6 (>= 2.3.4-1), libgcc1 (>= 1:4.0.2), libstdc++6 (>= 4.0.2-4)
