Bug 132746
| Summary: | .pc file uses incorrect include path | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark Schreiber <mark7> |
| Component: | ImageMagick | Assignee: | Matthias Clasen <mclasen> |
| Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-04-25 04:43:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This won't be fixed in FC2. FC3/FC4 have ImageMagick-6.2.0, and the .pc sets includedir to /usr/include. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040808 Firefox/0.9.3 Description of problem: The .pc file in ImageMagick-devel (/usr/lib/pkgconfig/ImageMagick.pc) includes an incorrect path -- includedir is set to /usr/include/magick, and the actual path included is set to -I${includedir}/ImageMagick, which does not exist. Thus, any program using pkg-config to determine the correct CFLAGS for ImageMagick (to find IMAGEMAGICK_CFLAGS) will not build. I would recommend changing includedir to /usr/include and changing the actual include flag to "-I${includdir}/magick". Note that FC2 includes a rather old version of ImageMagick -- v5, whereas v6 is out. The current 6.0.8 tarball does not have this problem. Version-Release number of selected component (if applicable): 5.5.7.15-1.3 How reproducible: Always Steps to Reproduce: 1. Write a program with a configure.in including the line "PKG_CHECK_MODULES(IMAGEMAGICK, ImageMagick)" 2. Have that program's Makefile.am contain the string "AM_CPPFLAGS = @IMAGEMAGICK_CFLAGS@". 3. Attempt to include ImageMagick's api.h with the following line: #include <api.h>. The include path will not include the file, and compilation will fail. Additional info: