Skip to content

Instantly share code, notes, and snippets.

@damianryan
Last active August 29, 2015 14:04
Show Gist options
  • Save damianryan/be7b287104ebddabbc8e to your computer and use it in GitHub Desktop.
Save damianryan/be7b287104ebddabbc8e to your computer and use it in GitHub Desktop.
admin@hudson:~
$ brew update
Already up-to-date.
admin@hudson:~
$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 91d3c76973c412d15d813f4aa0d5925847eed444
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.9.3-x86_64
Xcode: 5.1.1
Clang: 5.1 build 503
X11: N/A
System Ruby: 2.0.0-451
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
admin@hudson:~
$ brew doctor
Your system is ready to brew.
admin@hudson:~
$ brew install -v tomcat-native 2>&1
/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home
==> Downloading http://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-connectors/native/1.1.31/source/tomcat-native-1.1.31-src.tar.gz
Already downloaded: /Library/Caches/Homebrew/tomcat-native-1.1.31.tar.gz
==> Verifying tomcat-native-1.1.31.tar.gz checksum
tar xf /Library/Caches/Homebrew/tomcat-native-1.1.31.tar.gz
==> ./configure --prefix=/usr/local/Cellar/tomcat-native/1.1.31 --with-apr=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr --with-java-home=/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home --with-ssl=/usr/local/Cellar/openssl/1.0.1h
checking build system type... x86_64-apple-darwin13.2.0
checking host system type... x86_64-apple-darwin13.2.0
checking target system type... x86_64-apple-darwin13.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
Tomcat Native Version: 1.1.31
checking for chosen layout... tcnative
checking for APR... yes
setting CPP to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc -E"
checking for JDK location (please wait)... /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home
checking Java platform... checking Java platform...
checking for sablevm... NONE
adding "-I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include" to TCNATIVE_PRIV_INCLUDES
checking os_type directory... darwin
adding "-I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin" to TCNATIVE_PRIV_INCLUDES
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for OpenSSL library... using openssl from /usr/local/Cellar/openssl/1.0.1h/lib and /usr/local/Cellar/openssl/1.0.1h/include
checking OpenSSL library version... ok
checking for OpenSSL DSA support... yes
adding "-I/usr/local/Cellar/openssl/1.0.1h/include" to TCNATIVE_PRIV_INCLUDES
setting TCNATIVE_LDFLAGS to "-L/usr/local/Cellar/openssl/1.0.1h/lib -lssl -lcrypto"
adding "-DHAVE_OPENSSL" to CFLAGS
setting TCNATIVE_LIBS to ""
setting TCNATIVE_LIBS to " -L/usr/lib -R/usr/lib -lapr-1 -lpthread"
configure: creating ./config.status
config.status: creating tcnative.pc
config.status: creating Makefile
config.status: executing default commands
==> make LIBTOOL=glibtool --tag=CC CC=clang
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/address.lo -c src/address.c && touch src/address.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/bb.lo -c src/bb.c && touch src/bb.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/dir.lo -c src/dir.c && touch src/dir.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/error.lo -c src/error.c && touch src/error.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/file.lo -c src/file.c && touch src/file.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/info.lo -c src/info.c && touch src/info.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/jnilib.lo -c src/jnilib.c && touch src/jnilib.lo
glibtool --tag=CC --silent --mode=compile clang -g -Os -pipe -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g -O2 -DHAVE_OPENSSL -I/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/include/darwin -I/usr/local/Cellar/openssl/1.0.1h/include -I/usr/include/apr-1 -o src/lock.lo -c src/lock.c && touch src/lock.lo
In file included from src/lock.c:23:
/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:26:10: fatal error: 'apr.h' file not found
#include "apr.h"
^
In file included from src/dir.c:23:
/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:26:10: fatal error: 'apr.h' file not found
#include "apr.h"
In file included from src/bb.c: ^
In file included from src/info.c:23:
/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:2623:
/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:26:10: fatal error: 'apr.h' file not found
#include "apr.h"
^
In file included from src/jnilib.c:23:
/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:26:10: fatal error: 'apr.h' file not found
#include "apr.h"
^
In file included from src/address.c:23:
/private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:26:10: fatal error: 'apr.h' file not found
#include "apr.h"
^
In file included from src/error.c:23:
In file included from /private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.hsrc/file.c::2623::
10: /private/tmp/tomcat-native-rOrW/tomcat-native-1.1.31-src/jni/native/include/tcn.h:26:10fatal error:: fatal error: 'apr.h' file not found
#include "apr.h"
^
'apr.h' file not found
:10: fatal error: #include "apr.h"'apr.h' file not found
#include "apr.h"
^
^
1 error generated.
1 error generated.
1 error generated.
1 error generated.
1 error generated.
1 error generated.
make[1]: *** [src/address.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [src/bb.lo] Error 1
make[1]: *** [src/dir.lo] Error 1
1 error generated.
make[1]: *** [src/lock.lo] Error 1
make[1]: *** [src/error.lo] Error 1
make[1]: *** [src/jnilib.lo] Error 1
make[1]: *** [src/info.lo] Error 1
1 error generated.
make[1]: *** [src/file.lo] Error 1
make: *** [all-recursive] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 91d3c76973c412d15d813f4aa0d5925847eed444
CPU: 8-core 64-bit sandybridge
OS X: 10.9.3-x86_64
Xcode: 5.1.1
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/libtool/bin:/usr/local/opt/tomcat/bin:/usr/local/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: tomcat-native 1.1.31 did not build
Logs:
/Users/admin/Library/Logs/Homebrew/tomcat-native/01.configure
/Users/admin/Library/Logs/Homebrew/tomcat-native/01.configure.cc
/Users/admin/Library/Logs/Homebrew/tomcat-native/02.make
/Users/admin/Library/Logs/Homebrew/tomcat-native/02.make.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment