[Xastir-Dev] Re: Problem Redhat 5.2 Imagemagik 5.3.5
Henk de Groot
henk.de.groot at hetnet.nl
Thu Jun 5 08:26:23 EDT 2003
Hello Jerry and others,
I wrote:
> GCC compilers do not understand the -march and -mcpu flags; my
> ImageMagick was compiled with a newer compiler than I have on my
> system. It may work for you with the changed acinclude.m4 program.
The Magick-config program is a shell-script, I just deleted the -march...
and -mcpu... flags from it since they don't work with the RH5.2 supplied
GCC compiler. Now with the modification of acinclude.m4 (replace "==" by a
single "=") it works on my system again!
Alternatively acinclude.m4 can use `Magick-config --cflags | sed 's/-m[^
]*//g'` to strip off the offending '-mxxxx' flags, but this is not 100%
"correct" of course (but it works!).
My proposal is to keep the current improved detection in acinclude.m4 and
only fix the "==" issue.
Kind regards,
Henk.
More information about the Xastir-dev
mailing list