Ticket #336 (closed defect: fixed)

Opened 12 months ago

Last modified 33 hours ago

Won't build gem on Windows

Reported by: eduardofv@… Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Version 0.11.6 will fail to install on windows (v0.11.5 installs correctly). Guess there's some preprocessor conditional missing

c:/ruby/bin/ruby.exe extconf.rb install ferret creating Makefile

nmake

Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

-c -Tcanalysis.c

analysis.c

cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

-c -Tcapi.c

api.c

cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

-c -Tcarray.c

array.c

cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

-c -Tcbitvector.c

bitvector.c

cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

-c -Tccompound_io.c

compound_io.c store.h(569) : error C2632: 'long' followed by 'long' is illegal store.h(720) : error C2632: 'long' followed by 'long' is illegal NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.

Attachments

Change History

  Changed 12 months ago by anonymous

  • summary changed from Won't buiñd gem on Windows to Won't build gem on Windows

Version 0.11.6 will fail to install on windows (v0.11.5 installs correctly). I guess there's some preprocessor conditional missing

C:\occ\codigo>gem install ferret
Building native extensions.  This could take a while...
ERROR:  Error installing ferret:
        ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb install ferret creating Makefile

nmake

Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

    -c -Tcanalysis.c

analysis.c

    cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

    -c -Tcapi.c

api.c

    cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

    -c -Tcarray.c

array.c

    cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

    -c -Tcbitvector.c

bitvector.c

    cl -nologo -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6

    -c -Tccompound_io.c

compound_io.c store.h(569) : error C2632: 'long' followed by 'long' is illegal store.h(720) : error C2632: 'long' followed by 'long' is illegal NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. 

  Changed 12 months ago by dbalmain

  • status changed from new to closed
  • resolution set to fixed

Thanks. Problem fixed. Changed unsigned long longs to type f_u64.

follow-up: ↓ 4   Changed 11 months ago by anonymous

  • status changed from closed to reopened
  • resolution fixed deleted

What do you mean "fixed". This error is still occurring.

gem install ferret-0.11.6.gem Building native extensions. This could take a while... ERROR: Error installing ferret-0.11.6.gem:

ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb install ferret-0.11.6.gem creating Makefile

nmake 'nmake' is not recognized as an internal or external command, operable program or batch file.

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/ext/gem_make.out

in reply to: ↑ 3   Changed 11 months ago by dbalmain

  • status changed from reopened to closed
  • resolution set to fixed

Replying to anonymous:

What do you mean "fixed". This error is still occurring. gem install ferret-0.11.6.gem Building native extensions. This could take a while... ERROR: Error installing ferret-0.11.6.gem: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb install ferret-0.11.6.gem creating Makefile nmake 'nmake' is not recognized as an internal or external command, operable program or batch file. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/ext/gem_make.out

I mean "fixed" as in the bug reported in the ticket has been fixed. The problem you are reporting is unrelated and is not a bug. You don't have the VC6 build system installed on your computer so you cannot install the 'ruby' version of Ferret. You need to install the 'win32' version, the latest of which is 0.11.5. I still have a few other issues to work out before I put out another win32 gem so please use that one for now.

  Changed 10 months ago by anonymous

徐州辉煌钢结构工程有限公司是一家集网架钢结构设计、制作、安装及技术服务为一体的大型专业化企业。公司坐落于有网架之乡美誉的江苏省徐州市,这里是全国优质网架原材料供应基地,也是全国网架技术熟练工人培训基地,有着人才,技术和原材料的地域优势。企业创办多年来,本着"求实创新、开拓进取"的精神,不断引进吸收国内外先进技术经验,汇集来自全国各地从事专业管理,专业设计、制造、检测试验等高级优秀人才,配置了各种先进的成套生产和检测设备,能满足制造生产能力要求的流水生产线。公司始终本着“诚信为本、信守合同、用户至上”的理念,坚持贯彻实践三个“第一”——质量第一、信誉第一,服务第一,企业不断深化改革,深挖潜力,降低成本,以最低的价格吸引客户,以最好的质量服务客户,让辉煌网架钢构建设遍布全国各地,多年来深受广大客户及建设单位的一致好评。

竭诚欢迎各界新老朋友真诚合作、共创辉煌、共享绩效,公司将一如既往地为各界朋友提供优秀的服务!

  Changed 5 days ago by Corleon2

Simulations are like miniskirts, they show a lot and hide the essentials.

-- Hubert Kirrman

cialis buy propecia order cheap cialis online compra viagra generico order cheap fioricet buy fioricet buy cialis order propecia viagra online

  Changed 33 hours ago by Corleon2

This was the most unkindest cut of all.

-- William Shakespeare, "Julius Caesar"

compra viagra originale cialis generico compra viagra generico compra cialis originale compra levitra italia

Add/Change #336 (Won't build gem on Windows)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.