From: Michael Guterl Date: 2008-10-29T03:45:04+09:00 Subject: Re: OSX: Can't install RMagick. Can't find the ImageMagick l On Tue, Oct 28, 2008 at 2:35 PM, Joshua Muheim wrote: > OK, found it, but encountered another problem while installing > ImageMagick: > > ---> Activating libxml2 2.7.1_1 > ---> Cleaning libxml2 > ---> Fetching tiff > ---> Attempting to fetch tiff-3.8.2.tar.gz from > ftp://ftp.remotesensing.org/pub/libtiff/ > ---> Verifying checksum(s) for tiff > ---> Extracting tiff > ---> Configuring tiff > ---> Building tiff with target all > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.8.2" > && make all " returned error 2 > Command output: > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:560: error: > syntax error before 'size' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:561: error: > syntax error before 'size' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:562: error: > syntax error before 'innerRadius' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:563: error: > syntax error before 'innerRadius' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:566: error: > syntax error before 'size' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:567: error: > syntax error before 'size' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:577: error: > syntax error before 'param' > /System/Library/Frameworks/GLUT.framework/Headers/glut.h:617: error: > syntax error before 'mode' > tiffgt.c: In function 'raster_draw': > tiffgt.c:285: warning: implicit declaration of function 'glDrawPixels' > tiffgt.c:285: error: 'GL_RGBA' undeclared (first use in this function) > tiffgt.c:285: error: (Each undeclared identifier is reported only once > tiffgt.c:285: error: for each function it appears in.) > tiffgt.c:285: error: 'GL_UNSIGNED_BYTE' undeclared (first use in this > function) > tiffgt.c:285: error: syntax error before 'GLvoid' > tiffgt.c: In function 'raster_reshape': > tiffgt.c:291: error: 'GLfloat' undeclared (first use in this function) > tiffgt.c:291: error: syntax error before 'xratio' > tiffgt.c:293: error: 'xratio' undeclared (first use in this function) > tiffgt.c:293: error: 'yratio' undeclared (first use in this function) > tiffgt.c:295: warning: implicit declaration of function 'glPixelZoom' > tiffgt.c:296: warning: implicit declaration of function 'glViewport' > tiffgt.c: In function 'raster_keys': > tiffgt.c:303: warning: unused parameter 'x' > tiffgt.c:303: warning: unused parameter 'y' > tiffgt.c: In function 'raster_special': > tiffgt.c:348: warning: unused parameter 'x' > tiffgt.c:348: warning: unused parameter 'y' > make[1]: *** [tiffgt-tiffgt.o] Error 1 > make: *** [all-recursive] Error 1 > > Error: The following dependencies failed to build: tiff > Error: Status 1 encountered during processing. > 192:~ josh$ > > ...why does such stuff always have to be so complicated...? :-/ I don't have a specific answer to your problem above, but I have found that this site has helped with many RMagick installation related questions and problems. http://rmagick.rubyforge.org/install-faq.html