#27048: swi-prolog build failure: "cannot find java include files" ---------------------------------------+------------------------------------ Reporter: anthony.hw.kong@… | Owner: J.Wielemaker@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: swi-prolog ---------------------------------------+------------------------------------ Comment(by anthony.hw.kong@…): Hi, pmoura, Thanks for looking into the issue. I downloaded the Java Developer download form apple. Now I am getting a different set of error messages ================= :info:build /usr/bin/gcc-4.2 -c -Wall -O2 -g -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_lang_swi-prolog/work/pl-5.8.3/packages/xpce/src -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -fno-common -no-cpp-precomp -DHAVE_CONFIG_H x11/xcommon.c -o x11/xcommon.o :info:build In file included from /opt/local/include/X11/extensions/render.h:29, :info:build from /opt/local/include/X11/extensions/Xrender.h:33, :info:build from /opt/local/include/X11/Xft/Xft.h:42, :info:build from x11/include.h:78, :info:build from x11/xcommon.c:28: :info:build /opt/local/include/X11/Xdefs.h:47: error: conflicting types for 'Bool' :info:build ./h/types.h:66: error: previous declaration of 'Bool' was here :info:build x11/xcommon.c:168: error: conflicting types for 'X11ThreadsDisplay' :info:build ./h/wst.h:34: error: previous declaration of 'X11ThreadsDisplay' was here :info:build x11/xcommon.c: In function 'X11ThreadsDisplay': :info:build x11/xcommon.c:171: warning: comparison between pointer and integer :info:build x11/xcommon.c: In function 'CtoEvent': :info:build x11/xcommon.c:910: warning: assignment makes integer from pointer without a cast :info:build make[4]: *** [x11/xcommon.o] Error 1 :info:build make[3]: *** [dowsobjs] Error 2 :info:build make[2]: *** [all] Error 2 :info:build make[1]: *** [objects] Error 1 :info:build make: *** [packages] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_lang_swi-prolog/work/pl-5.8.3" && /usr/bin/make all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed ================ Mac OSX version: from "uname -a" Darwin mbp002.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 from "About this Mac" 10.6.4 -- Ticket URL: <https://trac.macports.org/ticket/27048#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS