If you are on FreeBSD, easiest way to do it would be using ports.
goto /usr/ports/graphics/ImageMagick (notice to caps) then type makeinstall
that would download&install fully working copy of it.
if the version is old you might want to update your ports collection with cvs-up
I hope this helps.
