Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 18:54:04 GMT
From:      Marcin Cieslak <saper@saper.info>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-java@freebsd.org, g.gonter@ieee.org
Subject:   lang/swi-pl: does not compile with OpenJDK installed
Message-ID:  <201206191854.q5JIs4DG021871@radziecki.saper.info>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Marcin Cieslak
>Organization:	
>Confidential:	no 
>Synopsis:	lang/swi-pl: does not compile with OpenJDK installed
>Severity:	serious
>Priority:	high
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 9.0-BETA1 amd64
>Environment:
System: FreeBSD radziecki.saper.info 9.0-BETA1 FreeBSD 9.0-BETA1 #2 r224912M: Tue Aug 16 23:05:15 CEST 2011 root@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64


>Description:

Apparently "CONFIGURE_ARGS= ---without-jpl" 
from port Makefile gets ignored
and configure fails to find Java includes
(gets stuck on javavm)

>How-To-Repeat:

Compile swi-pl with openjdk6/7 installed.

**********************
* Package jpl
**********************
checking for gmake... gmake
checking for etags... etags
checking for a BSD-compatible install... /usr/bin/install -c 
checking for gcc... ../swipl-ld.sh
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ../swipl-ld.sh accepts -g... yes
checking for ../swipl-ld.sh option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for working alloca.h... no
checking for alloca... yes
checking whether byte ordering is bigendian... no
checking build system type... x86_64-pc-freebsd
checking host system type... x86_64-pc-freebsd
configure: checking Java configuration...
checking if javac works... yes
checking for kaffe... no
checking for java... java
checking for uudecode... yes
checking if uudecode can decode base 64 file... yes
checking if java works... yes
checking for jar... jar
checking for javadoc... javadoc
checking for javac... /usr/local/bin/javac
checking for javac... (cached) /usr/local/bin/javac
checking symlink for /usr/local/bin/javac... /usr/local/bin/javavm
configure: error: cannot find java include files
gmake[1]: *** [configure] Błąd 1
gmake[1]: Opuszczenie katalogu `/.amd_mnt/radziecki/a/icybox/tmp/usr/ports/lang/swi-pl/work/pl-5.10.5/packages'
gmake: *** [packages] Błąd 1


>Fix:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206191854.q5JIs4DG021871>