[MacPorts] #55283: Leptonica does not compile with current openjpeg 2.3

MacPorts noreply at macports.org
Fri Nov 10 03:05:37 UTC 2017


#55283: Leptonica does not compile with current openjpeg 2.3
-----------------------+-----------------------
 Reporter:  ericmoret  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  High       |  Milestone:
Component:  ports      |    Version:  2.4.2
 Keywords:             |       Port:  leptonica
-----------------------+-----------------------
 Leptonica just recently added support for openjpeg 2.3 as seen here:
 https://github.com/DanBloomberg/leptonica/commit/cdf557b8734ea24b53499a7d2c3d06d0c3c9e0ed
 {{{
 [...]
 :info:configure checking for opj_create_decompress in -lopenjp2... yes
 :info:configure checking openjpeg-2.2/openjpeg.h usability... no
 :info:configure checking openjpeg-2.2/openjpeg.h presence... no
 :info:configure checking for openjpeg-2.2/openjpeg.h... no
 :info:configure checking openjpeg-2.1/openjpeg.h usability... no
 :info:configure checking openjpeg-2.1/openjpeg.h presence... no
 :info:configure checking for openjpeg-2.1/openjpeg.h... no
 :info:configure checking openjpeg-2.0/openjpeg.h usability... no
 :info:configure checking openjpeg-2.0/openjpeg.h presence... no
 :info:configure checking for openjpeg-2.0/openjpeg.h... no
 :info:configure checking whether make supports nested variables...
 (cached) yes
 :info:configure checking for size_t... yes
 [...]
 :info:build   CC       pngiostub.lo
 :info:build   CC       pnmio.lo
 :info:build jp2kio.c:117:10: fatal error: 'openjpeg.h' file not found
 :info:build #include <openjpeg.h>
 :info:build          ^~~~~~~~~~~~
 :info:build 1 error generated.
 :info:build make[2]: *** [jp2kio.lo] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build libversions.c:77:10: fatal error: 'openjpeg.h' file not found
 :info:build #include <openjpeg.h>
 :info:build          ^~~~~~~~~~~~
 :info:build 1 error generated.
 :info:build make[2]: *** [libversions.lo] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_leptonica/leptonica/work/leptonica-1.74.4/src'
 [...]
 }}}}

--
Ticket URL: <https://trac.macports.org/ticket/55283>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list