https://bugzilla.novell.com/show_bug.cgi?id=340485 Summary: System-wide ImageMagick headers contain autotools macros from config.h Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: nadvornik@novell.com ReportedBy: prusnak@novell.com QAContact: qa@suse.de Found By: --- When trying to compile kismet (uses ImageMagick) I got these build errors: In file included from configfile.h:22, from gpsmap.cc:48: config.h:208:1: error: "PACKAGE_STRING" redefined In file included from /usr/include/magick/deprecate.h:32, from /usr/include/magick/MagickCore.h:142, from /usr/include/magick/api.h:28, from gpsmap.cc:47: /usr/include/magick/magick-config.h:604:1: error: this is the location of the previous definition In file included from configfile.h:22, from gpsmap.cc:48: config.h:211:1: error: "PACKAGE_TARNAME" redefined In file included from /usr/include/magick/deprecate.h:32, from /usr/include/magick/MagickCore.h:142, from /usr/include/magick/api.h:28, from gpsmap.cc:47: /usr/include/magick/magick-config.h:607:1: error: this is the location of the previous definition In file included from configfile.h:22, from gpsmap.cc:48: config.h:214:1: error: "PACKAGE_VERSION" redefined In file included from /usr/include/magick/deprecate.h:32, from /usr/include/magick/MagickCore.h:142, from /usr/include/magick/api.h:28, from gpsmap.cc:47: /usr/include/magick/magick-config.h:610:1: error: this is the location of the previous definition make: *** [.depend] Error 1 System-wide ImageMagick headers should not contain autotools PACKAGE_* macros, because that prevents building of applications that use ImageMagick. -------- [prusnak@leira ~] grep -n PACKAGE_ /usr/include/magick/magick-config.h 583:#define PACKAGE_BUGREPORT "" 586:#define PACKAGE_NAME "" 589:#define PACKAGE_STRING "" 592:#define PACKAGE_TARNAME "" 595:#define PACKAGE_VERSION "" -------- [prusnak@leira ~] grep -Hn 'magick-config\.h' /usr/include/magick/* /usr/include/magick/deprecate.h:31:#include "magick/magick-config.h" /usr/include/magick/magick-config.h:1:/* magick/magick-config.h. Generated from magick-config.h.in by configure. */ /usr/include/magick/magick-config.h:2:/* magick/magick-config.h.in. Generated from configure.ac by autoheader. */ /usr/include/magick/MagickCore.h:29:# include "magick/magick-config.h" /usr/include/magick/MagickCore.h:31:# include "magick-config.h" /usr/include/magick/magick-type.h:31:#include "magick/magick-config.h" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.