Opened 18 years ago

Closed 18 years ago

#5720 closed defect (fixed)

BUG/UPD: ruby-rmagick to 1.9.2

Reported by: pkern@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: shu@…
Port:

Description

The current ruby-rmagick in dports, 1.7.1, fails to build from source due to an API change in ImageMagick. Please update it to 1.9.2 with the attached Portfile.

furie:~/devel/ports pkern$ sudo port install rb-rmagick ---> Fetching rb-rmagick ---> Verifying checksum(s) for rb-rmagick ---> Extracting rb-rmagick ---> Configuring rb-rmagick Warning: wmf2eps is not installed, some RMagick examples will fail. Warning: gs is not installed, some RMagick examples will fail. ---> Building rb-rmagick with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._Users_pkern_devel_ports_ruby_rb-rmagick/work/RMagick-1.7.1" && make all RUBY="/opt/local/ bin/ruby -rvendor-specific"" returned error 2 Command output: from rmagick.h:19,

from rmimage.c:9:

/opt/local/lib/ruby/1.8/powerpc-darwin8.3.0/config.h:5:1: warning: this is the location of the previous definition In file included from /opt/local/include/magick/ImageMagick.h:29,

from /opt/local/include/magick/api.h:28, from rmagick.h:22, from rmimage.c:9:

/opt/local/include/magick/magick-config.h:503:1: warning: "PACKAGE_TARNAME" redefined In file included from /opt/local/lib/ruby/1.8/powerpc-darwin8.3.0/ruby.h:21,

from rmagick.h:19, from rmimage.c:9:

/opt/local/lib/ruby/1.8/powerpc-darwin8.3.0/config.h:3:1: warning: this is the location of the previous definition In file included from /opt/local/include/magick/ImageMagick.h:29,

from /opt/local/include/magick/api.h:28, from rmagick.h:22, from rmimage.c:9:

/opt/local/include/magick/magick-config.h:506:1: warning: "PACKAGE_VERSION" redefined In file included from /opt/local/lib/ruby/1.8/powerpc-darwin8.3.0/ruby.h:21,

from rmagick.h:19, from rmimage.c:9:

/opt/local/lib/ruby/1.8/powerpc-darwin8.3.0/config.h:4:1: warning: this is the location of the previous definition rmimage.c: In function 'Image_color_profile_eq': rmimage.c:1384: error: incompatible types in assignment rmimage.c: In function 'Image_iptc_profile_eq': rmimage.c:4014: error: incompatible types in assignment make[1]: * [rmimage.o] Error 1 setup failed 'system make' failed try 'ruby install.rb --help' for usage make: * [all] Error 1

Attachments (1)

Portfile (1.0 KB) - added by pkern@… 18 years ago.
ruby/rb-rmagick Portfile

Download all attachments as: .zip

Change History (4)

Changed 18 years ago by pkern@…

Attachment: Portfile added

ruby/rb-rmagick Portfile

comment:1 Changed 18 years ago by pkern@…

Cc: shu@… added

comment:2 Changed 18 years ago by m@…

I've tried out the new Portfile, and it works, but ... I had to install ghostscript, otherwise it seemed to be caught in a loop trying to use the gs binary which wasn't there.

Otherwise it seems fine.

comment:3 Changed 18 years ago by pkern@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.