Problem Installing RMagick

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 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

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

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: