[MacPorts] #44737: poppler @0.26.4_0: build fails, cannot find "opj_stdint.h"
MacPorts
noreply at macports.org
Fri Aug 22 21:47:52 PDT 2014
#44737: poppler @0.26.4_0: build fails, cannot find "opj_stdint.h"
--------------------------+----------------------
Reporter: papachoco@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords:
Port: poppler |
--------------------------+----------------------
Changes (by devans@…):
* status: new => assigned
Comment:
There's something wrong with your installation of openjpeg15. The error
from your log file is
{{{
705 :info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H
-I. -I.. -I.. -I../goo -I/opt/local/include -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -fPIC -Wall
-Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-
common -pipe -Os -arch x86_64 -stdlib=libc++ -D_THREAD_SAFE -pthread -MT
CurlPDFDocBuilder.lo -MD -MP -MF .deps/CurlPDFDocBuilder.Tpo -c
CurlPDFDocBuilder.cc -fno-common -DPIC -o .libs/CurlPDFDocBuilder.o
706 :info:build In file included from JPEG2000Stream.cc:15:
707 :info:build In file included from ./JPEG2000Stream.h:19:
708 :info:build /opt/local/include/openjpeg.h:115:10: fatal error:
'opj_stdint.h' file not found
709 :info:build #include "opj_stdint.h"
710 :info:build ^
711 :info:build 1 error generated.
}}}
openjpeg15 does install /opt/local/include/openjpeg.h but its version does
not include any reference to opj_stdint.h.
openjpeg (version 2.1) on the other hand installs its include file at
/opt/local/include/openjpeg-2.1/openjpeg.h and THAT openjpeg.h DOES
reference opj_stdint.h (installed at
/opt/local/include/openjpeg-2.1/opj_stdint.h) at line 115.
So it looks like you have the openjpeg version of openjpeg.h installed
where the openjpeg15 version should be.
I suggest reinstalling openjpeg15 and then try upgrading poppler again.
{{{
sudo port -n upgrade --force openjpeg15
sudo port upgrade poppler
}}}
--
Ticket URL: <https://trac.macports.org/ticket/44737#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list