Ticket #108 (new defect)

Opened 10 months ago

Last modified 7 months ago

hpricot install failed on ubuntu

Reported by: fsword Owned by: why
Priority: critical Milestone:
Component: ext/hpricot_scan Version:
Keywords: Cc:

Description

I tried the two version on my system, but I got 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 build environment: $ dpkg --status build-essential Package: build-essential Status: install ok installed Priority: optional Section: devel Installed-Size: 48 Maintainer: Scott James Remnant <scott@…> Architecture: i386 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 Priority: optional Section: devel Installed-Size: 816 Maintainer: Robert Lemmen <robertle@…> Architecture: i386 Version: 5.1-1 Depends: libc6 (>= 2.3.4-1), libgcc1 (>= 1:4.0.2), libstdc++6 (>= 4.0.2-4)

locale : $ locale LANG=zh_CN.UTF-8 LANGUAGE=zh_CN:zh:en_US:en LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL=

The whole error log is attached

Change History

Changed 7 months ago by musteatyemen

Seeing this with Ubuntu 7.10

Changed 7 months ago by musteatyemen

Apparently you need the ruby1.8-dev package installed.

Information here. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/258247

Note: See TracTickets for help on using tickets.