On HP-UX/PA:
$ bzip2 -dc ruby-1.9.2-p290.tar.bz2 | tar xf -
$ cd ruby-1.9.2-p290
$ ./configure
...
checking size of struct stat.st_ino... SIZEOF_LONG
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction on hppa2.0w... ./configure[14730]: "${rb_cv_stack_grow_dir_hppa2.0w+set}": The specified substitution is not valid for this command.
This issue was solved with changeset r33533.
The Written Word, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
configure.in (RUBY_STACK_GROW_DIRECTION): substitute CPU name as
shell variable name. based on the patch by The Written Word Inc. at [ruby-core:40421]. [Bug #5488]
The patch seems didn't work
I still got the error
checking stack growing direction on hppa2.0w... ./configure[14718]: ${rb_cv_stack_grow_dir_hppa2.0w+:}: The specified substitution is not valid for this command.