Skip to content

Instantly share code, notes, and snippets.

@brtdv
Created March 14, 2013 10:29
Show Gist options
  • Save brtdv/5160307 to your computer and use it in GitHub Desktop.
Save brtdv/5160307 to your computer and use it in GitHub Desktop.
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install php53-imagick
==> Downloading http://pecl.php.net/get/imagick-3.0.1.tgz
Already downloaded: /Library/Caches/Homebrew/php53-imagick-3.0.1.tgz
tar xf /Library/Caches/Homebrew/php53-imagick-3.0.1.tgz
==> /usr/local/Cellar/php53/5.3.17/bin/phpize
/usr/local/Cellar/php53/5.3.17/bin/phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
==> ./configure --prefix=/usr/local/Cellar/php53-imagick/3.0.1 --with-php-config=/usr/local/Cellar/php53/5.3.17/bin/php-config
./configure --prefix=/usr/local/Cellar/php53-imagick/3.0.1 --with-php-config=/usr/local/Cellar/php53/5.3.17/bin/php-config
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/local/Library/ENV/4.3/sed
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -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-darwin12.2.0
checking host system type... i386-apple-darwin12.2.0
checking target system type... i386-apple-darwin12.2.0
checking for PHP prefix... /usr/local/Cellar/php53/5.3.17
checking for PHP includes... -I/usr/local/Cellar/php53/5.3.17/include/php -I/usr/local/Cellar/php53/5.3.17/include/php/main -I/usr/local/Cellar/php53/5.3.17/include/php/TSRM -I/usr/local/Cellar/php53/5.3.17/include/php/Zend -I/usr/local/Cellar/php53/5.3.17/include/php/ext -I/usr/local/Cellar/php53/5.3.17/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php53/5.3.17/lib/php/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /usr/local/Cellar/php53/5.3.17/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 whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/local/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.8.0 Q16
checking for MagickWand.h header file... found in /usr/local/Cellar/imagemagick/6.8.0-10/include/ImageMagick/wand/MagickWand.h
checking PHP version is at least 5.1.3... yes. found 5.3.17
/usr/local/bin/MagickWand-config: line 53: pkg-config: command not found
/usr/local/bin/MagickWand-config: line 41: pkg-config: command not found
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld 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 cc 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 cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.2.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 c++ linker (/usr/bin/ld) supports shared libraries... no
checking for c++ option to produce PIC...
checking if c++ static flag works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... darwin12.2.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/php53-imagick-64j4/imagick-3.0.1/libtool --mode=compile cc -I. -I/private/tmp/php53-imagick-64j4/imagick-3.0.1 -DPHP_ATOM_INC -I/private/tmp/php53-imagick-64j4/imagick-3.0.1/include -I/private/tmp/php53-imagick-64j4/imagick-3.0.1/main -I/private/tmp/php53-imagick-64j4/imagick-3.0.1 -I/usr/local/Cellar/php53/5.3.17/include/php -I/usr/local/Cellar/php53/5.3.17/include/php/main -I/usr/local/Cellar/php53/5.3.17/include/php/TSRM -I/usr/local/Cellar/php53/5.3.17/include/php/Zend -I/usr/local/Cellar/php53/5.3.17/include/php/ext -I/usr/local/Cellar/php53/5.3.17/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/php53-imagick-64j4/imagick-3.0.1/imagick_class.c -o imagick_class.lo
mkdir .libs
cc -I. -I/private/tmp/php53-imagick-64j4/imagick-3.0.1 -DPHP_ATOM_INC -I/private/tmp/php53-imagick-64j4/imagick-3.0.1/include -I/private/tmp/php53-imagick-64j4/imagick-3.0.1/main -I/private/tmp/php53-imagick-64j4/imagick-3.0.1 -I/usr/local/Cellar/php53/5.3.17/include/php -I/usr/local/Cellar/php53/5.3.17/include/php/main -I/usr/local/Cellar/php53/5.3.17/include/php/TSRM -I/usr/local/Cellar/php53/5.3.17/include/php/Zend -I/usr/local/Cellar/php53/5.3.17/include/php/ext -I/usr/local/Cellar/php53/5.3.17/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /private/tmp/php53-imagick-64j4/imagick-3.0.1/imagick_class.c -fno-common -DPIC -o .libs/imagick_class.o
brew: superenv removed: -I/private/tmp/php53-imagick-64j4/imagick-3.0.1 -I/private/tmp/php53-imagick-64j4/imagick-3.0.1 -g -O2
In file included from /private/tmp/php53-imagick-64j4/imagick-3.0.1/imagick_class.c:21:
./php_imagick.h:49:12: fatal error: 'wand/MagickWand.h' file not found
# include <wand/MagickWand.h>
^
1 error generated.
make: *** [imagick_class.lo] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 74c6834607f77b7e4221e42c5e3a00b0ed7205a1
CPU: 8-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
X11: N/A
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local/opt/curl:/usr/local/opt/gettext:/usr/local/opt/zlib:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/zlib/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/local/opt/libtool/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/curl/bin:/usr/local/opt/gettext/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/php53/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: php53-imagick did not build
Logs: /Users/bert/Library/Logs/Homebrew/php53-imagick/config.log
$ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
/usr/local/lib/libosxfuse_i64.2.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libosxfuse_i32.la
/usr/local/lib/libosxfuse_i64.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/osxfuse.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libc-client.a
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php53-imagick/3.0.1/imagick.so' - dlopen(/usr/local/Cellar/php53-imagick/3.0.1/imagick.so, 9): image not found in Unknown on line 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment