Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2005 01:25:36 GMT
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77286: [includes fix] OpenOffice-2.0-devel ignores -DWITHOUT_JAVA
Message-ID:  <200502090125.j191PaA4067120@freefall.freebsd.org>
Resent-Message-ID: <200502090130.j191UJqr067317@freefall.freebsd.org>

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

>Number:         77286
>Category:       ports
>Synopsis:       [includes fix] OpenOffice-2.0-devel ignores -DWITHOUT_JAVA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 09 01:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 4.11-RC2 i386
>Organization:
>Environment:
5-stable jail built from today's sources

	
>Description:
	
	In a completely fresh jail, i.e. nothing in /usr/local/ or /usr/X11R6/,
	run make -DWITHOUT_JAVA configure

	configure barfs with:
	checking whether to build with Java support... yes
	checking for java... no
	checking the installed JDK... configure: error: JAVA not found. You need at least jdk-1.3, Kaffee 1.01, or gcj
	===>  Script "configure" failed unexpectedly.

	But, even if java is installed, attempting to build -DWITHOUT_JAVA
	fails in configure, because OOo2 attempts to run some command with
	/usr/local/bin/ant, which then wedges.

	This is because configure is being passed --disable-java, but
	OOo2 switched to wanting --without-java.
>How-To-Repeat:
>Fix:

	In files/Makefile.knobs, change the --disable-java to --without-java.
>Release-Note:
>Audit-Trail:
>Unformatted:



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