Subject: Re: [ruby-ffi] Re: Help for Beginner - Compiling C Extension on Windows |
From: Luis Lavena |
Date: 9/2/10 4:54 PM |
To: ruby-ffi@googlegroups.com |
On Thu, Sep 2, 2010 at 6:44 PM, Karl <threadhead@gmail.com> wrote:
Completely removed c:\ruby197 and c:\devkit, also remove all reference in system environment PATH. Installed ruby 1.8.7 with rubyinstaller.org. Installed devkit following the instruction on the wiki, to the letter. Ran .\devkitvars.bat Did a 'gem install thin --platform=ruby' just to make sure things compile... no errors. Back my source directory: ruby extconf.rb (no errors) Ran 'make' and I get the exact same error as above. BTW, I do have VS8 Express installed. Is that causing the issue?
If is in the path and you can do "cl" and works, then could be. Please bring this conversation to RubyInstaller group.
Also, I did a system search for ruby.exe and only one in c:\ruby187 is found.
It is weird that you're having this problem, and the only possible root will be Visual C in the path, but that do not explain how thin installed without issues.
And I checked my rbconfig.rb (I can past the entire content if that helps), all the references I see are to i585-pc-mingw32, mingw32, gcc, but CONFIG["RUBY_SO_NAME"] = "msvcrt-ruby18"
That is the shared library name, that is not an issue.
So, I'm still where I started.
Please bring this issue to RubyInstaller list where others using Windows might be able to help you diagnose the issue. So far, make triggering compilation issues could be associated with VC or something interfering with your environment.-- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry