pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openoffice3 build problem with java



On Thu, Nov 20, 2008 at 05:20:14AM -0800, walt wrote:
> Bernd Ernesti wrote:
> >Hi,
> >
> >I'm trying to build openoffice with java, but it fails like this
> >after 45 minutes of building:
> >...
> >/usr/pkg/java/jdk-1.5.0/include/jni.h does exists and so the 
> >-I/usr/pkg/java/jdk-1.5.0/include
> >should work, maybe some pkgsrc framework which removes that option from 
> >the compiller.
> 
> Pkgsrc caches all of the headers in a buildlinks directory before 
> starting the compile.  Chances are that the cache is missing the link
> to that header file, though I can't tell you why.  Sometimes you
> can rescue the compile just by adding the symlink manually.

My buildlink header problem is now gone, after moving the jdk15 directory
around.

But that leaves the problem for Reinound with the linux java
package.
Is that supported at all or has it be a native java?

Maybe PKG_JVMS_ACCEPTED has to be used to set the allowed JVM depending
on the OS.

Bernd



Home | Main Index | Thread Index | Old Index