Skip to content

Instantly share code, notes, and snippets.

@PeterSprague
Created February 17, 2015 17:51
Show Gist options
  • Save PeterSprague/6d2b8b73b2ac6a7e408d to your computer and use it in GitHub Desktop.
Save PeterSprague/6d2b8b73b2ac6a7e408d to your computer and use it in GitHub Desktop.
Mapnik build with Clang 3.5 for FreeBSD 10.1 error from config.log
produced when attempt to compile Mapnik
run: scons configure CXX=/usr/local/bin/clang35
file /usr/local/mapnik.git/SConstruct,line 1116:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for freetype-config...
freetype-config --libs --cflags
-I/usr/local/include/freetype2
-L/usr/local/lib -lfreetype
scons: Configure: yes
scons: Configure: Checking for xml2-config...
xml2-config --cflags
-I/usr/local/include/libxml2 -I/usr/include
scons: Configure: yes
scons: Configure: Checking for dlfcn.h support ...
.sconf_temp/conftest_2.cpp <-
|
|
|#include <dlfcn.h>
|
|int main()
|{
| return 0;
|}
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_2.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -Iinclude -I/usr/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 .sconf_temp/conftest_2.cpp
scons: Configure: yes
.sconf_temp/conftest_3.cpp <-
|
|
|int main()
|{
|#if __cplusplus >= 201103
| return 0;
|#else
| return -1;
|#endif
|}
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_3.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/freetype2 -I/usr/include .sconf_temp/conftest_3.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype
.sconf_temp/conftest_3 > .sconf_temp/conftest_3.out
scons: Configure: Checking if compiler (/usr/local/bin/clang35) supports -std=c++11 flag...
scons: Configure: (cached) yes
scons: Configure: Checking for C library z...
.sconf_temp/conftest_4.c <-
|
|
|#include "zlib.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_4.o -c -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/freetype2 -I/usr/include .sconf_temp/conftest_4.c
gcc: not found
scons: Configure: no
scons: Configure: Checking for C++ library icuuc...
.sconf_temp/conftest_5.cpp <-
|
|
|#include "unicode/unistr.h"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_5.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/freetype2 -I/usr/include .sconf_temp/conftest_5.cpp
.sconf_temp/conftest_5.cpp:3:10: fatal error: 'unicode/unistr.h' file not found
#include "unicode/unistr.h"
^
1 error generated.
scons: Configure: no
scons: Configure: Checking for C++ library harfbuzz...
.sconf_temp/conftest_6.cpp <-
|
|
|#include "harfbuzz/hb.h"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_6.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/freetype2 -I/usr/include .sconf_temp/conftest_6.cpp
.sconf_temp/conftest_6.cpp:3:10: fatal error: 'harfbuzz/hb.h' file not found
#include "harfbuzz/hb.h"
^
1 error generated.
scons: Configure: no
scons: Configure: Searching for boost libs and headers...
scons: Configure: (cached) 
Found boost libs: /usr/local/lib
Found boost headers: /usr/local/include
scons: Configure: Checking for C++ header file boost/version.hpp...
.sconf_temp/conftest_7.cpp <-
|
|#include <boost/version.hpp>
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_7.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/freetype2 -I/usr/include -I/usr/local/include .sconf_temp/conftest_7.cpp
scons: Configure: yes
.sconf_temp/conftest_8.cpp <-
|
|
|#include <boost/version.hpp>
|#include <iostream>
|
|int main()
|{
|
|std::cout << BOOST_LIB_VERSION << std::endl;
|return 0;
|}
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_8.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/freetype2 -I/usr/include -I/usr/local/include .sconf_temp/conftest_8.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype
.sconf_temp/conftest_8.o: In function `main':
.sconf_temp/conftest_8.cpp:(.text+0xa): undefined reference to `std::__1::cout'
.sconf_temp/conftest_8.o: In function `std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::operator<< <std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*)':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x1e8): undefined reference to `std::__1::ios_base::getloc() const'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x1fa): undefined reference to `std::__1::ctype<char>::id'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x204): undefined reference to `std::__1::locale::use_facet(std::__1::locale::id&) const'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x270): undefined reference to `std::__1::locale::~locale()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x292): undefined reference to `std::__1::locale::~locale()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x364): undefined reference to `std::__1::ios_base::clear(unsigned int)'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x3cd): undefined reference to `__cxa_begin_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x3ea): undefined reference to `std::__1::ios_base::__set_badbit_and_consider_rethrow()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x3f4): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc[_ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc]+0x42e): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.o: In function `std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::endl<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0x38): undefined reference to `std::__1::ios_base::getloc() const'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0x45): undefined reference to `std::__1::ctype<char>::id'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0x4f): undefined reference to `std::__1::locale::use_facet(std::__1::locale::id&) const'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0xa6): undefined reference to `std::__1::locale::~locale()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_[_ZNSt3__14endlIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_]+0xb8): undefined reference to `std::__1::locale::~locale()'
.sconf_temp/conftest_8.o: In function `std::__1::basic_ostream<char, std::__1::char_traits<char> >::put(char)':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc]+0x1ff): undefined reference to `std::__1::ios_base::clear(unsigned int)'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc]+0x249): undefined reference to `__cxa_begin_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc]+0x266): undefined reference to `std::__1::ios_base::__set_badbit_and_consider_rethrow()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc]+0x270): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE3putEc]+0x2aa): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.o: In function `std::__1::basic_ostream<char, std::__1::char_traits<char> >::flush()':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv]+0x124): undefined reference to `std::__1::ios_base::clear(unsigned int)'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv]+0x15c): undefined reference to `__cxa_begin_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv]+0x176): undefined reference to `std::__1::ios_base::__set_badbit_and_consider_rethrow()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv]+0x180): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv]+0x1ae): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.o: In function `std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::~sentry()':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev]+0xd4): undefined reference to `std::uncaught_exception()'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev]+0x17f): undefined reference to `std::__1::ios_base::clear(unsigned int)'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev]+0x1a0): undefined reference to `__cxa_begin_catch'
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev[_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev]+0x1ac): undefined reference to `__cxa_end_catch'
.sconf_temp/conftest_8.o: In function `__clang_call_terminate':
.sconf_temp/conftest_8.cpp:(.text.__clang_call_terminate[__clang_call_terminate]+0x9): undefined reference to `__cxa_begin_catch'
.sconf_temp/conftest_8.cpp:(.text.__clang_call_terminate[__clang_call_terminate]+0x12): undefined reference to `std::terminate()'
.sconf_temp/conftest_8.o: In function `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev[_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev]+0xdf): undefined reference to `operator delete(void*)'
.sconf_temp/conftest_8.o: In function `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(unsigned long, char)':
.sconf_temp/conftest_8.cpp:(.text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc[_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc]+0x20e): undefined reference to `operator new(unsigned long)'
.sconf_temp/conftest_8.o: In function `std::__1::__basic_string_common<true>::__throw_length_error() const':
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x14): undefined reference to `__cxa_allocate_exception'
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x3e): undefined reference to `std::logic_error::logic_error(char const*)'
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x49): undefined reference to `vtable for std::length_error'
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x60): undefined reference to `typeinfo for std::length_error'
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x6a): undefined reference to `std::length_error::~length_error()'
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x7d): undefined reference to `__cxa_throw'
.sconf_temp/conftest_8.cpp:(.text._ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv[_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv]+0x8f): undefined reference to `__cxa_free_exception'
.sconf_temp/conftest_8.o:(.eh_frame+0x47): undefined reference to `__gxx_personality_v0'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: Configure: Checking for Boost version >= 1.47...
.sconf_temp/conftest_9.cpp <-
|
|
|#include <boost/version.hpp>
|
|int main()
|{
| return BOOST_VERSION >= 104700 ? 0 : 1;
|}
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_9.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_9.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype
.sconf_temp/conftest_9 > .sconf_temp/conftest_9.out
scons: Configure: yes
scons: Configure: Checking for C++ library boost_system...
.sconf_temp/conftest_10.cpp <-
|
|
|#include "boost/system/system_error.hpp"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_10.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_10.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_system
/usr/bin/ld: //usr/lib/libc++.so.1: invalid DSO for symbol `_ZTVSt12length_error' definition
//usr/lib/libc++.so.1: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: Configure: no
scons: Configure: Checking for C++ library boost_filesystem...
.sconf_temp/conftest_11.cpp <-
|
|
|#include "boost/filesystem/operations.hpp"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_11.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_11.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_11 .sconf_temp/conftest_11.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_filesystem
/usr/bin/ld: //usr/local/lib/libboost_system.so.1.55.0: invalid DSO for symbol `_ZN5boost6system15system_categoryEv' definition
//usr/local/lib/libboost_system.so.1.55.0: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: Configure: no
scons: Configure: Checking for C++ library boost_regex...
.sconf_temp/conftest_12.cpp <-
|
|
|#include "boost/regex.hpp"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_12.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_12.cpp
In file included from .sconf_temp/conftest_12.cpp:3:
In file included from /usr/local/include/boost/regex.hpp:31:
In file included from /usr/local/include/boost/regex/v4/regex.hpp:48:
/usr/local/include/boost/regex/v4/regex_raw_buffer.hpp:132:7: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
register pointer result = end;
^~~~~~~~~
1 warning generated.
/usr/local/bin/clang35 -o .sconf_temp/conftest_12 .sconf_temp/conftest_12.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_regex
scons: Configure: yes
scons: Configure: Checking for C++ library boost_program_options...
.sconf_temp/conftest_13.cpp <-
|
|
|#include "boost/program_options.hpp"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_13.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_13.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_13 .sconf_temp/conftest_13.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_regex -lboost_program_options
scons: Configure: yes
scons: Configure: Checking for C++ library boost_thread...
.sconf_temp/conftest_14.cpp <-
|
|
|#include "boost/thread/mutex.hpp"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_14.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_14.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_14 .sconf_temp/conftest_14.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_regex -lboost_program_options -lboost_thread
/usr/bin/ld: //usr/lib/libc++.so.1: invalid DSO for symbol `_ZTVSt12length_error' definition
//usr/lib/libc++.so.1: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: Configure: no
scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version=0.15.0
scons: Configure: yes
scons: Configure: Checking for C library sqlite3...
.sconf_temp/conftest_16.c <-
|
|
|#include "sqlite3.h"
|
|int
|main() {
|
|return 0;
|}
|
gcc -o .sconf_temp/conftest_16.o -c -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -I/usr/include -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 .sconf_temp/conftest_16.c
gcc: not found
scons: Configure: no
.sconf_temp/conftest_17.c <-
|
|
|#include <sqlite3.h>
|#include <stdio.h>
|
|int main()
|{
| sqlite3* db;
| int rc;
| rc = sqlite3_open(":memory:", &db);
| if (rc != SQLITE_OK)
| {
| printf("error 1: %s\n", sqlite3_errmsg(db));
| }
| const char * sql = "create virtual table foo using rtree(pkid, xmin, xmax, ymin, ymax)";
| rc = sqlite3_exec(db, sql, 0, 0, 0);
| if (rc != SQLITE_OK)
| {
| printf("error 2: %s\n", sqlite3_errmsg(db));
| sqlite3_close(db);
| }
| else
| {
| printf("yes, has rtree!\n");
| sqlite3_close(db);
| return 0;
| }
|
| return -1;
|}
|
|
gcc -o .sconf_temp/conftest_17.o -c -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_17.c
gcc: not found
scons: Configure: Checking if SQLite supports RTREE...
scons: Configure: (cached) no
scons: Configure: Checking if gdal is ogr enabled...
gdal-config --ogr-enabled
yes
scons: Configure: yes
scons: Configure: Checking for gdal-config --libs...
gdal-config --libs
-L/usr/local/lib -lgdal
scons: Configure: yes
scons: Configure: Checking for gdal-config --cflags...
gdal-config --cflags
-I/usr/local/include
scons: Configure: yes
scons: Configure: Checking for name of ogr library...
gdal-config --libs
-L/usr/local/lib -lgdal
scons: Configure: gdal
scons: Configure: Checking for C++ library gdal...
.sconf_temp/conftest_22.cpp <-
|
|
|#include "ogrsf_frmts.h"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_22.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_22.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_22 .sconf_temp/conftest_22.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_regex -lboost_program_options -lgdal -lgdal
scons: Configure: yes
scons: Configure: Checking for gdal-config --libs...
gdal-config --libs
-L/usr/local/lib -lgdal
scons: Configure: yes
scons: Configure: Checking for gdal-config --cflags...
gdal-config --cflags
-I/usr/local/include
scons: Configure: yes
scons: Configure: Checking for name of gdal library...
gdal-config --libs
-L/usr/local/lib -lgdal
scons: Configure: gdal
scons: Configure: Checking for C++ library gdal...
.sconf_temp/conftest_26.cpp <-
|
|
|#include "gdal_priv.h"
|
|int
|main() {
|
|return 0;
|}
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_26.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_26.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_26 .sconf_temp/conftest_26.o -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_regex -lboost_program_options -lgdal -lgdal
scons: Configure: yes
scons: Configure: Checking for pg_config...
pg_config
BINDIR = /usr/local/bin
DOCDIR = /usr/local/share/doc/postgresql
HTMLDIR = /usr/local/share/doc/postgresql
INCLUDEDIR = /usr/local/include
PKGINCLUDEDIR = /usr/local/include/postgresql
INCLUDEDIR-SERVER = /usr/local/include/postgresql/server
LIBDIR = /usr/local/lib
PKGLIBDIR = /usr/local/lib/postgresql
LOCALEDIR = /usr/local/share/locale
MANDIR = /usr/local/man
SHAREDIR = /usr/local/share/postgresql
SYSCONFDIR = /usr/local/etc/postgresql
PGXS = /usr/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--with-libraries=/usr/local/lib' '--with-includes=/usr/local/include' '--enable-thread-safety' '--with-openssl' '--with-libxml' '--enable-nls' '--without-gssapi' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.1' 'build_alias=amd64-portbld-freebsd10.1' 'CC=clang' 'CFLAGS=-O2 -pipe -O3 -funroll-loops -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -L/usr/local/lib -pthread -Wl,-rpath,/usr/local/lib -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' 'LDFLAGS_SL='
CC = clang
CPPFLAGS = -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include
CFLAGS = -O2 -pipe -O3 -funroll-loops -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
CFLAGS_SL = -fPIC -DPIC
LDFLAGS = -L../../../src/common -L/usr/local/lib -pthread -Wl,-rpath,/usr/local/lib -fstack-protector -L/usr/local/lib -L/usr/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgport -lpgcommon -lintl -lxml2 -lssl -lcrypto -lz -lreadline -lcrypt -lm
VERSION = PostgreSQL 9.3.6
scons: Configure: yes
scons: Configure: Checking for pg_config...
pg_config
BINDIR = /usr/local/bin
DOCDIR = /usr/local/share/doc/postgresql
HTMLDIR = /usr/local/share/doc/postgresql
INCLUDEDIR = /usr/local/include
PKGINCLUDEDIR = /usr/local/include/postgresql
INCLUDEDIR-SERVER = /usr/local/include/postgresql/server
LIBDIR = /usr/local/lib
PKGLIBDIR = /usr/local/lib/postgresql
LOCALEDIR = /usr/local/share/locale
MANDIR = /usr/local/man
SHAREDIR = /usr/local/share/postgresql
SYSCONFDIR = /usr/local/etc/postgresql
PGXS = /usr/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--with-libraries=/usr/local/lib' '--with-includes=/usr/local/include' '--enable-thread-safety' '--with-openssl' '--with-libxml' '--enable-nls' '--without-gssapi' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.1' 'build_alias=amd64-portbld-freebsd10.1' 'CC=clang' 'CFLAGS=-O2 -pipe -O3 -funroll-loops -fstack-protector -fno-strict-aliasing' 'LDFLAGS= -L/usr/local/lib -pthread -Wl,-rpath,/usr/local/lib -fstack-protector' 'LIBS=' 'CPPFLAGS=' 'CPP=cpp' 'LDFLAGS_SL='
CC = clang
CPPFLAGS = -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include
CFLAGS = -O2 -pipe -O3 -funroll-loops -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
CFLAGS_SL = -fPIC -DPIC
LDFLAGS = -L../../../src/common -L/usr/local/lib -pthread -Wl,-rpath,/usr/local/lib -fstack-protector -L/usr/local/lib -L/usr/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgport -lpgcommon -lintl -lxml2 -lssl -lcrypto -lz -lreadline -lcrypt -lm
VERSION = PostgreSQL 9.3.6
scons: Configure: yes
scons: Configure: Checking for cairo...
pkg-config --exists 'cairo'
scons: Configure: yes
scons: Configure: Checking for cairo freetype font support ...
.sconf_temp/conftest_30.cpp <-
|
|
|#include <cairo-features.h>
|
|int main()
|{
| #ifdef CAIRO_HAS_FT_FONT
| return 0;
| #else
| return 1;
| #endif
|}
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_30.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Ideps -Ideps/clipper/include -Ideps/agg/include -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/libpng16 .sconf_temp/conftest_30.cpp
/usr/local/bin/clang35 -o .sconf_temp/conftest_30 .sconf_temp/conftest_30.o -Ldeps/agg -Lsrc -Lsrc/json -Lsrc/wkt -L/usr/local/lib -L/usr/lib -lpthread -lfreetype -lboost_regex -lboost_program_options -lgdal -lgdal -lpq -lpq
.sconf_temp/conftest_30 > .sconf_temp/conftest_30.out
scons: Configure: yes
scons: Configure: Checking for C++ header file boost/python/detail/config.hpp...
.sconf_temp/conftest_31.cpp <-
|
|#include <boost/python/detail/config.hpp>
|
|
/usr/local/bin/clang35 -o .sconf_temp/conftest_31.o -c -std=c++11 -DSHAPE_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -Ideps -Ideps/clipper/include -Ideps/agg/include -Iinclude -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/include .sconf_temp/conftest_31.cpp
scons: Configure: yes
scons: Configure: Checking for pycairo...
pkg-config --exists 'pycairo'
scons: Configure: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment