There are a couple of nasty errors you can get when compiling
ImageMagick.
One of them is the dreaded:
"Macro name blahblahblah cannot be redefined."
This is fixed by appending the following to the CFLAGS and CXXFLAGS:
-qlanglevel=extended
Also, you might get an error due to the use of C++-style comments in
straight C files. Gnu compilers (gcc) allow this, and xlc does not.
But you can permit it by adding this to CFLAGS:
-qcpluscmt
Hope this helps someone. It took me a while to figure out. I also
hope this shows up on the web for googlers. :-)
I'm not done compiling yet, but wanted to send this out to help.
--
✐Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4037, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div.,
Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs