Bug #5496

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

Added by The Written Word Inc over 2 years ago. Updated over 1 year ago.

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

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
trydo': 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

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

History

#1 Updated by The Written Word Inc over 2 years ago

#2 Updated by Nobuyoshi Nakada over 2 years ago

  • Status changed from Open to Feedback

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

#3 Updated by The Written Word Inc over 2 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.

#4 Updated by Yusuke Endoh over 1 year ago

  • Status changed from Feedback to Rejected

Also available in: Atom PDF