-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

William,

On 11/10/14 4:26 PM, William Moore wrote:
> The configure command is:
> 
> ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64'
> --with-apxs=/usr/sbin/apxs
> 
> I also tried your version, and that gave the same error:
> 
> configure: error: could not detect a 32-bit integer type

Weird.

> Which version of Xcode are you using? Mine says:
> 
> Version 6.1 (6A1052d)

I have exactly the same version.

What about llvm?

$ cc --version
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

Would you be willing to do a "make clean" and then post the entire
output of your configure script?

- -chris

>> On 10 Nov 2014, at 7:52pm, Christopher Schultz
>> <ch...@christopherschultz.net> wrote:
>> 
> William,
> 
> On 11/10/14 10:50 AM, William Moore wrote:
>>>> Please can someone advise me how to build mod_jk on Mac OS X
>>>> 10.10 (Yosemite / darwin 14.0.0)? I got past the failure at:
>>>> 
>>>> checking for gcc... 
>>>> /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/cc
>>>>
>>>>
>
>>>> 
checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> 
> At some point in the recent past, Apple broke the command-line 
> toolchains by renaming 
> /Applications/Xcode.app/Contents/Developer/Toolchains/OSX[verision].xctoolchain
>
> 
to
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain.
>
>  If you in fact have an XcodeDefault.xctoolchain directory in 
> Developer/Toolchains and you *don't* have the version-specific
> one, then just go in there and create a symlink:
> 
> $ cd /Applications/Xcode.app/Contents/Developer/Toolchains $ sudo
> ln -s XcodeDefault.xctoolchain OSX10.10.xctoolchain
> 
> This is probably how you fixed yours already. Another way to do it 
> *should be* to just do this:
> 
> $ 
> CC=Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
>
> 
./configure --with-apxs=`which apxs`
> 
> On my system, configure completes and gives me a warning that I've 
> overridden the compiler setting sniffed from apxs and warns me that
> I might get errors later.
> 
> When I try to actually build, libtool does not use the CC
> specified during configure. :(
> 
> So you have to go back to the whole symlink thing.
> 
> FWIW, I just built mod_jk 1.2.37 (the source I had available) on
> my machine running 10.10 after solving the toolchain thing. No
> problem with a 32-bit integer or anything like that.
> 
> -chris
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUYT/2AAoJEBzwKT+lPKRY55gQAJIelSBD2hlZ7/jRad13ngTU
hVBwx/fH9Rc5fKUvXKiZv5zwiVdyIW3WAtI0htWUJe1xcFctZtMaUe9AMa+lfsBr
ykUIIkGpKPZiQF3yrr1aunGNJKRXJeV+oc5/hwBzjXF/dH+80BJoYLv5bT0SXOhp
5L01YgTLlu+A2doL0pkdZT1JHXQJvbKLoqaLSV//Qh7ljM/kaKNfzYWWRqj/8HSY
pA2oHUQ4aioCyy07yXAmOSJ9mKscuxisG+GV/qC+SfDKSb6fTvc84pFGxoAxTPGg
/vWMiR8yyNjRciZ/DRFxs7+GKHFyaDhEghjw2aUJYX5SnlAxbBc/liVHFcUa2Xg7
EkyUHDtL0W71F5E6qhtP0PggPKU3MARgdLunqH8wZXDyXTHo4klPd91TtQG6hX5l
TDfyqhu4p1k6czFmW9jwTVkjS0syzw6WiigzAUQGck55a3T2WzBGFOERhi87poyo
PmsMAGrAoinRiQAtmX91GQbCkEwBt85bdkPuMYUQo/wu8dWv0Ig9smJzXQCdqnm6
cAPnL0SKWGwD1NZXQjgzaID9frNHVvPdfMacp3t8FFgnPE4CzdKd4LqwzOgF0+Ms
PSt6tamxw51YZ3eUy8nCQ8aX1HzboLa12VP9ErTHVod7Pd3Y7gsD4ugoeJ1UTGyb
AjYXFjHgahnH7U7GpVk2
=viP1
-----END PGP SIGNATURE-----

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

Reply via email to