Bug #5496
closedext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
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
        
           Updated by twwlogin (The Written Word Inc) about 14 years ago
          Updated by twwlogin (The Written Word Inc) about 14 years ago
          
          
        
        
      
      
    
        
           Updated by nobu (Nobuyoshi Nakada) about 14 years ago
          Updated by nobu (Nobuyoshi Nakada) about 14 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) about 14 years ago
          Updated by twwlogin (The Written Word Inc) about 14 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) about 13 years ago
          Updated by mame (Yusuke Endoh) about 13 years ago
          
          
        
        
      
      - Status changed from Feedback to Rejected