Created
July 10, 2014 09:21
-
-
Save kennethgillen/e2390025a6148f42c6e3 to your computer and use it in GitHub Desktop.
OSX 10.9 brew install ice issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ome-mvm-109:~ hudson$ brew install ice --with-python | |
==> Downloading http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/ice-3.5.1.tar.gz | |
==> Patching | |
patching file cpp/config/Make.rules.Darwin | |
patching file py/config/Make.rules.Darwin | |
patching file cpp/src/IceGrid/DescriptorHelper.h | |
==> make prefix=/usr/local/Cellar/ice/3.5.1 install_mandir=/usr/local/Cellar/ice/3.5.1/share/man/man1 ins | |
==> make install prefix=/usr/local/Cellar/ice/3.5.1 install_mandir=/usr/local/Cellar/ice/3.5.1/share/man/ | |
==> make prefix=/usr/local/Cellar/ice/3.5.1 install_mandir=/usr/local/Cellar/ice/3.5.1/share/man/man1 ins | |
make[2]: *** Waiting for unfinished jobs.... | |
1 error generated. | |
make[2]: *** [Communicator.o] Error 1 | |
make[1]: *** [all] Error 1 | |
make: *** [all] Error 1 | |
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting | |
====== | |
ome-mvm-109:ice hudson$ cat 03.make | |
making all in src | |
making all in IcePHP | |
clang++ -c -I. -I../../../cpp/include -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DPHP_DEBUG -Wall -D_REENTRANT Communicator.cpp | |
clang++ -c -I. -I../../../cpp/include -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DPHP_DEBUG -Wall -D_REENTRANT Connection.cpp | |
In file included from Connection.cpp:10: | |
In file included from ./Connection.h:13: | |
./Config.h:45:10: fatal error: 'php.h' file not found | |
#include "php.h" | |
^ | |
In file included from Communicator.cpp:10: | |
In file included from ./Communicator.h:13: | |
./Config.h:45:10: fatal error: 'php.h' file not found | |
#include "php.h" | |
^ | |
1 error generated. | |
make[2]: *** [Connection.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
1 error generated. | |
make[2]: *** [Communicator.o] Error 1 | |
make[1]: *** [all] Error 1 | |
make: *** [all] Error 1 | |
HOMEBREW_VERSION: 0.9.5 | |
HEAD: a43376a3094688cd429a34c5154ebb156937dac8 | |
CPU: dual-core 64-bit ivybridge | |
OS X: 10.9.4-x86_64 | |
Xcode: 5.1.1 | |
X11: N/A |
This is also an issue in 10.10 (Yosemite). The only way I found of resolving it is to install CommaneLineTools from Apple Developer Connection (Requires you to be a member). Potentially it could also be fixed by excluding php from the build.
This is the direct link as it is particularly difficult to find by navigation: https://developer.apple.com/downloads/index.action?name=for%20Xcode
Still an issue in 10.11 (El Capitan) as well. Installing "Command Line Tools (OS X 10.11) for Xcode 7.1" avoids the problem.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xcode Command Line Tools weren't installed. This included the PHP headers that brew was looking for. Brew doctor didn't show this.