Opened 10 years ago
Closed 4 years ago
#45624 closed defect (fixed)
Failed to install gimp-jp2
Reported by: | axmg@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | Cc: | jeabraham, hapaguy (Brian Kurt Fujikawa), EnekoGotzon, xujiyong@…, hubsif, tombombadil@… | |
Port: | gimp-jp2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Using yosemite OX 10.10 and after installing macport according to the OS I try to install gimp. (sudo port install gimp) and have the message:
Error: org.macports.build for port gimp-jp2 returned: command execution failed Error: Failed to install gimp-jp2 Please see the log file for port gimp-jp2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp-jp2/gimp-jp2/main.log Error: The following dependencies were not installed: gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine gutenprint icns-gimp ufraw cfitsio dcraw gtkimageview xsane sane-backends libusb-compat libusb net-snmp To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gimp failed
I try to run gimp. gimp is running
Attachments (1)
Change History (12)
comment:1 follow-up: 2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | gimp-jp2 removed |
Owner: | changed from macports-tickets@… to devans@… |
Port: | gimp-jp2 added; gimp removed |
Type: | request → defect |
comment:2 Changed 10 years ago by axmg@…
comment:3 follow-up: 8 Changed 10 years ago by steve@…
Had this same problem. It turns out that openjpeg.h is no longer found in "/opt/local/include", but rather in a version specific subdirectory of the include tree. For me, just copying the file from the appropriate location to "/opt/local/include" fixed the issue. That is (as root):
cp /opt/local/include/openjpeg-1.5/openjpeg.h /opt/local/include/.
Of course, you should likely replace 1.5 with whatever version you have installed (see what's in "/opt/local/include/openjpeg-*" first):
ls /opt/local/include/openjpeg-*
Also note that more recent versions of openjpeg have "sub-includes" included within the openjpeg.h include file (residing in the same directory), so you may have to copy those files similarly.
I'm not sure if this should be considered a bug with gimp-jp2 (improperly configured -I directive) or with openjpeg (improperly placed .h files). I suspect the former, but who knows?
comment:8 Changed 10 years ago by renaud.pacalet@…
Replying to steve@…:
Had this same problem. It turns out that openjpeg.h is no longer found in "/opt/local/include", but rather in a version specific subdirectory of the include tree. For me, just copying the file from the appropriate location to "/opt/local/include" fixed the issue. That is (as root):
cp /opt/local/include/openjpeg-1.5/openjpeg.h /opt/local/include/.Of course, you should likely replace 1.5 with whatever version you have installed (see what's in "/opt/local/include/openjpeg-*" first):
ls /opt/local/include/openjpeg-*Also note that more recent versions of openjpeg have "sub-includes" included within the openjpeg.h include file (residing in the same directory), so you may have to copy those files similarly.
I'm not sure if this should be considered a bug with gimp-jp2 (improperly configured -I directive) or with openjpeg (improperly placed .h files). I suspect the former, but who knows?
Works with openjpeg-1.5 (openjpeg.h only), not with openjpeg-2.1 (openjpeg.h, opj_config.h and opj_stdint.h). Creating links in /opt/local/include for the 3 latter does not solve the issue. My guess is that gimp-jp2 is compatible with openjpeg-1.5 only. As the header files of openjpeg have been moved in /opt/local/include sub-dirs to allow the co-existence of several incompatible versions, and gimp-jp2 ignores this, gimp-jp2 cannot be built...
comment:11 Changed 4 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This ticket is seven years old, and relates to port gimp-jp2
which no longer exists. Closing.
Please attach the main.log file.