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

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

Check out http://rmagick.rubyforge.org/install-faq.html.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs