I don't know if I messed it up or what, but if you get an error during gem install about "config.h: no such file" or similar, just copy it from "C:\Ruby\include\ruby-1.9.1\i386-mingw32\ruby\config.h" to "C:\Ruby\include\ruby-1.9.1\ruby\config.h" (adjusting paths as necessary). There was some weirdness with Ruby's "config.h" being in the wrong folder on my system. herdProtect antiviru scan for the file rubyinstaller-1.9.1-p429.exe (SHA-1 e450b0c1396fe7890499a5946fcf3f543726d027). So, you don’t need to install Tcl/Tk on your windows box. Ruby/Tk-Kit version of tcltklib.so includes full environment of Tcl/Tk. If you don't want to install it (it's not a big deal to install, but I can see why some might not want to) just ask and I'll provide working binaries here. Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2 (tested on Windows XP). 1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.9/mysql2.so. configure make sudo make install In some cases you will need to realod bash by typing: bash Share. it requires the "devkit" that the RubyInstaller people provide. Download ruby tar from here and then run: tar -xf ruby-X.X.X.tar.gz cd ruby-X.X.X. (you get the idea ) method for installing ruby-opengl 0.60.1 in RubyInstaller 1.9.2! Just read the instructions here: and then get the zip in the next post and read its readme. I got it! I finally found the definitive, ultimate, complete. I've attached the output of the gem install command. I don't want to install the RubyInstaller "devkit" because I already have both cygwin and MinGW installed, and I don't think I should be forced to install yet another gcc x86 tool-chain! However, if someone has instructions on how to get rubygems to use my existing MinGW/MSYS setup to compile gems, I'll perform the patching, compiling, and zipping and put the new version up here for others. As noted in the linked article, the ruby-opengl maintainers seem to have skipped town and left a lot of folks (including me) high and dry! Is there any kind soul out there (running windows and able to build gems from source) who would like to perform the patch, build the gem, and make another zip? I've tried compiling it myself, but I think there are some path issues, because ruby's "config.h" isn't being found, even though it's right there at "C:\Ruby\include\ruby-1.9.1\i386-mingw32\ruby\config.h". We dont have any change log information yet for version 1.9.3 of Ruby. Well, neither this nor the official 0.60.1 win32 build works with 1.9.2, due to this problem caused by a deprecated Ruby C API macro (STR2CSTR).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |