Comments (8)
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.
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.
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.
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.
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.
Comment by wingfire
Saturday Mar 31, 2012 at 00:51 GMT
Checkout Issue #27. There is a instruction for installing under windows.
from rmagick.
Comment by linduxed
Saturday Nov 02, 2013 at 14:38 GMT
Too old to be relevant, candidate for closing @mmaiza.
from rmagick.
Closing due to irrelevant. Hopefully we can improve windows support going forward.
from rmagick.
Related Issues (20)
- ERROR: Can't install RMagick 4.2.6. Can't find ImageMagick with pkg-config HOT 2
- SEGV in pkg-config HOT 5
- Rmagick 5.1 fails to run, fine with 5.0 HOT 6
- ImageList#write crash HOT 4
- I cannot save a PNG image with the alpha channel removed in ImageMagick7. HOT 3
- ImageMagick: unable to read font 'Helvetica'
- Doc: Resize's "Thumbnail" link is not working
- Color inconsistency when reading colormap colors HOT 2
- Huge memory consumption with latest imagemagick@6 update HOT 27
- Magick::Image's compression= setter is not respected when writing TIFF files HOT 3
- Huge memory consumption with latest imagemagick@6 HOT 2
- Compressing PDF file HOT 1
- non-conforming drawing primitive definition `roundrectangle' HOT 1
- Threading deadlock between RMagick & Open3 HOT 3
- Can't install RMagick with latest ImageMagick 7 on Windows HOT 3
- Install fails on Ubuntu - solved HOT 1
- rmagick 5.3.0 rspec testsuite fails with ImageMagick 7.1.1-26 (was okay with 7.1.1-15) HOT 1
- An error occurred while running bundle install or gem install rmagick -v '2.16.0' HOT 6
- Massive test failure with rmagick 5.4.0 on s390x, probably due to incorrect void* -> enum reinterpret_cast HOT 5
- RMagick install fails on Ruby 3.3.0 in Docker on M1 MacBook Pro HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmagick.