From: Curt Hibbs Date: 2004-11-06T07:23:52+09:00 Subject: Re: Building One-Click Installer with latest snapshot source J. D. wrote: > > I got past the FXRuby and Expat installation screens. The build > continued until the following error. I'll put together notes from this > exercise and post it in a useful format once I get this to build > successfully. How about updating the readme and sending it to me. I can then check that in to cvs. I have a patch for the compile error you are getting. In the directory: ...\installer-win\local\Patch-182 you'll find a patched version of "xmlparser.c". Use this to replace the one that came with xmlparser in: ...\installer-win\stable\download\xmlparser and you should get past this error. Feel free to email me directly (curt at hibbs dot com), and we can help keep the noise level down on ruby-talk. Curt > > T:\rubyinstaller\rubyinstaller\installer-win\stable\download\xmlpa > rser>nmake > /NO > LOGO > cl -nologo -MD -Zi -O2b2xg- -G6 -I. > -IT:/rubyinstaller/rubyinstaller/ins > taller-win/stable/lib/ruby/1.8/i386-mswin32 > -IT:/rubyinstaller/rubyinstaller/ins > taller-win/stable/lib/ruby/1.8/i386-mswin32 -I. -DHAVE_EXPAT_H > -DHAVE_XML_SETNOT > STANDALONEHANDLER -DHAVE_XML_SETPARAMENTITYPARSING > -DHAVE_XML_SETDOCTYPEDECLHAND > LER -DHAVE_XML_PARSERRESET -DHAVE_XML_SETSKIPPEDENTITYHANDLER > -DHAVE_XML_GETFEAT > URELIST -DHAVE_XML_USEFOREIGNDTD -DHAVE_XML_GETIDATTRIBUTEINDEX > -IT:/rubyinstall > er/rubyinstaller/installer-win/stable/download/Expat-1.95.7/Source/lib > -I. -I./. > .. -I./../missing -DNEW_EXPAT -DXML_DTD -c -Tcxmlparser.c > xmlparser.c > xmlparser.c(530) : error C2143: syntax error : missing ';' before 'type' > xmlparser.c(533) : error C2065: 'content' : undeclared identifier > xmlparser.c(933) : error C2143: syntax error : missing ';' before 'type' > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > > T:\rubyinstaller\rubyinstaller\installer-win\stable\download\xmlpa > rser>nmake > ins > tall /NOLOGO > cl -nologo -MD -Zi -O2b2xg- -G6 -I. > -IT:/rubyinstaller/rubyinstaller/ins > taller-win/stable/lib/ruby/1.8/i386-mswin32 > -IT:/rubyinstaller/rubyinstaller/ins > taller-win/stable/lib/ruby/1.8/i386-mswin32 -I. -DHAVE_EXPAT_H > -DHAVE_XML_SETNOT > STANDALONEHANDLER -DHAVE_XML_SETPARAMENTITYPARSING > -DHAVE_XML_SETDOCTYPEDECLHAND > LER -DHAVE_XML_PARSERRESET -DHAVE_XML_SETSKIPPEDENTITYHANDLER > -DHAVE_XML_GETFEAT > URELIST -DHAVE_XML_USEFOREIGNDTD -DHAVE_XML_GETIDATTRIBUTEINDEX > -IT:/rubyinstall > er/rubyinstaller/installer-win/stable/download/Expat-1.95.7/Source/lib > -I. -I./. > .. -I./../missing -DNEW_EXPAT -DXML_DTD -c -Tcxmlparser.c > xmlparser.c > xmlparser.c(530) : error C2143: syntax error : missing ';' before 'type' > xmlparser.c(533) : error C2065: 'content' : undeclared identifier > xmlparser.c(933) : error C2143: syntax error : missing ';' before 'type' > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > ../commands.rb:199:in `run': Command failed: (RuntimeError) > from ./commands.rb:167:in `each' > from ./commands.rb:167:in `run' > from ./commands.rb:117:in `extconf' > from builder.rb:247 > from builder.rb:225:in `instance_eval' > from ./package.rb:131:in `instance_eval' > from ./package.rb:131:in `initialize' > from builder.rb:225:in `new' > from builder.rb:225 > NMAKE : fatal error U1077: 'ruby.exe' : return code '0x1' > Stop. > NMAKE : fatal error U1077: > 'D:\apps\Microsoft_VCToolkit2003\bin\nmake.exe' : ret > urn code '0x2' > Stop. > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004 >