Issue 12738 - OOO_STABLE_1_PORTS/X11+Aqua: Apple JavaVM 1.4.1 breaks berkeleydb configure
Summary: OOO_STABLE_1_PORTS/X11+Aqua: Apple JavaVM 1.4.1 breaks berkeleydb configure
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: Mac Mac OS X, all
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: fa
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 17:43 UTC by fa
Modified: 2004-10-15 04:29 UTC (History)
4 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Apply the patch by executing the following commands: cd $SRC_ROOT/berkeleydb ; patch -p0 < /path/to/patch/file (1.13 KB, patch)
2003-04-13 16:07 UTC, pluby
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description fa 2003-03-27 17:43:15 UTC
With the 1.4.1 version, there no longer exists a jni.h in the
/System/Library/Frameworks/JavaVM.framework/Headers/ directory.  We explicitly use this file
as the check to determine whether Java is present on the system, through our patch to
the berekeleydb module's configure script.  The patch changes the check to use JavaVM.h, which
should be present through all Apple JavaVM.frameworks in both 10.1 and 10.2.

Dan
Comment 1 fa 2003-03-27 18:01:48 UTC
Because of either OOo or Safari stupid slowness, this issue got submitted twice.
Real issue is at Issue 12734.

http://www.openoffice.org/issues/show_bug.cgi?id=12734

Dan
Comment 2 pluby 2003-04-13 16:07:31 UTC
Created attachment 5622 [details]
Apply the patch by executing the following commands: cd $SRC_ROOT/berkeleydb ; patch -p0 < /path/to/patch/file
Comment 3 pluby 2003-04-13 16:10:40 UTC
The attached patch allows berkeleydb to find the JavaVM headers on Mac
OS X 10.1. The berkeleydb patches in issue 12734 that worked for Mac
OS X 10.2 broke 10.1.
Comment 4 fa 2003-04-13 19:29:36 UTC
Patrick,

Can you make your changes to the db-3.2.9.patch file (or whatever its called) and 
then do a "dmake create_patch" inside the berkeleydb directory?  Then attach the new 
db-3.2.9.patch file here to this issue and use that.

We're supposed to do the dmake create_patch method for patching patches (per
Hamburg), so that we don't actually "patch the patches" but replace them altogether
with a new copy.  Once you attach the new db-3.2.9.patch, I approve it, so commit it
and go.

Thanks for doing 10.1 build verification...  I don't have a spare machine around to 
dedicate to 10.1.

Dan
Comment 5 fa 2003-04-13 19:31:00 UTC
Patrick,

Can we also move this over to Issue 12734?  This is a dupe of that issue since I was 
having problems with IZ at the time.  Attach the new db-3.2.9.patch to that issue.

http://www.openoffice.org/issues/show_bug.cgi?id=12734

Dan
Comment 6 pluby 2003-04-13 20:04:58 UTC
I have posted the patches to issue 12734 and reverting the state of
this issue back to fixed.
Comment 7 Martin Hollmichel 2004-10-15 04:29:38 UTC
close issue.