Created
May 31, 2014 17:55
-
-
Save a5sk4s/2bf25f67a9b294b8cc7a to your computer and use it in GitHub Desktop.
postgis upgrade error while installing sfcgal
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 | |
Warning: Your file-system on / appears to be CaSe SeNsItIvE. | |
Homebrew is less tested with that - don't worry but please report issues. | |
$ brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew.git | |
HEAD: c6d35b4d47fd2ac2cea8b83c2fd49ddf66a82fd7 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: dual-core 64-bit penryn | |
OS X: 10.6.8-i386 | |
Xcode: 3.2.6 | |
GCC-4.0: build 5494 | |
GCC-4.2: build 5666 | |
LLVM-GCC: build 2335 | |
Clang: 1.7 build 77 | |
X11: 2.7.5 => /opt/X11 | |
System Ruby: 1.8.7-358 | |
Perl: /usr/bin/perl | |
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7 | |
Ruby: /Users/akrubic/.rvm/rubies/ruby-2.0.0-p451/bin/ruby |
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 install -v sfcgal 2>&1 | |
==> Downloading https://github.com/Oslandia/SFCGAL/archive/v1.0.4.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/sfcgal-1.0.4.tar.gz | |
==> Verifying sfcgal-1.0.4.tar.gz checksum | |
tar xf /Library/Caches/Homebrew/sfcgal-1.0.4.tar.gz | |
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/sfcgal/1.0.4 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev | |
-- The C compiler identification is GNU 4.2.1 | |
-- The CXX compiler identification is GNU 4.2.1 | |
-- Checking whether C compiler has -isysroot | |
-- Checking whether C compiler has -isysroot - yes | |
-- Checking whether C compiler supports OSX deployment target flag | |
-- Checking whether C compiler supports OSX deployment target flag - yes | |
-- Check for working C compiler: /usr/local/Library/ENV/3.2.6/gcc-4.2 | |
-- Check for working C compiler: /usr/local/Library/ENV/3.2.6/gcc-4.2 -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Checking whether CXX compiler has -isysroot | |
-- Checking whether CXX compiler has -isysroot - no | |
-- Checking whether CXX compiler supports OSX deployment target flag | |
-- Checking whether CXX compiler supports OSX deployment target flag - no | |
-- Check for working CXX compiler: /usr/local/Library/ENV/3.2.6/g++-4.2 | |
-- Check for working CXX compiler: /usr/local/Library/ENV/3.2.6/g++-4.2 -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Boost_USE_STATIC_LIBS=OFF | |
-- Boost_USE_MULTITHREAD=ON | |
-- Boost version: 1.55.0 | |
-- Found the following Boost libraries: | |
-- date_time | |
-- thread | |
-- system | |
-- serialization | |
-- Found GMP: /usr/local/include | |
-- GMP_INCLUDE_DIRS = /usr/local/include | |
-- GMP_LIBRARIES = /usr/local/lib/libgmp.dylib | |
-- Found MPFR: /usr/local/include | |
-- MPFR_INCLUDE_DIRS = /usr/local/include | |
-- MPFR_LIBRARIES = /usr/local/lib/libmpfr.dylib | |
-- Found CGAL: /usr/local/include (Required is at least version "4.1") | |
-- CGAL 4.4 found | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /tmp/sfcgal-vpRw/SFCGAL-1.0.4 | |
==> make install | |
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -H/tmp/sfcgal-vpRw/SFCGAL-1.0.4 -B/tmp/sfcgal-vpRw/SFCGAL-1.0.4 --check-build-system CMakeFiles/Makefile.cmake 0 | |
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_start /tmp/sfcgal-vpRw/SFCGAL-1.0.4/CMakeFiles /tmp/sfcgal-vpRw/SFCGAL-1.0.4/CMakeFiles/progress.marks | |
/usr/bin/make -f CMakeFiles/Makefile2 all | |
/usr/bin/make -f src/CMakeFiles/SFCGAL.dir/build.make src/CMakeFiles/SFCGAL.dir/depend | |
cd /tmp/sfcgal-vpRw/SFCGAL-1.0.4 && /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/sfcgal-vpRw/SFCGAL-1.0.4 /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src /tmp/sfcgal-vpRw/SFCGAL-1.0.4 /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src/CMakeFiles/SFCGAL.dir/DependInfo.cmake --color= | |
Scanning dependencies of target SFCGAL | |
/usr/bin/make -f src/CMakeFiles/SFCGAL.dir/build.make src/CMakeFiles/SFCGAL.dir/build | |
/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /tmp/sfcgal-vpRw/SFCGAL-1.0.4/CMakeFiles 1 | |
[ 1%] /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /tmp/sfcgal-vpRw/SFCGAL-1.0.4/CMakeFiles 2 | |
[ 2%] Building CXX object src/CMakeFiles/SFCGAL.dir/SFCGAL/Coordinate.cpp.o | |
cd /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src && /usr/local/Library/ENV/3.2.6/g++-4.2 -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DCGAL_INTERSECTION_VERSION=1 -DSFCGAL_BUILD_SHARED -DSFCGAL_EXPORTS -Wall -Wextra -Wno-long-long -pedantic -Wpointer-arith -Wcast-align -Wcast-qual -Wno-overloaded-virtual -Wformat=2 -Winit-self -Wmissing-include-dirs -Wwrite-strings -Wno-error=undef -fPIC -I/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include -I/tmp/sfcgal-vpRw/SFCGAL-1.0.4/patches/CGAL-4.3 -I/usr/local/include -o CMakeFiles/SFCGAL.dir/SFCGAL/Coordinate.cpp.o -c /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src/SFCGAL/Coordinate.cpp | |
Building CXX object src/CMakeFiles/SFCGAL.dir/SFCGAL/Envelope.cpp.o | |
cd /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src && /usr/local/Library/ENV/3.2.6/g++-4.2 -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DCGAL_INTERSECTION_VERSION=1 -DSFCGAL_BUILD_SHARED -DSFCGAL_EXPORTS -Wall -Wextra -Wno-long-long -pedantic -Wpointer-arith -Wcast-align -Wcast-qual -Wno-overloaded-virtual -Wformat=2 -Winit-self -Wmissing-include-dirs -Wwrite-strings -Wno-error=undef -fPIC -I/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include -I/tmp/sfcgal-vpRw/SFCGAL-1.0.4/patches/CGAL-4.3 -I/usr/local/include -o CMakeFiles/SFCGAL.dir/SFCGAL/Envelope.cpp.o -c /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src/SFCGAL/Envelope.cpp | |
In file included from /tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/Point.h:27, | |
from /tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/LineString.h:31, | |
from /tmp/sfcgal-vpRw/SFCGAL-1.0.4/src/SFCGAL/Envelope.cpp:22: | |
/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/detail/TypeForDimension.h:135: error: using ‘typename’ outside of template | |
/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/detail/TypeForDimension.h:139: error: using ‘typename’ outside of template | |
/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/detail/TypeForDimension.h:143: error: using ‘typename’ outside of template | |
/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/detail/TypeForDimension.h:147: error: using ‘typename’ outside of template | |
/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/detail/TypeForDimension.h:151: error: using ‘typename’ outside of template | |
/tmp/sfcgal-vpRw/SFCGAL-1.0.4/include/SFCGAL/detail/TypeForDimension.h:155: error: using ‘typename’ outside of template | |
make[2]: *** [src/CMakeFiles/SFCGAL.dir/SFCGAL/Envelope.cpp.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
make[1]: *** [src/CMakeFiles/SFCGAL.dir/all] Error 2 | |
make: *** [all] Error 2 | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.5 | |
HEAD: c6d35b4d47fd2ac2cea8b83c2fd49ddf66a82fd7 | |
CPU: dual-core 64-bit penryn | |
OS X: 10.6.8-i386 | |
Xcode: 3.2.6 | |
X11: 2.7.5 => /opt/X11 | |
==> ENV | |
HOMEBREW_CC: gcc-4.2 | |
HOMEBREW_CXX: g++-4.2 | |
MAKEFLAGS: -j2 | |
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_LIBDIR: /usr/lib/pkgconfig | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
PATH: /usr/local/Library/ENV/3.2.6:/usr/local/opt/cmake/bin:/usr/local/opt/cgal/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
Error: sfcgal 1.0.4 did not build | |
Logs: | |
/Users/akrubic/Library/Logs/Homebrew/sfcgal/01.cmake | |
/Users/akrubic/Library/Logs/Homebrew/sfcgal/01.cmake.cc | |
/Users/akrubic/Library/Logs/Homebrew/sfcgal/02.make | |
/Users/akrubic/Library/Logs/Homebrew/sfcgal/02.make.cc | |
/Users/akrubic/Library/Logs/Homebrew/sfcgal/CMakeCache.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever overcome this? how?