
RedCloth 4.1.0 doesn't work for WinXP
Reported by eipipuz | November 7th, 2008 @ 06:55 PM
Maybe I'm wrong but for other versions you have a special mswin gem.
When I try to nmake it. This error appears:
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.
cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I"c:/Program Files/Microsoft SDKs/Windows/v6.1/Include" -I. -I"c:/Program Files/Microsoft Visual Studio 8/VC/include" -MD -Zi -O2b2x -O2 -c -Tcredcloth_attributes.c
redcloth_attributes.c ext/redcloth_scan/redcloth_attributes.c.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.c.rl(6) : error C2146: syntax error : missing ';' before identifier 'buf' ext/redcloth_scan/redcloth_attributes.c.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.c.rl(3) : error C2146: syntax error : missing ';' before identifier 'buf' ext/redcloth_scan/redcloth_attributes.c.rl(45) : error C2143: syntax error : missing ';' before 'type' ext/redcloth_scan/redcloth_attributes.c.rl(46) : error C2065: 'cs' : undeclared identifier ext/redcloth_scan/redcloth_attributes.c.rl(54) : error C2143: syntax error : missing ';' before 'type' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.EXE"' : return code '0x2' Stop.
Comments and changes to this ticket
-
Jason Garber November 10th, 2008 @ 04:18 PM
- State changed from new to resolved
You're right; the platform attribute of the gem was set wrong; the file was published on RubyForge, but when Windows users went to install, it wouldn't find the win32 gem. I've replaced the file on RubyForge with one that has the right platform set, so try again.
-
eipipuz November 10th, 2008 @ 05:07 PM
It still doesn't work.
I noticed that at Rubyforge 'http://rubyforge.org/frs/download.php/46638/RedCloth-4.1.0-x86-mswin32-60.gem' is unavailable.
At 'http://rubyforge.org/frs/?group_id=216&release_id=27853'
The windows gem is listed as a dmg.
-
Jason Garber November 11th, 2008 @ 08:25 AM
- State changed from resolved to open
Sorry about that. I've fixed it and hopefully it'll build the gem now. I'm going to leave the ticket open until it's confirmed working.
-
-
Jason Garber November 12th, 2008 @ 10:43 AM
- State changed from open to resolved
Excellent. I'll try not to let it happen again!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RedCloth is a Ruby library for converting Textile into HTML