rmagick-temp / rmagick

An interface to the ImageMagick and GraphicsMagick image processing libraries.
http://rmagick.rubyforge.org/
MIT License
790 stars 102 forks source link

Problem with ruby 1.9.2 on Snow Leopard #2

Open openhood opened 14 years ago

openhood commented 14 years ago

When I required RMagick, I get these errors:

dyld: lazy symbol binding failed: Symbol not found: _rb_intern2
  Referenced from: /Users/joseph/.rvm/gems/ruby-1.9.2-head/gems/rmagick-2.13.0/lib/RMagick2.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_intern2
  Referenced from: /Users/joseph/.rvm/gems/ruby-1.9.2-head/gems/rmagick-2.13.0/lib/RMagick2.bundle
  Expected in: flat namespace
bentomas commented 14 years ago

I can't reproduce this on Snow Leopard with either the Gem version of RMagick or the latest trunk.

What version of RMagick are you using? What version of ImageMagick? Can you give us a more complete example of the script you are running?

openhood commented 14 years ago

I've update ruby to 1.9.2 to trunk 26818 (today version), updated imagemagick from 6.5.6-5 to 6.5.9-8, reinstalled rmagick-2.12.2 and it now works! I've also tried to install rmagick-2.13.0 but this time it throws out a long error:

Building native extensions.  This could take a while...
ERROR:  Error installing /Users/joseph/Downloads/rmagick-2-3.13.0.gem:
    ERROR: Failed to build gem native extension.

/Users/joseph/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.4.9... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... yes
checking for InitializeMagick() in -lMagickCore... yes
checking for snprintf() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AcquireImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AffinityImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AffinityImages() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AutoGammaImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AutoLevelImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for BlueShiftImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for ConstituteComponentTerminus() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for DeskewImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for EncipherImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for EqualizeImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for FloodfillPaintImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for FunctionImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for GetAuthenticIndexQueue() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for GetAuthenticPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for GetImageAlphaChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for GetVirtualPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for LevelImageColors() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for LevelColorsImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for LevelizeImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for LiquidRescaleImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for OpaquePaintImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for QueueAuthenticPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for RemapImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for RemoveImageArtifact() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for SelectiveBlurImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for SetImageAlphaChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for SetImageArtifact() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for SetMagickMemoryMethods() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for SparseColorImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for SyncAuthenticPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for TransparentPaintImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for TransparentPaintImageChroma() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for QueryMagickColorname() new signature... yes
checking for Image.type in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for DrawInfo.kerning in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for DrawInfo.interline_spacing in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for DrawInfo.interword_spacing in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for DitherMethod in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for MagickFunction in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for ImageLayerMethod in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for long double in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AlphaChannelType.CopyAlphaChannel... yes
checking for AlphaChannelType.BackgroundAlphaChannel... yes
checking for CompositeOperator.BlurCompositeOp... yes
checking for CompositeOperator.DistortCompositeOp... yes
checking for CompositeOperator.LinearBurnCompositeOp... yes
checking for CompositeOperator.LinearDodgeCompositeOp... yes
checking for CompositeOperator.MathematicsCompositeOp... yes
checking for CompositeOperator.PegtopLightCompositeOp... yes
checking for CompositeOperator.PinLightCompositeOp... yes
checking for CompositeOperator.VividLightCompositeOp... yes
checking for CompressionType.DXT1Compression... yes
checking for CompressionType.DXT3Compression... yes
checking for CompressionType.DXT5Compression... yes
checking for CompressionType.ZipSCompression... yes
checking for CompressionType.PizCompression... yes
checking for CompressionType.Pxr24Compression... yes
checking for CompressionType.B44Compression... yes
checking for CompressionType.B44ACompression... yes
checking for DistortImageMethod.BarrelDistortion... yes
checking for DistortImageMethod.BarrelInverseDistortion... yes
checking for DistortImageMethod.BilinearForwardDistortion... yes
checking for DistortImageMethod.BilinearReverseDistortion... yes
checking for DistortImageMethod.DePolarDistortion... yes
checking for DistortImageMethod.PolarDistortion... yes
checking for DistortImageMethod.PolynomialDistortion... yes
checking for DistortImageMethod.ShepardsDistortion... yes
checking for DitherMethod.NoDitherMethod... yes
checking for FilterTypes.KaiserFilter... yes
checking for FilterTypes.WelshFilter... yes
checking for FilterTypes.ParzenFilter... yes
checking for FilterTypes.LagrangeFilter... yes
checking for FilterTypes.BohmanFilter... yes
checking for FilterTypes.BartlettFilter... yes
checking for FilterTypes.SentinelFilter... yes
checking for MagickEvaluateOperator.PowEvaluateOperator... yes
checking for MagickEvaluateOperator.LogEvaluateOperator... yes
checking for MagickEvaluateOperator.ThresholdEvaluateOperator... yes
checking for MagickEvaluateOperator.ThresholdBlackEvaluateOperator... yes
checking for MagickEvaluateOperator.ThresholdWhiteEvaluateOperator... yes
checking for MagickEvaluateOperator.GaussianNoiseEvaluateOperator... yes
checking for MagickEvaluateOperator.ImpulseNoiseEvaluateOperator... yes
checking for MagickEvaluateOperator.LaplacianNoiseEvaluateOperator... yes
checking for MagickEvaluateOperator.MultiplicativeNoiseEvaluateOperator... yes
checking for MagickEvaluateOperator.PoissonNoiseEvaluateOperator... yes
checking for MagickEvaluateOperator.UniformNoiseEvaluateOperator... yes
checking for MagickEvaluateOperator.CosineEvaluateOperator... yes
checking for MagickEvaluateOperator.SineEvaluateOperator... yes
checking for MagickEvaluateOperator.AddModulusEvaluateOperator... yes
checking for MagickFunction.ArcsinFunction... yes
checking for MagickFunction.ArctanFunction... yes
checking for MagickFunction.PolynomialFunction... yes
checking for MagickFunction.SinusoidFunction... yes
checking for ImageLayerMethod.FlattenLayer... yes
checking for ImageLayerMethod.MergeLayer... yes
checking for ImageLayerMethod.MosaicLayer... yes
checking for ImageLayerMethod.TrimBoundsLayer... yes
checking for VirtualPixelMethod.HorizontalTileVirtualPixelMethod... yes
checking for VirtualPixelMethod.VerticalTileVirtualPixelMethod... yes
checking for VirtualPixelMethod.HorizontalTileEdgeVirtualPixelMethod... yes
checking for VirtualPixelMethod.VerticalTileEdgeVirtualPixelMethod... yes
checking for VirtualPixelMethod.CheckerTileVirtualPixelMethod... yes
checking for ruby/io.h... yes
checking for rb_frame_this_func() in ruby.h,ruby/io.h... yes
creating extconf.h
creating Makefile

