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

MacPorts noreply at macports.org
Mon Nov 3 08:53:28 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 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?

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


More information about the macports-tickets mailing list