Re: [bdbxml] build 2.2.13, enable-java, find header files
George Feinberg <[email protected]> Mon, 6 Mar 2006 14:50:13 -0500
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Ed, This probably has to do with your Java installation. On my Mac, compilation includes: -I/System/Library/Frameworks/JavaVM.framework/Headers This is set by the configure script. Check the build_unix/config.log and your configure output for Berkeley DB to see where it's finding javac and related files. You might try updating your Java installation as well, to see if that helps. Regards, George > I'm trying to compile db xml to run with oXygen on Mac OS X 10.4.x. > I run the main buildall script with the enable-java option. Much > processing takes place successfully, however when we start to work > through the java components, the build process starts for fail. It > fails because it can't find the java header files, in particular > jni.h. This file and, presumably the others, are on my machine. > Things fall apart after that in db_java_wrap.c. The it all ends > with a command prompt. > > What this is telling me is buildall.sh doesn't know where the Java > build environment it on my Mac. I could figure out the environment > fix on a PC, but I'm new to OS X and *nix. While the script does > find a working javac, that obviously isn't enough. > > I you could give me some pretty specific things to check out or > tweak, I'd be grateful. > > Thanks. > > ...edN > ------------------------------------------ To remove yourself from this list, send an email to [email protected]