======================================================================
Thu 04Mar10 23:41:28
This installation of RMagick 2.13.0 is configured for
Ruby 1.9.2 (x86_64-darwin10.2.0) and ImageMagick 6.5.9 Q16 
======================================================================

make
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmagick.o -c rmagick.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmdraw.o -c rmdraw.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmenum.o -c rmenum.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmfill.o -c rmfill.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmilist.o -c rmilist.c
rmilist.c: In function ‘ImageList_map’:
rmilist.c:448: warning: ‘MapImages’ is deprecated (declared at /Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick/magick/deprecate.h:184)
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmimage.o -c rmimage.c
rmimage.c: In function ‘Image_map’:
rmimage.c:8155: warning: ‘MapImage’ is deprecated (declared at /Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick/magick/deprecate.h:182)
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rminfo.o -c rminfo.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmmain.o -c rmmain.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmmontage.o -c rmmontage.c
gcc -I. -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-darwin10.2.0 -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/Users/joseph/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fno-common  -I/Users/joseph/.homebrew/Cellar/imagemagick/6.5.9-8/include/ImageMagick -fopenmp  -o rmpixel.o -c rmpixel.c
rmpixel.c: In function ‘Pixel_from_hsla’:
rmpixel.c:534: error: ‘MagickLibSubversion’ undeclared (first use in this function)
rmpixel.c:534: error: (Each undeclared identifier is reported only once
rmpixel.c:534: error: for each function it appears in.)
make: *** [rmpixel.o] Error 1

But it's not an issue anymore as long as I stick with rmagick-2.12.2 - sorry to have disturb you for what is probably just due to me using ruby "head".

