Okay, so I am setting up a brand new Macbook and can''t seem to get RMagick or ImageMagick to install with Darwin Ports. Can anyone give me some insight as to why this may be failing? I get the same error when I do a "sudo port install imagemagick". Thanks! sudo port install rb-rmagick Password: ---> Building XFree86 with target World Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_XFree86/ work/xc" && make World " returned error 2 Command output: dri_driver.c:1108: error: ''list'' undeclared (first use in this function) dri_driver.c:1108: error: ''mode'' undeclared (first use in this function) dri_driver.c: At top level: dri_driver.c:1112: error: parse error before ''ctx'' dri_driver.c: In function ''end_list_callback'': dri_driver.c:1117: error: dereferencing pointer to incomplete type dri_driver.c:1117: error: ''ctx'' undeclared (first use in this function) dri_driver.c: In function ''unwrap_context'': dri_driver.c:1123: error: dereferencing pointer to incomplete type dri_driver.c:1123: error: dereferencing pointer to incomplete type dri_driver.c:1124: error: dereferencing pointer to incomplete type dri_driver.c:1124: error: dereferencing pointer to incomplete type dri_driver.c:1125: error: dereferencing pointer to incomplete type dri_driver.c:1125: error: dereferencing pointer to incomplete type dri_driver.c: In function ''wrap_context'': dri_driver.c:1130: error: dereferencing pointer to incomplete type dri_driver.c:1130: error: dereferencing pointer to incomplete type dri_driver.c:1130: error: dereferencing pointer to incomplete type dri_driver.c:1131: error: dereferencing pointer to incomplete type dri_driver.c:1131: error: dereferencing pointer to incomplete type dri_driver.c:1131: error: dereferencing pointer to incomplete type dri_driver.c:1132: error: dereferencing pointer to incomplete type dri_driver.c:1132: error: dereferencing pointer to incomplete type dri_driver.c:1132: error: dereferencing pointer to incomplete type make[5]: *** [dri_driver.o] Error 1 make[4]: *** [all] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all] Error 1 make[1]: *** [World] Error 2 make: *** [World] Error 2 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You need to make sure you have MacPorts setup correctly and you have your paths right. Also for ImageMagick to work you MUST have X11 installed! Follow the instructions on this page exactly for getting Mac Ports and X11 installed: http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts Then I would simply uninstall everything previously installed with MacPorts and start over once MacPorts is setup correctly. Hope this helps, Wes On Aug 17, 7:31 am, TomRossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote:> Okay, so I am setting up a brand new Macbook and can''t seem to get > RMagick or ImageMagick to install with Darwin Ports. Can anyone give > me some insight as to why this may be failing? I get the same error > when I do a "sudo port install imagemagick". > > Thanks! > > sudo port install rb-rmagick > Password: > ---> Building XFree86 with target World > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_XFree8 6/ > work/xc" && make World " returned error 2 > Command output: dri_driver.c:1108: error: ''list'' undeclared (first use > in this function) > dri_driver.c:1108: error: ''mode'' undeclared (first use in this > function) > dri_driver.c: At top level: > dri_driver.c:1112: error: parse error before ''ctx'' > dri_driver.c: In function ''end_list_callback'': > dri_driver.c:1117: error: dereferencing pointer to incomplete type > dri_driver.c:1117: error: ''ctx'' undeclared (first use in this > function) > dri_driver.c: In function ''unwrap_context'': > dri_driver.c:1123: error: dereferencing pointer to incomplete type > dri_driver.c:1123: error: dereferencing pointer to incomplete type > dri_driver.c:1124: error: dereferencing pointer to incomplete type > dri_driver.c:1124: error: dereferencing pointer to incomplete type > dri_driver.c:1125: error: dereferencing pointer to incomplete type > dri_driver.c:1125: error: dereferencing pointer to incomplete type > dri_driver.c: In function ''wrap_context'': > dri_driver.c:1130: error: dereferencing pointer to incomplete type > dri_driver.c:1130: error: dereferencing pointer to incomplete type > dri_driver.c:1130: error: dereferencing pointer to incomplete type > dri_driver.c:1131: error: dereferencing pointer to incomplete type > dri_driver.c:1131: error: dereferencing pointer to incomplete type > dri_driver.c:1131: error: dereferencing pointer to incomplete type > dri_driver.c:1132: error: dereferencing pointer to incomplete type > dri_driver.c:1132: error: dereferencing pointer to incomplete type > dri_driver.c:1132: error: dereferencing pointer to incomplete type > make[5]: *** [dri_driver.o] Error 1 > make[4]: *** [all] Error 1 > make[3]: *** [all] Error 1 > make[2]: *** [all] Error 1 > make[1]: *** [World] Error 2 > make: *** [World] Error 2--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks, I didn''t realize X11 is required? I could have sworn I was using RMagick without having X11 installed on my last Mac. --Tom On 8/17/07, Acroterra <acroterra-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > You need to make sure you have MacPorts setup correctly and you have > your paths right. Also for ImageMagick to work you MUST have X11 > installed! Follow the instructions on this page exactly for getting > Mac Ports and X11 installed: > http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts > Then I would simply uninstall everything previously installed with > MacPorts and start over once MacPorts is setup correctly. > > Hope this helps, > Wes > > > On Aug 17, 7:31 am, TomRossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote: > > Okay, so I am setting up a brand new Macbook and can''t seem to get > > RMagick or ImageMagick to install with Darwin Ports. Can anyone give > > me some insight as to why this may be failing? I get the same error > > when I do a "sudo port install imagemagick". > > > > Thanks! > > > > sudo port install rb-rmagick > > Password: > > ---> Building XFree86 with target World > > Error: Target org.macports.build returned: shell command " cd "/opt/ > > local/var/macports/build/ > > > _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_XFree8 > 6/ > > work/xc" && make World " returned error 2 > > Command output: dri_driver.c:1108: error: ''list'' undeclared (first use > > in this function) > > dri_driver.c:1108: error: ''mode'' undeclared (first use in this > > function) > > dri_driver.c: At top level: > > dri_driver.c:1112: error: parse error before ''ctx'' > > dri_driver.c: In function ''end_list_callback'': > > dri_driver.c:1117: error: dereferencing pointer to incomplete type > > dri_driver.c:1117: error: ''ctx'' undeclared (first use in this > > function) > > dri_driver.c: In function ''unwrap_context'': > > dri_driver.c:1123: error: dereferencing pointer to incomplete type > > dri_driver.c:1123: error: dereferencing pointer to incomplete type > > dri_driver.c:1124: error: dereferencing pointer to incomplete type > > dri_driver.c:1124: error: dereferencing pointer to incomplete type > > dri_driver.c:1125: error: dereferencing pointer to incomplete type > > dri_driver.c:1125: error: dereferencing pointer to incomplete type > > dri_driver.c: In function ''wrap_context'': > > dri_driver.c:1130: error: dereferencing pointer to incomplete type > > dri_driver.c:1130: error: dereferencing pointer to incomplete type > > dri_driver.c:1130: error: dereferencing pointer to incomplete type > > dri_driver.c:1131: error: dereferencing pointer to incomplete type > > dri_driver.c:1131: error: dereferencing pointer to incomplete type > > dri_driver.c:1131: error: dereferencing pointer to incomplete type > > dri_driver.c:1132: error: dereferencing pointer to incomplete type > > dri_driver.c:1132: error: dereferencing pointer to incomplete type > > dri_driver.c:1132: error: dereferencing pointer to incomplete type > > make[5]: *** [dri_driver.o] Error 1 > > make[4]: *** [all] Error 1 > > make[3]: *** [all] Error 1 > > make[2]: *** [all] Error 1 > > make[1]: *** [World] Error 2 > > make: *** [World] Error 2 > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Last time I installed it I used this guide and things went fairly smoothly: http://rmagick.rubyforge.org/install-osx.html -jc Tom Rossi wrote:> Thanks, I didn''t realize X11 is required? I could have sworn I was > using RMagick without having X11 installed on my last Mac. > > --Tom > > On 8/17/07, * Acroterra* <acroterra-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:acroterra-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > > You need to make sure you have MacPorts setup correctly and you have > your paths right. Also for ImageMagick to work you MUST have X11 > installed! Follow the instructions on this page exactly for getting > Mac Ports and X11 installed: > http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts > Then I would simply uninstall everything previously installed with > MacPorts and start over once MacPorts is setup correctly. > > Hope this helps, > Wes > > > On Aug 17, 7:31 am, TomRossi7 <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org > <mailto:t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org>> wrote: > > Okay, so I am setting up a brand new Macbook and can''t seem to get > > RMagick or ImageMagick to install with Darwin Ports. Can anyone > give > > me some insight as to why this may be failing? I get the same error > > when I do a "sudo port install imagemagick". > > > > Thanks! > > > > sudo port install rb-rmagick > > Password: > > ---> Building XFree86 with target World > > Error: Target org.macports.build returned: shell command " cd > "/opt/ > > local/var/macports/build/ > > > _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_XFree8 > 6/ > > work/xc" && make World " returned error 2 > > Command output: dri_driver.c:1108: error: ''list'' undeclared > (first use > > in this function) > > dri_driver.c:1108: error: ''mode'' undeclared (first use in this > > function) > > dri_driver.c: At top level: > > dri_driver.c:1112: error: parse error before ''ctx'' > > dri_driver.c: In function ''end_list_callback'': > > dri_driver.c:1117: error: dereferencing pointer to incomplete type > > dri_driver.c:1117: error: ''ctx'' undeclared (first use in this > > function) > > dri_driver.c: In function ''unwrap_context'': > > dri_driver.c:1123: error: dereferencing pointer to incomplete type > > dri_driver.c:1123: error: dereferencing pointer to incomplete type > > dri_driver.c:1124: error: dereferencing pointer to incomplete type > > dri_driver.c:1124: error: dereferencing pointer to incomplete type > > dri_driver.c:1125: error: dereferencing pointer to incomplete type > > dri_driver.c:1125: error: dereferencing pointer to incomplete type > > dri_driver.c: In function ''wrap_context'': > > dri_driver.c:1130: error: dereferencing pointer to incomplete type > > dri_driver.c:1130: error: dereferencing pointer to incomplete type > > dri_driver.c:1130: error: dereferencing pointer to incomplete type > > dri_driver.c:1131: error: dereferencing pointer to incomplete type > > dri_driver.c:1131: error: dereferencing pointer to incomplete type > > dri_driver.c:1131: error: dereferencing pointer to incomplete type > > dri_driver.c:1132: error: dereferencing pointer to incomplete type > > dri_driver.c:1132: error: dereferencing pointer to incomplete type > > dri_driver.c:1132: error: dereferencing pointer to incomplete type > > make[5]: *** [dri_driver.o] Error 1 > > make[4]: *** [all] Error 1 > > make[3]: *** [all] Error 1 > > make[2]: *** [all] Error 1 > > make[1]: *** [World] Error 2 > > make: *** [World] Error 2 > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---