Compile Ruby 1.8.4 on HP-UX 11


#1

When I run make (we are using cc not gcc) I receive:

make

cc -Ae -s -O +Z -DRUBY_EXPORT -DYYMAXDEPTH=300 -I. -I. -c parse.c
cc: “parse.y”, line 4439: warning 527: Integral value implicitly
converted to pointer in assignment.
cc: “parse.y”, line 4442: error 1530: Undefined struct or union.
cc: “parse.y”, line 4444: error 1530: Undefined struct or union.
cc: “parse.y”, line 4444: warning 563: Argument #1 is not the correct
type.
cc: “parse.y”, line 4446: error 1530: Undefined struct or union.
cc: “parse.y”, line 4446: error 1563: Expression in if must be scalar.
cc: “parse.y”, line 4455: error 1530: Undefined struct or union.
cc: “parse.y”, line 4457: error 1530: Undefined struct or union.
cc: “parse.y”, line 4457: error 1530: Undefined struct or union.
cc: “parse.y”, line 4457: error 1563: Expression in if must be scalar.
cc: “parse.y”, line 4459: error 1530: Undefined struct or union.
make: *** [parse.o] Error 1

Any suggestions?


#2

try,
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/173906
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/177036
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/178250

I think you will get better results with gcc and gnu make.