Integrating Tomcat with Apache Via the mod_jk Module
Subject:   Help: Finding the 'Headers' directory
Date:   2002-08-21 18:48:46
From:   cothomps

I might be able to provide a limited bit of help with the compliation:

My 'Headers' directory is located here:


By doing an 'ls', here are the files in the directory:
-rw-r--r-- 1 root wheel 843 Apr 1 21:29 JDWP.h
-rw-r--r-- 1 root wheel 9161 Apr 1 21:29 JDWPCommands.h
-rw-r--r-- 1 root wheel 67049 Apr 1 20:14 jni.h
-rw-r--r-- 1 root wheel 445 Apr 1 20:14 jni_md.h
-rw-r--r-- 1 root wheel 37149 Apr 1 20:14 jvmdi.h
-rw-r--r-- 1 root wheel 22053 Apr 1 20:14 jvmpi.h

My first suggestion; attempt to find the libraries with the 'locate' command. (e.g. "locate jvmdi.h") to see if the header files might be installed elsewhere.

For example, I did a 'locate', and found that the libraries were also located here:


Then, I had to modify the shell script to tell the build to use *these* header files. The inelegant way: simply replace everywhere you see "${JAVA_HOME}/include" with the full path "/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers", or whereever the libraries might be knocking around on your system. The build then should kick off without a hitch. (Be careful, though... I simply did another build without testing the entire module!)

If the libraries are simply not there on your system, we might have other problems....

Hope this helped...

- Chad Thompson

1 to 1 of 1
  1. Help: Finding the 'Headers' directory
    2002-08-22 01:55:35 [View]

    • Help: Finding the 'Headers' directory
      2002-08-22 06:42:43  cothomps [View]

1 to 1 of 1