# 1.8.7p72 on HP-UX 11.x/IA64 with pthreads

**URL:** <https://www.ruby-forum.com/t/1-8-7p72-on-hp-ux-11-x-ia64-with-pthreads/158164>\
**Category:** Ruby\
**Created:** [January 19, 2009, 11:25pm UTC](https://www.ruby-forum.com/t/1-8-7p72-on-hp-ux-11-x-ia64-with-pthreads/158164 "2009-01-19T23:25:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Albert\_Chin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@Albert\_Chin](https://www.ruby-forum.com/u/Albert_Chin)\
**Post date:** [January 19, 2009, 11:25pm UTC](https://www.ruby-forum.com/t/1-8-7p72-on-hp-ux-11-x-ia64-with-pthreads/158164/1 "2009-01-19T23:25:46Z")

</div>

Anyone built 1.8.7p72 on HP-UX 11.23/IA64 or 11.31/IA64 with pthreads  
enabled? The following works:  
$ gtar zxf ruby-1.8.7-p72.tar.gz  
$ cd ruby-1.8.7-p72  
$ ./configure

But the following does not:  
$ gtar zxf ruby-1.8.7-p72.tar.gz  
$ cd ruby-1.8.7-p72  
$ ./configure --enable-pthread  
…  
$ gmake  
…  
cc -g -DRUBY\_EXPORT -DYYMAXDEPTH=300 -I. -I. -c main.c  
cc -g -DRUBY\_EXPORT -DYYMAXDEPTH=300 -I. -I. -c dmydln.c  
cc -g -DRUBY\_EXPORT -DYYMAXDEPTH=300 -L. -Wl,-E main.o dmydln.o  
libruby-static.a -lpthread -ldld -ldl -lm -o miniruby  
rbconfig.rb updated  
/opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:350:in `conv_arg': stack level too deep (SystemStackError) from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:454:in`parse’  
from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:1261:in  
`parse_in_order' from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:1249:in`catch’  
from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:1249:in  
`parse_in_order' from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:1243:in`order!’  
from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:1334:in  
`permute!' from /opt/build/china/ruby-1.8.7-p72/lib/optparse.rb:1355:in`parse!’  
from ./ext/extmk.rb:288:in `parse\_args’  
from ./ext/extmk.rb:324  
gmake: \*\*\* [all] Error 1
