To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69894
Issue #|69894
Summary|check for JAVA_HOME validility (when not given on comm
|andline) fails on Mac (assumes jre directory)
Component|tools
Version|680m185
Platform|All
URL|
OS/Version|Mac OS X
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|configure
Assigned to|rene
Reported by|cloph
------- Additional comments from [EMAIL PROTECTED] Tue Sep 26 16:07:48 -0700
2006 -------
After trying to determine a suitable value for JAVA_HOME, configure checks
whether the dir is really likely to be the JAVA_HOME, by checking for a
subdirectory "jre":
# now check if $JAVA_HOME is really valid
if test ! -d "$JAVA_HOME/jre" -a "x$with_jdk_home" = "x"; then
AC_MSG_WARN([JAVA_HOME was not explicitly informed with
--with-jdk-home. the configure script])
AC_MSG_WARN([attempted to find JAVA_HOME automatically, but apparently
it failed])
AC_MSG_WARN([in case JAVA_HOME is incorrectly set, some projects with
not be built correctly])
echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the
configure script" >> warn
echo "attempted to find JAVA_HOME automatically, but apparently it
failed" >> warn
echo "in case JAVA_HOME is incorrectly set, some projects with not be
built correctly" >> warn
fi
On Mac however, there is no jre directory in HAVA_HOME, so this check will fail.
On Mac you could test for $JAVA_HOME/lib/jvm.cfg or something similar instead
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]