[MacPorts] #64190: libjpeg-turbo: header file missing
MacPorts
noreply at macports.org
Sat Dec 11 16:58:24 UTC 2021
#64190: libjpeg-turbo: header file missing
------------------------+---------------------------
Reporter: jasonliu-- | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: libjpeg-turbo
------------------------+---------------------------
I'm working on a Portfile for a new port, that needs {{{libjpeg}}} as a
dependency. I'm aware that we are now using {{{libjpeg-turbo}}} instead as
a drop-in replacement. My build is currently failing with the following
error message:
{{{
:info:build /opt/local/include/jpeglib.h:1122:10: fatal error: 'jpegint.h'
file not found
:info:build #include "jpegint.h" /* fetch private declarations
*/
:info:build ^
:info:build 1 error generated.
}}}
Looking at {{{jpeglib.h}}}, it appears that the header is expecting to
include additional headers:
{{{
/*
* The JPEG library modules define JPEG_INTERNALS before including this
file.
* The internal structure declarations are read only when that is true.
* Applications using the library should not include jpegint.h, but may
wish
* to include jerror.h.
*/
#ifdef JPEG_INTERNALS
#include "jpegint.h" /* fetch private declarations */
#include "jerror.h" /* fetch error codes too */
#endif
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64190>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list