Joey said:
I just tried to build it with VC6 and got the following error:
Here is the result of an attempt to build Ruby with MinGW:
make[1]: Entering directory `/home/gour/ruby-1.8.1/ext/syck'
gcc -g -O2 -I. -IC:/MSYS/1.0/home/gour/ruby-1.8.1 -IC:/MSYS/1.0/home/gour/ruby-1.8.1 -IC:/MSYS/1.0/home/gour/ruby-1.8.1/ext/syck -DHAVE_ST_H -c rubyext.c
gcc -g -O2 -I. -IC:/MSYS/1.0/home/gour/ruby-1.8.1 -IC:/MSYS/1.0/home/gour/ruby-1.8.1 -IC:/MSYS/1.0/home/gour/ruby-1.8.1/ext/syck -DHAVE_ST_H -c yaml2byte.c
yaml2byte.c:15:22: yamlbyte.h: No such file or directory
yaml2byte.c: In function `bytestring_extend':
yaml2byte.c:92: `YAMLBYTE_ANCHOR' undeclared (first use in this function)
yaml2byte.c:92: (Each undeclared identifier is reported only once
yaml2byte.c:92: for each function it appears in.)
yaml2byte.c:96: `YAMLBYTE_ALIAS' undeclared (first use in this function)
yaml2byte.c: In function `syck_yaml2byte_handler':
yaml2byte.c:134: `YAMLBYTE_ANCHOR' undeclared (first use in this function)
yaml2byte.c:139: `YAMLBYTE_TRANSFER' undeclared (first use in this function)
yaml2byte.c:153: `YAMLBYTE_SCALAR' undeclared (first use in this function)
yaml2byte.c:163: `YAMLBYTE_CONTINUE' undeclared (first use in this function)
yaml2byte.c:172: `YAMLBYTE_NEWLINE' undeclared (first use in this function)
yaml2byte.c:176: `YAMLBYTE_NULLCHAR' undeclared (first use in this function)
yaml2byte.c:187: `YAMLBYTE_SEQUENCE' undeclared (first use in this function)
yaml2byte.c:194: `YAMLBYTE_END_BRANCH' undeclared (first use in this function)
yaml2byte.c:197: `YAMLBYTE_MAPPING' undeclared (first use in this function)
make[1]: *** [yaml2byte.o] Error 1
make[1]: Leaving directory `/home/gour/ruby-1.8.1/ext/syck'
make: *** [all] Error 1
Sincerely,
Gour