tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Moore <wmoor...@gmail.com>
Subject Re: mod_jk on Mac OS X 10.10 (Yosemite)
Date Wed, 12 Nov 2014 09:09:12 GMT
Chris

> On 12 Nov 2014, at 5:13am, Christopher Schultz <chris@christopherschultz.net> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> William,
> 
> On 11/11/14 6:41 AM, William Moore wrote:
>> It turns out this was happening because the upgrade to Yosemite
>> had deleted all the files in /usr/include. I removed the replaced
>> the folder /usr/include with a link to 
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
>> and then configure and make both worked.
> 
> I think you probably wanted to reinstall Xcode's command-line
> utilities instead of the above hack.

You’re correct - I did need to install the command line tools again.

> 
>> Perhaps there is a different way to tell configure and make to use
>> an additional include folder, but I don’t know how to do that (I
>> work on Java mostly, not this stuff).
> 
> You can use the CFLAGS environment variable, like this:
> 
> $ CFLAGS=-I/path/to/include/files ./configure --options ...
> 
> It may or may not work... specifying the CC environment variable works
> for configure and build, but not libtool which ignores the CC setting
> used during configure. I think that's a problem with the mod_jk build
> process, but I'm not good enough at configure/make/libtool to know how
> to fix it. I'll work with Rainer to solve that... he knows a lot more
> than I do about the Apache toolchain…

I’ll try that next time I need to rebuild mod_jk, although that is not likely to be in the
near future.

> - -chris

Thank you

William


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


Mime
View raw message