chitreshgoyal1 commented 12 years ago

Same Problem

With Ruby - 1.8.7 Rails 2.3.5 rmagick 2.12.2 gem 1.4.2

Building native extensions. This could take a while... ERROR: Error installing rmagick-2.12.2.gem: ERROR: Failed to build gem native extension.

D:/Ruby187/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes checking for stdint.h... yes checking for sys/types.h... yes checking for wand/MagickWand.h... yes checking for snprintf() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdin t.h,sys/types.h,wand/MagickWand.h... no checking for AcquireImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,s tdint.h,sys/types.h,wand/MagickWand.h... no checking for AffinityImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h, stdint.h,sys/types.h,wand/MagickWand.h... no checking for AffinityImages() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h ,stdint.h,sys/types.h,wand/MagickWand.h... no checking for AutoGammaImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h ,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for AutoLevelImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h ,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for BlueShiftImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h ,stdint.h,sys/types.h,wand/MagickWand.h... no checking for DeskewImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,st dint.h,sys/types.h,wand/MagickWand.h... no checking for EncipherImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h, stdint.h,sys/types.h,wand/MagickWand.h... no checking for EqualizeImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h, time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for FloodfillPaintImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,t ime.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for FunctionImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h, time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for GetAuthenticIndexQueue() in assert.h,ctype.h,stdio.h,stdlib.h,math. h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for GetAuthenticPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,ti me.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for GetImageAlphaChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h, time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for GetVirtualPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time .h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for LevelImageColors() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time .h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for LevelColorsImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math .h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for LevelizeImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h, time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for LiquidRescaleImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,ti me.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for OpaquePaintImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math .h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for QueueAuthenticPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h, time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for RemapImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,std int.h,sys/types.h,wand/MagickWand.h... no checking for RemoveImageArtifact() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,t ime.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for SelectiveBlurImageChannel() in assert.h,ctype.h,stdio.h,stdlib.h,ma th.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for SetImageAlphaChannel() in assert.h,ctype.h,stdio.h,stdlib.h,math.h, time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for SetImageArtifact() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time .h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for SetMagickMemoryMethods() in assert.h,ctype.h,stdio.h,stdlib.h,math. h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for SparseColorImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time .h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for SyncAuthenticPixels() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,t ime.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for TransparentPaintImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h ,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for TransparentPaintImageChroma() in assert.h,ctype.h,stdio.h,stdlib.h, math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no checking for QueryMagickColorname() new signature... yes checking for Image.type in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdin t.h,sys/types.h,wand/MagickWand.h... yes checking for DrawInfo.kerning in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h ,stdint.h,sys/types.h,wand/MagickWand.h... yes checking for DrawInfo.interline_spacing in assert.h,ctype.h,stdio.h,stdlib.h,mat h.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes checking for DrawInfo.interword_spacing in assert.h,ctype.h,stdio.h,stdlib.h,mat h.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes checking for DitherMethod in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,std int.h,sys/types.h,wand/MagickWand.h... yes checking for MagickFunction in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,s tdint.h,sys/types.h,wand/MagickWand.h... yes checking for ImageLayerMethod in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h ,stdint.h,sys/types.h,wand/MagickWand.h... yes checking for long double in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdi nt.h,sys/types.h,wand/MagickWand.h... yes checking for AlphaChannelType.CopyAlphaChannel... yes checking for AlphaChannelType.BackgroundAlphaChannel... yes checking for CompositeOperator.BlurCompositeOp... yes checking for CompositeOperator.DistortCompositeOp... yes checking for CompositeOperator.LinearBurnCompositeOp... yes checking for CompositeOperator.LinearDodgeCompositeOp... yes checking for CompositeOperator.MathematicsCompositeOp... yes checking for CompositeOperator.PegtopLightCompositeOp... yes checking for CompositeOperator.PinLightCompositeOp... yes checking for CompositeOperator.VividLightCompositeOp... yes checking for CompressionType.DXT1Compression... yes checking for CompressionType.DXT3Compression... yes checking for CompressionType.DXT5Compression... yes checking for CompressionType.ZipSCompression... yes checking for CompressionType.PizCompression... yes checking for CompressionType.Pxr24Compression... yes checking for CompressionType.B44Compression... yes checking for CompressionType.B44ACompression... yes checking for DistortImageMethod.BarrelDistortion... yes checking for DistortImageMethod.BarrelInverseDistortion... yes checking for DistortImageMethod.BilinearForwardDistortion... yes checking for DistortImageMethod.BilinearReverseDistortion... yes checking for DistortImageMethod.DePolarDistortion... yes checking for DistortImageMethod.PolarDistortion... yes checking for DistortImageMethod.PolynomialDistortion... yes checking for DistortImageMethod.ShepardsDistortion... yes checking for DitherMethod.NoDitherMethod... yes checking for FilterTypes.KaiserFilter... yes checking for FilterTypes.WelshFilter... yes checking for FilterTypes.ParzenFilter... yes checking for FilterTypes.LagrangeFilter... yes checking for FilterTypes.BohmanFilter... yes checking for FilterTypes.BartlettFilter... yes checking for FilterTypes.SentinelFilter... yes checking for MagickEvaluateOperator.PowEvaluateOperator... yes checking for MagickEvaluateOperator.LogEvaluateOperator... yes checking for MagickEvaluateOperator.ThresholdEvaluateOperator... yes checking for MagickEvaluateOperator.ThresholdBlackEvaluateOperator... yes checking for MagickEvaluateOperator.ThresholdWhiteEvaluateOperator... yes checking for MagickEvaluateOperator.GaussianNoiseEvaluateOperator... yes checking for MagickEvaluateOperator.ImpulseNoiseEvaluateOperator... yes checking for MagickEvaluateOperator.LaplacianNoiseEvaluateOperator... yes checking for MagickEvaluateOperator.MultiplicativeNoiseEvaluateOperator... yes checking for MagickEvaluateOperator.PoissonNoiseEvaluateOperator... yes checking for MagickEvaluateOperator.UniformNoiseEvaluateOperator... yes checking for MagickEvaluateOperator.CosineEvaluateOperator... yes checking for MagickEvaluateOperator.SineEvaluateOperator... yes checking for MagickEvaluateOperator.AddModulusEvaluateOperator... yes checking for MagickFunction.ArcsinFunction... yes checking for MagickFunction.ArctanFunction... yes checking for MagickFunction.PolynomialFunction... yes checking for MagickFunction.SinusoidFunction... yes checking for ImageLayerMethod.FlattenLayer... yes checking for ImageLayerMethod.MergeLayer... yes checking for ImageLayerMethod.MosaicLayer... yes checking for ImageLayerMethod.TrimBoundsLayer... yes checking for VirtualPixelMethod.HorizontalTileVirtualPixelMethod... yes checking for VirtualPixelMethod.VerticalTileVirtualPixelMethod... yes checking for VirtualPixelMethod.HorizontalTileEdgeVirtualPixelMethod... yes checking for VirtualPixelMethod.VerticalTileEdgeVirtualPixelMethod... yes checking for VirtualPixelMethod.CheckerTileVirtualPixelMethod... yes checking for ruby/io.h... no checking for rb_frame_this_func() in ruby.h,rubyio.h... no creating extconf.h creating Makefile

