Skip to content

Instantly share code, notes, and snippets.

@mihahribar
Created February 27, 2012 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mihahribar/1923693 to your computer and use it in GitHub Desktop.
Save mihahribar/1923693 to your computer and use it in GitHub Desktop.
Homebrew-alt php install error
brew install https://raw.github.com/ampt/homebrew/php/Library/Formula/php.rb
######################################################################## 100.0%
==> Downloading http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror
######################################################################## 100.0%
==> Patching
patching file ext/tidy/tidy.c
==> ./configure --prefix=/usr/local/Cellar/php/5.3.10 --disable-debug --with-config-file-path=/usr/local/Cellar/php/5.3.10/etc --with-iconv-dir=/usr --enable-exif --enable-soa
==> make
==> make install
==> cp ./php.ini-production /usr/local/Cellar/php/5.3.10/etc/php.ini
cp: /usr/local/Cellar/php/5.3.10/etc/php.ini: No such file or directory
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/.rb#L
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 4423bf827266a0338fa468d87b5b9835fa6866e1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/1.9.3-p125/bin/ruby
==> Build Flags
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -w -pipe -march=native -Qunused-arguments -O3
CXXFLAGS: -w -pipe -march=native -Qunused-arguments -O3
CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/libxml2/2.7.8/include -I/usr/X11/include
LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/Cellar/libxml2/2.7.8/lib -L/usr/X11/lib
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Cellar/gettext/0.18.1.1/lib/pkgconfig:/usr/local/Cellar/libxml2/2.7.8/lib/pkgconfig
Error: Failed executing: cp ./php.ini-production /usr/local/Cellar/php/5.3.10/etc/php.ini
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment