Issue #5496 has been updated by The Written Word Inc.


Ok, thanks. Looking at mkmf.log reveals that --disable-rpath is the solution. -R isn't applicable to cc/ld on HP-UX. Please close.
----------------------------------------
Bug #5496: ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
http://redmine.ruby-lang.org/issues/5496

Author: The Written Word Inc
Status: Feedback
Priority: Normal
Assignee: 
Category: build
Target version: 1.9.2
ruby -v: UNKNOWN


Building 1.9.2 with svn revision at 33531 produces an error while building ext/bigdecimal:
  $ ./configure
  ...
  $ gmake
  ...
gmake[1]: Leaving directory `/opt/build/china/ruby-1.9.2/ext/-test-/string'
compiling bigdecimal
/opt/build/china/ruby-1.9.2/lib/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from /opt/build/china/ruby-1.9.2/lib/mkmf.rb:446:in `try_compile'
        from /opt/build/china/ruby-1.9.2/lib/mkmf.rb:496:in `try_static_assert'
        from /opt/build/china/ruby-1.9.2/ext/bigdecimal/extconf.rb:5:in `<top (required)>'
        from ./ext/extmk.rb:156:in `load'
        from ./ext/extmk.rb:156:in `extmake'
        from ./ext/extmk.rb:445:in `block in <main>'
        from ./ext/extmk.rb:441:in `each'
        from ./ext/extmk.rb:441:in `<main>'
gmake: *** [mkmain.sh] Error 1



-- 
http://redmine.ruby-lang.org