From: "John T." Date: 2008-07-23T21:46:17+09:00 Subject: Errors installing RedCloth 4.0 on Windows XP I tried installing/upgrading RedCloth to 4.0 on this Windows XP box, but it throws an error while installing. The machine's got Visual Studio 2003 and 2005 installed, and I tried making sure the PATH was set to each environment and neither works. The errors are: C:\Documents and Settings\me>gem install RedCloth Building native extensions. This could take a while... ERROR: Error installing RedCloth: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb install RedCloth creating Makefile nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1. 8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 -O2 -c -Tcredcloth_attributes.c redcloth_attributes.c ext/redcloth_scan/redcloth_attributes.rl(6) : error C2275: 'VALUE' : illegal use of this type as an expression c:/ruby/lib/ruby/1.8/i386-mswin32\ruby.h(86) : see declaration of 'VALUE ' ext/redcloth_scan/redcloth_attributes.rl(6) : error C2146: syntax error : missin g ';' before identifier 'buf' ext/redcloth_scan/redcloth_attributes.rl(3) : error C2275: 'VALUE' : illegal use of this type as an expression c:/ruby/lib/ruby/1.8/i386-mswin32\ruby.h(86) : see declaration of 'VALUE ' ext/redcloth_scan/redcloth_attributes.rl(3) : error C2146: syntax error : missin g ';' before identifier 'buf' ext/redcloth_scan/redcloth_attributes.rl(67) : error C2143: syntax error : missi ng ';' before 'type' ext/redcloth_scan/redcloth_attributes.rl(68) : error C2065: 'cs' : undeclared id entifier ext/redcloth_scan/redcloth_attributes.rl(76) : error C2143: syntax error : missi ng ';' before 'type' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/RedCloth-4.0.0 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/RedCloth-4.0.0/ext/redcloth_sca n/gem_make.out Thanks. -- Posted via http://www.ruby-forum.com/.