ImageMagick Configure Test

watsonalgas

Joined: 2005-02-01
Posts: 52
Posted: Fri, 2005-05-06 23:57

I'm having problems setting up ImageMagick. When I run the test it gives me the "cannot execute binaries" error, for the four binaries (2 identify, 1 convert, 1 composite). Here is the debug message:

Quote:
is_dir(/usr/local/bin/)
getcwd()
chdir(/usr/home/watson/g2data/tmp/)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/identify)
Executing: ( "/usr/local/bin/identify"
"/usr/home/watson/public_html/gallery2/modules/imagemagick/classes/../test/data/test.gif"
) 2>/usr/home/watson/g2data/tmp/g2dbgElNt0w
file_exists(/usr/home/watson/g2data/tmp/g2dbgElNt0w)
filesize(/usr/home/watson/g2data/tmp/g2dbgElNt0w)
unlink(/usr/home/watson/g2data/tmp/g2dbgElNt0w)
Regular Output:
Error Output:
Status: 127 (expected 0)
file_exists(/usr/local/bin/gm)
tempnam(/usr/home/watson/g2data/tmp/, imgk_)
file_exists(/usr/local/bin/convert)
Executing: ( "/usr/local/bin/convert" "-size" "200x200" "-geometry"
"200x200"
"/usr/home/watson/public_html/gallery2/modules/imagemagick/classes/../test/data/test.gif"
"/usr/home/watson/g2data/tmp/imgk_nFUSSm" )
2>/usr/home/watson/g2data/tmp/g2dbgPzH3Xr
file_exists(/usr/home/watson/g2data/tmp/g2dbgPzH3Xr)
filesize(/usr/home/watson/g2data/tmp/g2dbgPzH3Xr)
unlink(/usr/home/watson/g2data/tmp/g2dbgPzH3Xr)
Regular Output:
Error Output:
Status: 127 (expected 0)
unlink(/usr/home/watson/g2data/tmp/imgk_nFUSSm)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/combine)
file_exists(/usr/local/bin/composite)
is_executable(/usr/local/bin/composite)
file_exists(/usr/local/bin/gm)
tempnam(/usr/home/watson/g2data/tmp/, imgk_)
Executing: ( "/usr/local/bin/composite" "-geometry" "+0+0"
"/usr/home/watson/public_html/gallery2/modules/imagemagick/classes/../test/data/test.jpg"
"/usr/home/watson/public_html/gallery2/modules/imagemagick/classes/../test/data/test.gif"
"/usr/home/watson/g2data/tmp/imgk_O5HFuk" )
2>/usr/home/watson/g2data/tmp/g2dbgLZsUub
file_exists(/usr/home/watson/g2data/tmp/g2dbgLZsUub)
filesize(/usr/home/watson/g2data/tmp/g2dbgLZsUub)
unlink(/usr/home/watson/g2data/tmp/g2dbgLZsUub)
Regular Output:
Error Output:
Status: 127 (expected 0)
file_exists(/usr/home/watson/g2data/tmp/imgk_O5HFuk)
unlink(/usr/home/watson/g2data/tmp/imgk_O5HFuk)
chdir(/usr/home/watson/public_html/gallery2)

I have also looked through this topic:

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=29654&highlight=imagemagick+test

But i didn't find an answer that I could use, unless if from that topic I have to ask my server admin to change something. Anyway, my admin said it had to do with the "/../" in the paths that it shows in the debug, and I need to do something to take that off, but I don't know what. So if anybody knows anything to help, it is appreciated thanks.

----

Gallery URL (optional): watsonalgas.com.ru/gallery2
Gallery version: beta 2
Webserver (with version):
Datatabase (with version): MySQL
PHP version (eg 4.2.1): 4.3.1
phpinfo URL (optional):
Graphics Toolkit(s): GD
Operating system: FreeBSD
Web browser/version: Firefix/IE6
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-05-07 04:09

haha, ".." ya, right.
try running the commands from the command line.. try "ldd /usr/local/bin/identify" too.