Created
May 22, 2014 11:52
-
-
Save Lvt/777dd88237970d1b91a4 to your computer and use it in GitHub Desktop.
sdl_image failed to build on 10.9
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
| $ brew doctor | |
| Your system is ready to brew. | |
| $ HOMEBREW_MAKE_JOBS=1 brew install -v sdl_image 2>&1 | |
| ==> Downloading http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz | |
| Already downloaded: /Library/Caches/Homebrew/sdl_image-1.2.12.tar.gz | |
| ==> Verifying sdl_image-1.2.12.tar.gz checksum | |
| tar xf /Library/Caches/Homebrew/sdl_image-1.2.12.tar.gz | |
| ==> ./configure --prefix=/usr/local/Cellar/sdl_image/1.2.12_1 --disable-dependency-tracking --disable-sdltest | |
| checking build system type... x86_64-apple-darwin13.1.0 | |
| checking host system type... x86_64-apple-darwin13.1.0 | |
| checking for gcc... clang | |
| 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 clang accepts -g... yes | |
| checking for clang option to accept ISO C89... none needed | |
| checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed | |
| checking for grep that handles long lines and -e... /usr/bin/grep | |
| checking for egrep... /usr/bin/grep -E | |
| checking for fgrep... /usr/bin/grep -F | |
| checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | |
| checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no | |
| checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm | |
| checking the name lister (/usr/bin/nm) interface... BSD nm | |
| checking whether ln -s works... yes | |
| checking the maximum length of command line arguments... 196608 | |
| checking whether the shell understands some XSI constructs... yes | |
| checking whether the shell understands "+="... yes | |
| checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r | |
| checking for objdump... no | |
| checking how to recognize dependent libraries... pass_all | |
| checking for ar... ar | |
| checking for strip... strip | |
| checking for ranlib... ranlib | |
| checking command to parse /usr/bin/nm output from clang object... ok | |
| checking for dsymutil... dsymutil | |
| checking for nmedit... nmedit | |
| checking for lipo... lipo | |
| checking for otool... otool | |
| checking for otool64... no | |
| checking for -single_module linker flag... yes | |
| checking for -exported_symbols_list linker flag... yes | |
| checking how to run the C preprocessor... clang -E | |
| 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 for dlfcn.h... yes | |
| checking for objdir... .libs | |
| rm: conftest.dSYM: is a directory | |
| checking if clang supports -fno-rtti -fno-exceptions... yes | |
| checking for clang option to produce PIC... -fno-common -DPIC | |
| checking if clang PIC flag -fno-common -DPIC works... yes | |
| checking if clang static flag -static works... no | |
| checking if clang supports -c -o file.o... yes | |
| checking if clang supports -c -o file.o... (cached) yes | |
| checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes | |
| checking dynamic linker characteristics... darwin13.1.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... yes | |
| checking host system type... (cached) x86_64-apple-darwin13.1.0 | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether build environment is sane... yes | |
| checking for a thread-safe mkdir -p... ./install-sh -c -d | |
| checking for gawk... no | |
| checking for mawk... no | |
| checking for nawk... no | |
| checking for awk... awk | |
| checking whether make sets $(MAKE)... yes | |
| checking for style of include used by make... GNU | |
| checking dependency style of clang... none | |
| checking for gcc... (cached) clang | |
| checking whether we are using the GNU C compiler... (cached) yes | |
| checking whether clang accepts -g... (cached) yes | |
| checking for clang option to accept ISO C89... (cached) none needed | |
| checking whether we are using the GNU Objective C compiler... yes | |
| checking whether clang accepts -g... yes | |
| checking dependency style of clang... none | |
| checking for inline... inline | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether make sets $(MAKE)... (cached) yes | |
| checking for windres... no | |
| checking for darwin13.1.0-windres... no | |
| checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config | |
| checking pkg-config is at least version 0.9.0... yes | |
| checking for SDL... yes | |
| checking jpeglib.h usability... yes | |
| checking jpeglib.h presence... yes | |
| checking for jpeglib.h... yes | |
| checking for jpeg_CreateDecompress in -ljpeg... no | |
| configure: WARNING: *** Unable to find JPEG library (http://www.ijg.org/) | |
| configure: WARNING: JPG image loading disabled | |
| checking for LIBPNG... yes | |
| checking tiffio.h usability... yes | |
| checking tiffio.h presence... yes | |
| checking for tiffio.h... yes | |
| checking for TIFFClientOpen in -ltiff... no | |
| configure: WARNING: *** Unable to find Tiff library (http://www.remotesensing.org/libtiff/) | |
| configure: WARNING: TIF image loading disabled | |
| checking for LIBWEBP... yes | |
| -- dynamic libwebp -> libwebp.dylib | |
| -- dynamic libpng -> libpng.dylib | |
| configure: creating ./config.status | |
| config.status: creating Makefile | |
| config.status: creating SDL_image.spec | |
| config.status: creating SDL_image.pc | |
| config.status: executing libtool commands | |
| config.status: executing depfiles commands | |
| ==> make install | |
| /bin/sh ./libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL_image\" -DVERSION=\"1.2.12\" -DLOAD_PNG=1 -DLOAD_WEBP=1 -DLOAD_BMP=1 -DLOAD_GIF=1 -DLOAD_LBM=1 -DLOAD_PCX=1 -DLOAD_PNM=1 -DLOAD_TGA=1 -DLOAD_XCF=1 -DLOAD_XPM=1 -DLOAD_XV=1 -DLOAD_WEBP_DYNAMIC=\"libwebp.dylib\" -DLOAD_PNG_DYNAMIC=\"libpng.dylib\" -I. -I/usr/local/Cellar/webp/0.4.0_1/include -I/usr/local/Cellar/libpng/1.6.10/include/libpng16 -g -O2 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include/SDL -c -o IMG.lo IMG.c | |
| libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL_image\" -DVERSION=\"1.2.12\" -DLOAD_PNG=1 -DLOAD_WEBP=1 -DLOAD_BMP=1 -DLOAD_GIF=1 -DLOAD_LBM=1 -DLOAD_PCX=1 -DLOAD_PNM=1 -DLOAD_TGA=1 -DLOAD_XCF=1 -DLOAD_XPM=1 -DLOAD_XV=1 -DLOAD_WEBP_DYNAMIC=\"libwebp.dylib\" -DLOAD_PNG_DYNAMIC=\"libpng.dylib\" -I. -I/usr/local/Cellar/webp/0.4.0_1/include -I/usr/local/Cellar/libpng/1.6.10/include/libpng16 -g -O2 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include/SDL -c IMG.c -fno-common -DPIC -o .libs/IMG.o | |
| In file included from IMG.c:28: | |
| ./SDL_image.h:27:10: fatal error: 'SDL.h' file not found | |
| #include "SDL.h" | |
| ^ | |
| 1 error generated. | |
| make: *** [IMG.lo] Error 1 | |
| ==> Configuration | |
| HOMEBREW_VERSION: 0.9.5 | |
| HEAD: 2e64c12dd27b9b883fb2a8d80ccc3e00a803c4ca | |
| CPU: 8-core 64-bit ivybridge | |
| OS X: 10.9.2-x86_64 | |
| Xcode: 5.1.1 | |
| CLT: 5.1.0.0.1.1396320587 | |
| X11: 2.7.5 => /opt/X11 | |
| ==> ENV | |
| HOMEBREW_CC: clang | |
| HOMEBREW_CXX: clang++ | |
| MAKEFLAGS: -j1 | |
| CMAKE_PREFIX_PATH: /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/sdl/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/webp/lib/pkgconfig | |
| PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9 | |
| HOMEBREW_MAKE_JOBS: 1 | |
| ACLOCAL_PATH: /usr/local/share/aclocal | |
| PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pkg-config/bin:/usr/local/opt/sdl/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libpng/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/webp/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
| Error: sdl_image 1.2.12 did not build | |
| Logs: | |
| /Users/tippelsk/Library/Logs/Homebrew/sdl_image/01.configure | |
| /Users/tippelsk/Library/Logs/Homebrew/sdl_image/01.configure.cc | |
| /Users/tippelsk/Library/Logs/Homebrew/sdl_image/02.make | |
| /Users/tippelsk/Library/Logs/Homebrew/sdl_image/02.make.cc | |
| /Users/tippelsk/Library/Logs/Homebrew/sdl_image/config.log | |
| [1] 37558 exit 1 HOMEBREW_MAKE_JOBS=1 brew install -v sdl_image 2>&1 | |
| $ cat 02.make.cc | |
| clang called with: -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE="SDL_image" -DVERSION="1.2.12" -DLOAD_PNG=1 -DLOAD_WEBP=1 -DLOAD_BMP=1 -DLOAD_GIF=1 -DLOAD_LBM=1 -DLOAD_PCX=1 -DLOAD_PNM=1 -DLOAD_TGA=1 -DLOAD_XCF=1 -DLOAD_XPM=1 -DLOAD_XV=1 -DLOAD_WEBP_DYNAMIC="libwebp.dylib" -DLOAD_PNG_DYNAMIC="libpng.dylib" -I. -I/usr/local/Cellar/webp/0.4.0_1/include -I/usr/local/Cellar/libpng/1.6.10/include/libpng16 -g -O2 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include/SDL -c IMG.c -fno-common -DPIC -o .libs/IMG.o | |
| superenv removed: -g -O2 | |
| superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers | |
| superenv executed: clang -pipe -w -Os -march=native -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE="SDL_image" -DVERSION="1.2.12" -DLOAD_PNG=1 -DLOAD_WEBP=1 -DLOAD_BMP=1 -DLOAD_GIF=1 -DLOAD_LBM=1 -DLOAD_PCX=1 -DLOAD_PNM=1 -DLOAD_TGA=1 -DLOAD_XCF=1 -DLOAD_XPM=1 -DLOAD_XV=1 -DLOAD_WEBP_DYNAMIC="libwebp.dylib" -DLOAD_PNG_DYNAMIC="libpng.dylib" -I. -I/usr/local/Cellar/webp/0.4.0_1/include -I/usr/local/Cellar/libpng/1.6.10/include/libpng16 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include/SDL -c IMG.c -fno-common -DPIC -o .libs/IMG.o -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers | |
| $ brew --config | |
| HOMEBREW_VERSION: 0.9.5 | |
| ORIGIN: https://github.com/Homebrew/homebrew.git | |
| HEAD: 2e64c12dd27b9b883fb2a8d80ccc3e00a803c4ca | |
| HOMEBREW_PREFIX: /usr/local | |
| HOMEBREW_CELLAR: /usr/local/Cellar | |
| CPU: 8-core 64-bit ivybridge | |
| OS X: 10.9.2-x86_64 | |
| Xcode: 5.1.1 | |
| CLT: 5.1.0.0.1.1396320587 | |
| Clang: 5.1 build 503 | |
| X11: 2.7.5 => /opt/X11 | |
| System Ruby: 1.8.7-358 | |
| Perl: /usr/bin/perl | |
| Python: /usr/bin/python | |
| Ruby: /usr/bin/ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment