Bug #9412

bigdecimal 1.2.4 fail to compile on windows

Added by Serge Yneuk over 1 year ago. Updated about 1 year ago.

[ruby-core:<unknown>]
Status:Closed
Priority:Normal
Assignee:-
ruby -v:- Backport:1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONTNEED

Description

on windows 7 x 64 with ruby 1.9.3p484 and devkit DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
the latest version of gem (1.2.4) don't compile

version 1.2.3 is ok

result is:

ruby 1.9.3p484 (2013-11-22) [i386-mingw32]

Updating installed gems
Updating bigdecimal
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing bigdecimal:
        ERROR: Failed to build gem native extension.

    D:/program/dvlt/ruby/ruby193/bin/ruby.exe extconf.rb
checking for labs() in stdlib.h... yes
checking for llabs() in stdlib.h... yes
creating Makefile

make  clean

make
generating bigdecimal-i386-mingw32.def
compiling bigdecimal.c
bigdecimal.c: In function 'BigDecimal_new':
bigdecimal.c:2523:38: error: expected ')' before 'PRIsVALUE'
bigdecimal.c:2524:8: warning: spurious trailing '%' in format
bigdecimal.c: In function 'BigMath_s_log':
bigdecimal.c:2925:2: warning: implicit declaration of function 'DECIMAL_SIZE_OF_BITS'
make: *** [bigdecimal.o] Error 1

make failed, exit code 2

Related issues

Duplicates Ruby trunk - Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro Closed 01/14/2014

History

#1 Updated by Nobuyoshi Nakada over 1 year ago

  • Duplicates Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro added

#2 Updated by Nobuyoshi Nakada over 1 year ago

  • Status changed from Open to Closed

#3 Updated by Nobuyoshi Nakada over 1 year ago

  • ruby -v changed from 1.9.3 to -

#4 Updated by Kenta Murata over 1 year ago

I've released bigdecimal 1.2.5.

#5 Updated by Usaku NAKAMURA about 1 year ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONTNEED

Also available in: Atom PDF