Project

General

Profile

Actions

Bug #5496

closed

ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA

Added by twwlogin (The Written Word Inc) over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
UNKNOWN
Backport:
[ruby-core:40479]

Description

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 '
from ./ext/extmk.rb:441:in each' from ./ext/extmk.rb:441:in '
gmake: *** [mkmain.sh] Error 1


Files

patch (1.86 KB) patch Workaround try_do error on HP-UX/IA twwlogin (The Written Word Inc), 10/28/2011 02:02 PM

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Status changed from Open to Feedback

The patch is not acceptable.
Please show the mkmf.log file.

Updated by twwlogin (The Written Word Inc) over 10 years ago

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.

Updated by mame (Yusuke Endoh) over 9 years ago

  • Status changed from Feedback to Rejected
Actions

Also available in: Atom PDF