Am 29.10.2015 um 03:59 schrieb Christopher Schultz:
Youngho,

On 10/28/15 10:35 PM, Youngho Cho wrote:
  Just before I upgrade to OSX 10.11.1

  And try to compile Apache mod_jk 1.2.41.

But the make is fail.

  YounghoiMac:native youngho$ sudo make

Making all in common
usr/share/apr-1/build-1/libtool --silent --mode=compile
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/cc
-I. -I/usr/include/apache2 -arch x86_64 -DHAVE_CONFIG_H -DHAVE_APR
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr/include/apr-1
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr/include/apr-1
-arch x86_64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-DDARWIN_10 
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr/include/apr-1
-c jk_ajp12_worker.c -o jk_ajp12_worker.lo
In file included from jk_ajp12_worker.c:26:
In file included from ./jk_ajp12_worker.h:27:
In file included from ./jk_logger.h:27:
./jk_global.h:78:10: fatal error: 'apr_lib.h' file not found
#include "apr_lib.h"
          ^
1 error generated.
make[1]: *** [jk_ajp12_worker.lo] Error 1
make: *** [all-recursive] Error 1

-----------

  How can I fixed it ?

  Someone also have same trouble

  
https://stackoverflow.com/questions/33402932/tomcat-connectors-mod-jk-make-error#_=_

When you ran "configure", what options did you choose?

In addition to that question: when building mod_jk for the Apache web server 2.x, it uses the APR libraries, which are also used for the Apache web server. During the build it needs the header files for APR. Sometimes they must be installed with some developer package for APR. From the above it looks like your APR headers files (like apr_lib.h) should be located in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr/include/apr-1 but somehow they are not.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to