This is probably not related, but I compile fine on my RedHat system. The only problem I had was to get configure to find my ImageMagick installation. I had to make minor modifications to the configure script, but that seems not to be your problem.
This was using OpenMotif-2.1.30-5_ICS and ImageMagick from RedHat rawhide. [EMAIL PROTECTED] dx-4.1.3]$ rpm -qa | grep ImageMagick ImageMagick-5.3.6-2 ImageMagick-c++-5.3.6-2 ImageMagick-c++-devel-5.3.6-2 ImageMagick-devel-5.3.6-2 I think the correct patch is probably slightly more involved in order to not fall over in the case when the Magick-config script is not available. [EMAIL PROTECTED] dx-4.1.3]$ diff -c configure-BKP configure *** configure-BKP Fri Jun 8 01:09:59 2001 --- configure Wed Jul 25 22:01:37 2001 *************** *** 6221,6227 **** #include "confdefs.h" #include <magick/magick.h> EOF ! ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:6226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then --- 6221,6227 ---- #include "confdefs.h" #include <magick/magick.h> EOF ! ac_try="$ac_cpp `Magick-config --cppflags` conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:6226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then *************** *** 6320,6326 **** echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" ! LIBS="-lMagick $LIB_MAGICK $LIBS" cat > conftest.$ac_ext <<EOF #line 6326 "configure" #include "confdefs.h" --- 6320,6326 ---- echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" ! LIBS="$LIB_MAGICK $LIBS" cat > conftest.$ac_ext <<EOF #line 6326 "configure" #include "confdefs.h"