MikeK's software notebook

MikeK's software notebook

What you will find

This used to be the place where I wrote stuff I was thinking about while working on the Mozilla project.

Maybe in the near future I'll start to update it again as I'm involved in a couple of new open-source projects - updates pending...

configure: error: The header jni.h was not found.

Why did I reboot?Posted by Mike Kristoffersen 01 Apr, 2009 14:05:12
I don't think I wrote about the above error before - but I have at several instances spend significant time on solving it.... In the output from the build there are some suggestions like setting some flags to disable JAVA in the configuration file, or setting the system up for Java.

But there is another possible reason that are not described in the output, and that is the reason that I usual have. The problem is that the various components of the build system are running from different directories, hence they need an absolute path to the configuration file - e.g. don't write:

export MOZCONFIG=./myMozConfigFile

Give it the full path e.g.:

export MOZCONFIG=~/source/mozilla-central/myMozConfigFile

It's ok to use ~ as the build system doesn't change the "home" directory during the build.

  • Comments(0)//developer.mikek.dk/#post24