ruby 1.8.1 preview1

Y

Yukihiro Matsumoto

It's out.

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.1-preview1.tar.gz

md5sum is c739d26356b8e3a1fa6409a6bcdcef68.

matz.
 
M

Mike Stok

It's out.

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.1-preview1.tar.gz

md5sum is c739d26356b8e3a1fa6409a6bcdcef68.

Thanks.

Is ext/syck/yamlbyte.h missing from the archive?

My compilation failed unless I grabbed it from CVS and put it in the
right place after unpacking the archive.

Regards,

Mike
 
J

Joey Gibson

It's out.

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.1-preview1.tar.gz

md5sum is c739d26356b8e3a1fa6409a6bcdcef68.

matz.
I just tried to build it with VC6 and got the following error:

cl -nologo -MD -Zi -O2b2xg- -G6 -I.
-IC:/OpenSource/ruby-1.8.1/win32 -IC:/OpenSource/ruby-1.
8.1 -IC:/OpenSource/ruby-1.8.1/ext/syck -DHAVE_ST_H -I. -I./..
-I./../missing -c -TcC:/OpenSource/ru
by-1.8.1/ext/syck/yaml2byte.c
yaml2byte.c
C:/OpenSource/ruby-1.8.1/ext/syck/yaml2byte.c(15) : fatal error C1083:
Cannot open include file: 'ya
mlbyte.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1'
Stop.

Sure enought, there is no yamlbyte.h anywhere in the source tree.
 
M

Mike Stok

Thanks.

Is ext/syck/yamlbyte.h missing from the archive?

My compilation failed unless I grabbed it from CVS and put it in the
right place after unpacking the archive.

Trawling through the logs after building this I noticed:

yaml2byte.c:42: warning: integer constant is too large for "long" type
yaml2byte.c:56: warning: integer constant is too large for "long" type
yaml2byte.c:89: warning: integer constant is too large for "long" type
yaml2byte.c:90: warning: integer constant is too large for "long" type

(using gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk))

Mike
 
G

Gour

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top