Coder Social home page Coder Social logo

Comments (8)

bf4 avatar bf4 commented on June 3, 2024

Comment by tribalvibes
Thursday Apr 15, 2010 at 09:28 GMT


Ah in fact it does build with mingw after getting all the paths right. Here's how:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/c837c4438d91208b

  set CPATH=d:\dev\ruby\lib\ImageMagick-6.5.6-Q8\include
  set LIBRARY_PATH=d:\dev\ruby\lib\ImageMagick-6.5.6-Q8\lib
  set PATH=d:\dev\ruby\lib\ImageMagick-6.5.6-Q8;
   d:\dev\ruby\devkit\gcc\3.4.5\bin;
    d:\dev\ruby\devkit\msys\1.0.11\bin;%PATH%
  gem install rmagick --platform ruby

from rmagick.

bf4 avatar bf4 commented on June 3, 2024

Comment by bentomas
Thursday Apr 15, 2010 at 16:06 GMT


Neither Omer nor I have access to a Windows computer, so we can't build and post a binary for Rmagick for any version of Ruby for Windows.

We would love it if you could help out. Any chance you could build binaries for Ruby 1.8.7, and 1.9.1 and put them online for us somewhere that we can download them? Thanks!

from rmagick.

bf4 avatar bf4 commented on June 3, 2024

Comment by tribalvibes
Sunday Apr 18, 2010 at 03:56 GMT


You could pull the 1.9.1 shared object anyway from http://github.com/tribalvibes/rmagick/lib fork

from rmagick.

bf4 avatar bf4 commented on June 3, 2024

Comment by bentomas
Thursday Jun 03, 2010 at 17:33 GMT


Wow! That's awesome! Sorry, for the late response, life got busy.

I see that those binaries were built for 1.9.1-p378 http://github.com/tribalvibes/rmagick/commit/6a9f2cbed48610bd5ba2cee0858d5c53ebc7b32a

Is that currently the most recent version of Ruby? Is there any chance you could build us some for 1.8.7 and 1.9.2 as well?

How do people use those? I'm sorry that I don't know more about Ruby on Windows. Could we bundle those as a zip file so they can download them, or do they need them when compiling the Gem?

Any help and insight you can give me into how the process works would be great.

from rmagick.

bf4 avatar bf4 commented on June 3, 2024

Comment by tribalvibes
Wednesday Jun 16, 2010 at 02:47 GMT


All you need is to drop the built RMagic2.so shared object in /lib of the gem. If you want to repackage it please go ahead.

To build the .so afresh for a new version of ruby, just follow the instructions in the google groups post above. Basically, you need to install the ruby devkit and the mingw compiler. This was all pretty much a no brainer, but the tricky part (for me, being without brain) was getting the path environment vars set correctly for the windows shell. If you follow the pattern above adjusting for your installation it should work.

It seemed from the discussion that the rubyinstaller folks were the best ones for you to coordinate with to make this completely transparent for future versions of RMagick on windows.

from rmagick.

bf4 avatar bf4 commented on June 3, 2024

Comment by wingfire
Saturday Mar 31, 2012 at 00:51 GMT


Checkout Issue #27. There is a instruction for installing under windows.

from rmagick.

bf4 avatar bf4 commented on June 3, 2024

Comment by linduxed
Saturday Nov 02, 2013 at 14:38 GMT


Too old to be relevant, candidate for closing @mmaiza.

from rmagick.

ioquatix avatar ioquatix commented on June 3, 2024

Closing due to irrelevant. Hopefully we can improve windows support going forward.

from rmagick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.