[MacPorts] #45624: Failed to install gimp-jp2

MacPorts noreply at macports.org
Mon Nov 10 23:18:02 PST 2014


#45624: Failed to install gimp-jp2
-----------------------+----------------------
  Reporter:  axmg@…    |      Owner:  devans@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.2
Resolution:            |   Keywords:
      Port:  gimp-jp2  |
-----------------------+----------------------

Comment (by renaud.pacalet@…):

 Replying to [comment:3 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...

-- 
Ticket URL: <https://trac.macports.org/ticket/45624#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list