# Compile Ruby 1.8.4 on HP-UX 11

**URL:** <https://www.ruby-forum.com/t/compile-ruby-1-8-4-on-hp-ux-11/54989>\
**Category:** Ruby\
**Created:** [March 15, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/compile-ruby-1-8-4-on-hp-ux-11/54989 "2006-03-15T23:27:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![McDevittS\_Chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ebca7d/32.png) [@McDevittS\_Chris](https://www.ruby-forum.com/u/McDevittS_Chris)\
**Post date:** [March 15, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/compile-ruby-1-8-4-on-hp-ux-11/54989/1 "2006-03-15T23:27:28Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![McDevittS\_Chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ebca7d/32.png) [@McDevittS\_Chris](https://www.ruby-forum.com/u/McDevittS_Chris)\
**Post date:** [March 16, 2006, 2:30pm UTC](https://www.ruby-forum.com/t/compile-ruby-1-8-4-on-hp-ux-11/54989/2 "2006-03-16T14:30:07Z")

</div>

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/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/177036)  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/178250](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.
