from_blob can't find file in /tmp
Posted: 2009-03-24T11:29:20-07:00
Hey all, I am running into an issue in using a Ruby library called Scruffy, which in part uses RMagick, which uses ImageMagick. I am running into an error that looks something like this:
Here is my configuration
/tmp is configured correctly, and I even tried changing MAGICK_TMPDIR, which results in the same error, but instead of /tmp, the directory I choose./usr/local/lib/ruby/gems/1.8/gems/scruffy-0.2.5/lib/scruffy/rasterizers/rmagick_rasterizer.rb:15:in `from_blob': unable to open file `/tmp/magick-XXaki1QC': No such file or directory (Magick::ImageMagickError)
from /usr/local/lib/ruby/gems/1.8/gems/scruffy-0.2.5/lib/scruffy/rasterizers/rmagick_rasterizer.rb:15:in `rasterize
Here is my configuration
Any ideas? My google-fu seems to be failing me...# convert -list configure
Path: /usr/local/lib/ImageMagick-6.4.2/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2008 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES freetype jpeg png zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-djvu=no --with-umem=no --with-fontpath= --with-fontconfig=no --with-lqr=no --with-rsvg=no --with-xml=no
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib -lfreetype
LIB_VERSION 0x642
LIB_VERSION_NUMBER 6,4,2,4
LIBS -lMagickCore -lfreetype -ljpeg -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 07/24/08
VERSION 6.4.2
WEBSITE http://www.imagemagick.org
--