1) Updade XCode via App Store: | |
2) Install command line tools: | |
xcode-select --install (click install on prompt) | |
3) Create Missing symlink | |
sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain | |
(UPDATED via http://www.n42designs.com/blog/index.cfm/2013/10/23/Running-ColdFusion-10-on-OS-X-Mavericks) | |
4) http://helpx.adobe.com/coldfusion/kb/rhel-connector-configuration/_jcr_content/main-pars/download_1/file.res/connector-source.zip | |
Replace in /native/common/jk_map.c: | |
strcpy(buf, rc); | |
with: | |
memmove(buf, rc, len + 1); | |
cd ~/Desktop/connector-source/native | |
./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' --with-apxs=/usr/sbin/apxs | |
make | |
sudo make install | |
For Coldfusion 10 connector only: | |
5) Copy created mod_jk.so: | |
cp /usr/libexec/apache2/mod_jk.so /Applications/Coldfusion10/config/wsconfig/1/mod_jk.so | |
This comment has been minimized.
This comment has been minimized.
JonSnippets
commented
Oct 23, 2013
Having the same issue as kwispel, anyone else see this? Anyone find a solution? |
This comment has been minimized.
This comment has been minimized.
niksaini
commented
Oct 24, 2013
You'll need to install the command line tools again
|
This comment has been minimized.
This comment has been minimized.
See updated instructions here (first comment) to compile the correct version of mod_jk: http://www.n42designs.com/blog/index.cfm/2013/10/23/Running-ColdFusion-10-on-OS-X-Mavericks#.Um1We5FGGaE |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Nov 10, 2013
Thanks, worked perfectly for me for use with Railo. Great. |
This comment has been minimized.
This comment has been minimized.
whutchtwo
commented
Dec 8, 2013
Code change was not 100%. Caused jboss to hang on me. These stops worked. Download latest Tomcat Connectors source from http://tomcat.apache.org/download-connectors.cgi Per https://issues.apache.org/bugzilla/show_bug.cgi?id=55696 change the method below in ./native/common/jk_maps.c to what you see here: int jk_map_get_int(jk_map_t *m, const char *name, int def)
} xcode-select --install Create missing symlink sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain cd ./native ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' --with-apxs=/usr/sbin/apxs chmod 755 scripts/build/instdso.sh make sudo make install |
This comment has been minimized.
This comment has been minimized.
demisx
commented
Sep 16, 2014
This was my experience compiling mod_jk on Mac OS Mavericks: http://demisx.github.io/tomcat/connector/2014/02/06/install-mod_jk-mac-os-x.html. Hope it helps. |
This comment has been minimized.
kwispel commentedOct 23, 2013
Interesting. It died on ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' --with-apxs=/usr/sbin/apxs for me complaining "error could not detect a 32-bit integer type". I am not a Dec 2012 macbook