Skip to content

Instantly share code, notes, and snippets.

@deltaepsilon
Created February 9, 2012 22:18
Show Gist options
  • Save deltaepsilon/1783735 to your computer and use it in GitHub Desktop.
Save deltaepsilon/1783735 to your computer and use it in GitHub Desktop.
brew install -v mycrypt-php
==> Downloading http://us.php.net/get/php-5.3.6.tar.gz/from/fr.php.net/mirror
File already downloaded in /Users/christopheresplin/Library/Caches/Homebrew
/usr/bin/tar xf /Users/christopheresplin/Library/Caches/Homebrew/mcrypt-php-5.3.6
==> phpize
phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mcrypt-php/5.3.6 --with-mcrypt=/usr/local/Cellar/mcrypt/2.5.8
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/mcrypt-php/5.3.6 --with-mcrypt=/usr/local/Cellar/mcrypt/2.5.8
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/llvm-gcc -E
checking for icc... no
checking for suncc... no
checking whether /usr/bin/llvm-gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-apple-darwin11.3.0
checking host system type... i386-apple-darwin11.3.0
checking target system type... i386-apple-darwin11.3.0
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for mcrypt support... yes, shared
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... yes
checking for ld used by /usr/bin/llvm-gcc... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking for /usr/bin/llvm-gcc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from /usr/bin/llvm-gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if /usr/bin/llvm-gcc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/llvm-gcc option to produce PIC... -fno-common
checking if /usr/bin/llvm-gcc PIC flag -fno-common works... yes
checking if /usr/bin/llvm-gcc static flag -static works... no
checking if /usr/bin/llvm-gcc supports -c -o file.o... yes
checking whether the /usr/bin/llvm-gcc linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... no
checking for /usr/bin/llvm-g++ option to produce PIC...
checking if /usr/bin/llvm-g++ static flag works... yes
checking if /usr/bin/llvm-g++ supports -c -o file.o... yes
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... no
checking dynamic linker characteristics... darwin11.3.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
==> make
make
/bin/sh /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/libtool --mode=compile /usr/bin/llvm-gcc -I. -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -DPHP_ATOM_INC -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/include -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/main -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/Cellar/mcrypt/2.5.8/include -DHAVE_CONFIG_H -O3 -w -pipe -march=core2 -msse4 -c /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/mcrypt.c -o mcrypt.lo
/bin/sh /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/libtool --mode=compile /usr/bin/llvm-gcc -I. -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -DPHP_ATOM_INC -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/include -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/main -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/Cellar/mcrypt/2.5.8/include -DHAVE_CONFIG_H -O3 -w -pipe -march=core2 -msse4 -c /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/mcrypt_filter.c -o mcrypt_filter.lo
mkdir .libs
mkdir .libs
mkdir: .libs: File exists
/usr/bin/llvm-gcc -I. -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -DPHP_ATOM_INC -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/include -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/main -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/Cellar/mcrypt/2.5.8/include -DHAVE_CONFIG_H -O3 -w -pipe -march=core2 -msse4 -c /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/mcrypt_filter.c -fno-common -DPIC -o .libs/mcrypt_filter.o
/usr/bin/llvm-gcc -I. -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -DPHP_ATOM_INC -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/include -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/main -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/Cellar/mcrypt/2.5.8/include -DHAVE_CONFIG_H -O3 -w -pipe -march=core2 -msse4 -c /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/mcrypt.c -fno-common -DPIC -o .libs/mcrypt.o
/bin/sh /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/libtool --mode=link /usr/bin/llvm-gcc -DPHP_ATOM_INC -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/include -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/main -I/private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/Cellar/mcrypt/2.5.8/include -DHAVE_CONFIG_H -O3 -w -pipe -march=core2 -msse4 -o mcrypt.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/homebrew-mcrypt-php-5.3.6-Lnx8/php-5.3.6/ext/mcrypt/modules mcrypt.lo mcrypt_filter.lo -Wl,-rpath,/usr/local/Cellar/mcrypt/2.5.8/lib -L/usr/local/Cellar/mcrypt/2.5.8/lib -lmcrypt -lltdl
/usr/bin/llvm-gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/mcrypt.so -bundle .libs/mcrypt.o .libs/mcrypt_filter.o -L/usr/local/Cellar/mcrypt/2.5.8/lib -lmcrypt /usr/lib/libltdl.3.1.0.dylib /usr/lib/libdl.dylib -march=core2 -msse4 -Wl,-rpath -Wl,/usr/local/Cellar/mcrypt/2.5.8/lib
i686-apple-darwin11-llvm-gcc-4.2: /usr/lib/libltdl.3.1.0.dylib: No such file or directory
make: *** [mcrypt.la] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/mcrypt-php.rb#L17
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 8fd8e2d7278fca02f2b9495e38b5944bb86daecd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: 8-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0 build 211
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
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2 -msse4
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4
MAKEFLAGS: -j8
Error: Failed executing: make
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