Hey, I''m trying to install RMagick on Leopard, and I''ve already installed ImageMagick. Here''s the version I have: $ convert -version Version: ImageMagick 6.3.9 03/17/08 Q8 http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC I downloaded RMagick-1.15.13.tar.gz from this page: http://rubyforge.org/frs/?group_id=12&release_id=18732 There are some simple instructions once you extract RMagick. $ ./configure <configuration options> $ make ($ su) $ make install (optionally) $ make clean I ran "./configure" and everything seemed to run fine. Then I ran "make" and after a bit, got these weird errors: rmimage.c: In function ''Image_delay'': rmimage.c:3569: error: ''C_unsigned'' undeclared (first use in this function) rmimage.c:3569: error: (Each undeclared identifier is reported only once rmimage.c:3569: error: for each function it appears in.) rmimage.c:3569: error: syntax error before ''long_to_R_unsigned'' I''ve searched for solutions to this, but haven''t found anything. Can anyone help? rmagick has been driving me bonkers. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> I''m trying to install RMagick on Leopard, and I''ve already installed > ImageMagick. Here''s the version I have: > $ convert -version > Version: ImageMagick 6.3.9 03/17/08 Q8 http://www.imagemagick.org > Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC > > I downloaded RMagick-1.15.13.tar.gz from this page: > http://rubyforge.org/frs/?group_id=12&release_id=18732Why not download 2.2.2? I''m on leopard... $ convert -version Version: ImageMagick 6.3.9 03/12/08 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC $ gem search rmagick *** LOCAL GEMS *** rmagick (2.2.2) I just did "sudo gem install rmagick" though....> > There are some simple instructions once you extract RMagick. > $ ./configure <configuration options> > $ make > ($ su) > $ make install > (optionally) > $ make clean > > I ran "./configure" and everything seemed to run fine. > > Then I ran "make" and after a bit, got these weird errors: > rmimage.c: In function ''Image_delay'': > rmimage.c:3569: error: ''C_unsigned'' undeclared (first use in this > function) > rmimage.c:3569: error: (Each undeclared identifier is reported only once > rmimage.c:3569: error: for each function it appears in.) > rmimage.c:3569: error: syntax error before ''long_to_R_unsigned'' > > I''ve searched for solutions to this, but haven''t found anything. Can > anyone help? rmagick has been driving me bonkers. > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I tried to use rmagick-1.15.13 just because I had it working on another computer. But anyhoo, if I try sudo gem install rmagick I get this error: Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. and then these errors at the end: rmimage.c:3181: error: ''C_unsigned'' undeclared (first use in this function) rmimage.c:3181: error: (Each undeclared identifier is reported only once rmimage.c:3181: error: for each function it appears in.) rmimage.c:3181: error: syntax error before ''long_to_R_unsigned'' Does anyone know why I can''t seem to install rmagick? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> I tried to use rmagick-1.15.13 just because I had it working on another > computer. > > But anyhoo, if I try > sudo gem install rmagick > > I get this error: > Building native extensions. This could take a while... > ERROR: Error installing rmagick: > ERROR: Failed to build gem native extension. > > and then these errors at the end: > rmimage.c:3181: error: ''C_unsigned'' undeclared (first use in this > function) > rmimage.c:3181: error: (Each undeclared identifier is reported only once > rmimage.c:3181: error: for each function it appears in.) > rmimage.c:3181: error: syntax error before ''long_to_R_unsigned'' > > Does anyone know why I can''t seem to install rmagick?Do you have Xcode installed? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am pretty sure Xcode is installed -- doing "locate xcode" yields a lot of results. I can install all other gems, but not rmagick. I already have ImageMagick installed, too. Any ideas on what the problem could be? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I tested ImageMagick by converting a .gif to a .jpg, and it worked great. My only problem seems to be rmagick. Whenever I try "sudo gem install rmagick" I get Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. Do I need to specify some options when I install rmagick? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
blasterpal wrote:> My 2 cents: > In my experience with ImageMagick and RMagick on OSX. You need the > latest version of Xcode installed with the latest X11 also. The gem > actually does compilation too if I recall and you can spend hours > trying to figure out issues that have to do with older libs. Do this > first and then retry. > > HHow can I see what versions of XCode and X11 I have installed? Thanks for all advice, I still have hope that I''ll get RMagick working on this computer :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Welp, looks like I already have X11 on the computer: $ X -version TransformProcessType: Success X11.app starting: X.org Release 7.2 X.Org Xquartz X Server 1.3.0-apple5 Build Date: 20080109 Also, I already have XCode: version 3.0 So those seem fine. Plus I have ImageMagick installed. What more do I need to do to be able to install RMagick?? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ESPNDev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Mar-18 22:58 UTC
Re: RMagick on Mac OS X - weird error
installing RMagick is always a tricky one. Recommend checking out this installer script: http://rubyforge.org/frs/?group_id=12&release_id=16101 On Mar 18, 11:46 am, Joe Peck <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Welp, looks like I already have X11 on the computer: > > $ X -version > TransformProcessType: Success > X11.app starting: > X.org Release 7.2 > X.Org Xquartz X Server 1.3.0-apple5 > Build Date: 20080109 > > Also, I already have XCode: > version 3.0 > > So those seem fine. Plus I have ImageMagick installed. What more do I > need to do to be able to install RMagick?? > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ESPNDev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> installing RMagick is always a tricky one. Recommend checking out this > installer script: http://rubyforge.org/frs/?group_id=12&release_id=16101It definitely is a tricky one. I''ve already tried that, to no avail. My guess now is that I have more than one version of ImageMagick installed. $ convert -version Version: ImageMagick 6.3.9 03/17/08 Q8 http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC But when I do "locate ImageMagick" it just finds a bunch of ImageMagick-6.3.2 files, no ImageMagick-6.3.9 files at all. And when I go to look at those ImageMagick-6.3.2 files, they aren''t there. Does anyone have some good advice on how to completely remove ImageMagick? It''s like a week that I can''t kill... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---