To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51243





------- Additional comments from [EMAIL PROTECTED] Mon Jun 27 18:11:44 -0700 
2005 -------
cmc:
thanks. but no :(
checking jni.h usability... no
checking jni.h presence... no
checking for jni.h... no
configure: error: jni.h could not be found. Mismatch between gcc and libgcj or
libgcj-devel missing?

this is due to JAVA_HOME is setted to /usr/local/ because gcj is /usr/local/bin
configure:6891: checking for gij
configure:6909: found /usr/local/bin/gij
configure:6921: result: /usr/local/bin/gij
configure:6948: checking the installed JDK
configure:6976: result: checked (gcj)
configure:6978: WARNING: EXPERIMENTAL: gij/gcj is not a full JDK replacement -
some projects will fail to compile
configure:7016: checking for gcj
configure:7034: found /usr/local/bin/gcj
configure:7046: result: /usr/local/bin/gcj
configure:7077: checking for javadoc
configure:7095: found /usr/local/bin/javadoc
configure:7107: result: /usr/local/bin/javadoc
configure:7225: checking jni.h usability
configure:7237: ccache gcc-ooo -c -O -pipe  -I/usr/local/include  conftest.c >&5
conftest.c:47:17: jni.h: No such file or directory
configure:7243: $? = 1

problems here are:
o we use gcc 3.4.1 + enumfix as a compiler
o we use gcj/gij from gcc-4.1 snapshot
o if we mix these compilers, for example for FreeBSD, we install
  different include files, libraries, etc.
o c++-java bridge should know where is jni.h and libgnuawt etc.
 (to link against them with gcc-3.4.1)

So we need several --with flags to let them know where relevant
files.

---------------------------------------------------------------------
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]

Reply via email to