Thu 18Oct12 16:44:00 This installation of RMagick 2.12.2 is configured for

Ruby 1.8.7 (i386-mingw32) and ImageMagick 6.8.0

make gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmagick.c rmagick.c: In function 'Magick_colors': rmagick.c:32:5: warning: passing argument 2 of 'GetColorInfoList' from incompati ble pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/color.h:75:5: note: expected 'sizet ' but argument is of type 'long unsigned int ' rmagick.c: In function 'Magick_fonts': rmagick.c:74:5: warning: passing argument 2 of 'GetTypeInfoList' from incompatib le pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/type.h:98:5: note: expected 'size_t ' but argument is of type 'long unsigned int ' rmagick.c: In function 'Magick_init_formats': rmagick.c:144:5: warning: passing argument 2 of 'GetMagickInfoList' from incompa tible pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/magick.h:125:5: note: expected 'size _t ' but argument is of type 'long unsigned int ' gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmdraw.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmenum.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmfill.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmilist.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmimage.c rmimage.c: In function 'Image_channel_extrema': rmimage.c:1738:5: warning: passing argument 3 of 'GetImageChannelExtrema' from i ncompatible pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/statistic.h:121:3: note: expected 's ize_t ' but argument is of type 'long unsigned int ' rmimage.c:1738:5: warning: passing argument 4 of 'GetImageChannelExtrema' from i ncompatible pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/statistic.h:121:3: note: expected 's ize_t ' but argument is of type 'long unsigned int ' rmimage.c: In function 'Image_color_histogram': rmimage.c:1941:5: warning: passing argument 2 of 'GetImageHistogram' from incomp atible pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/histogram.h:38:4: note: expected 'si ze_t ' but argument is of type 'long unsigned int ' rmimage.c: In function 'Image_find_similarregion': rmimage.c:4862:5: warning: passing argument 3 of 'IsImageSimilar' from incompati ble pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/color.h:81:3: note: expected 'ssize t ' but argument is of type 'long int ' rmimage.c:4862:5: warning: passing argument 4 of 'IsImageSimilar' from incompati ble pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/color.h:81:3: note: expected 'ssize_ t ' but argument is of type 'long int ' rmimage.c: In function 'Imagesample': rmimage.c:8847:5: warning: passing argument 5 of 'scale' from incompatible point er type rmimage.c:25:14: note: expected 'struct Image * ()(const struct Image _, const long unsigned int, const long unsigned int, struct ExceptionInfo )' but argum ent is of type 'struct Image * ()(const struct Image , const size_t, const si ze_t, struct ExceptionInfo )' rmimage.c: In function 'Image_samplebang': rmimage.c:8855:5: warning: passing argument 5 of 'scale' from incompatible point er type rmimage.c:25:14: note: expected 'struct Image * ()(const struct Image _, const long unsigned int, const long unsigned int, struct ExceptionInfo )' but argum ent is of type 'struct Image * ()(const struct Image , const size_t, const si ze_t, struct ExceptionInfo )' rmimage.c: In function 'Imagescale': rmimage.c:8870:5: warning: passing argument 5 of 'scale' from incompatible point er type rmimage.c:25:14: note: expected 'struct Image * ()(const struct Image _, const long unsigned int, const long unsigned int, struct ExceptionInfo )' but argum ent is of type 'struct Image * ()(const struct Image , const size_t, const si ze_t, struct ExceptionInfo )' rmimage.c: In function 'Image_scalebang': rmimage.c:8878:5: warning: passing argument 5 of 'scale' from incompatible point er type rmimage.c:25:14: note: expected 'struct Image * ()(const struct Image _, const long unsigned int, const long unsigned int, struct ExceptionInfo )' but argum ent is of type 'struct Image * ()(const struct Image , const size_t, const si ze_t, struct ExceptionInfo )' gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rminfo.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmmain.c rmmain.c: In function 'test_Magick_version': rmmain.c:1613:5: warning: passing argument 1 of 'GetMagickVersion' from incompat ible pointer type D:/Ruby187/lib/ruby/1.8/i386-mingw32/magick/version.h:92:4: note: expected 'size _t ' but argument is of type 'long unsigned int ' gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmmontage.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmpixel.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmstruct.c gcc -I. -I. -ID:/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DRUBY_EXTCONF_H=\"extcon f.h\" -g -O2 -DFD_SETSIZE=256 -c rmutil.c gcc -shared -s -o RMagick2.so rmagick.o rmdraw.o rmenum.o rmfill.o rmilist.o rmi mage.o rminfo.o rmmain.o rmmontage.o rmpixel.o rmstruct.o rmutil.o -L. -LD:/Ruby 187/lib -L. -Wl,--enable-auto-image-base,--enable-auto-import,--export-all -lC ORE_RLmagick -lX11 -lmsvcrt-ruby18 -lshell32 -lws2_32 d:/ruby187/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld. exe: cannot find -lCORE_RLmagick d:/ruby187/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld. exe: cannot find -lX11 collect2: ld returned 1 exit status make: _* [RMagick2.so] Error 1

Gem files will remain installed in D:/Ruby187/lib/ruby/gems/1.8/gems/rmagick-2.1 2.2 for inspection. Results logged to D:/Ruby187/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/g em_make.out

linduxed commented 11 years ago

Is this still an issue? My impression is that this is so old that it could be closed.

linduxed commented 11 years ago

I cannot reproduce this with the latest RMagick and Ruby 2.0.0-p247.

I think this is a candidate for closing @mmaiza.