Skip to content

Instantly share code, notes, and snippets.

@zain
Created July 12, 2011 07:33
Show Gist options
  • Save zain/1077558 to your computer and use it in GitHub Desktop.
Save zain/1077558 to your computer and use it in GitHub Desktop.
==> Checking out http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/
/usr/bin/svn up --force http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/ /Users/zain/Library/Caches/Homebrew/osm2pgsql--svn
Skipped 'http://svn.openstreetmap.org/applications/utils/export/osm2pgsql'
At revision 26305.
Summary of conflicts:
Skipped paths: 1
/usr/bin/svn export --force /Users/zain/Library/Caches/Homebrew/osm2pgsql--svn /private/tmp/homebrew-osm2pgsql-HEAD-BTuw
Export complete.
==> ./autogen.sh
./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:29: installing `./config.sub'
configure.ac:10: installing `./missing'
configure.ac:10: installing `./install-sh'
configure.ac:29: installing `./config.guess'
gazetteer/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
==> ./configure
./configure
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 for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking dependency style of /usr/bin/cc... gcc3
checking for /usr/bin/cc option to accept ISO C99... -std=gnu99
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/c++ accepts -g... yes
checking dependency style of /usr/bin/c++... gcc3
checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/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 /usr/bin/cc -std=gnu99... /usr/bin/cc
checking if the linker (/usr/bin/cc) 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 /usr/bin/cc 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 /usr/bin/cc -std=gnu99 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 for -force_load linker flag... yes
checking how to run the C preprocessor... /usr/bin/cc -std=gnu99 -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
checking if /usr/bin/cc -std=gnu99 supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc -std=gnu99 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/cc -std=gnu99 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/cc -std=gnu99 static flag -static works... no
checking if /usr/bin/cc -std=gnu99 supports -c -o file.o... yes
checking if /usr/bin/cc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc -std=gnu99 linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.0.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 how to run the C++ preprocessor... /usr/bin/c++ -E
checking for ld used by /usr/bin/c++... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking for /usr/bin/c++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/c++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/c++ static flag -static works... no
checking if /usr/bin/c++ supports -c -o file.o... yes
checking if /usr/bin/c++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking for xml2-config... /usr/bin/xml2-config
checking for xml2 libraries... yes
checking for zlib headers in /usr/include... found
checking for zlib library... found
checking for zlib compression library... yes
checking for bzip2 headers in /usr/include... found
checking for bzip2 library... found
checking for bzip2 compression library... yes
checking for geos-config... /usr/local/bin/geos-config
checking for geos libraries... yes
checking for proj headers in /usr/local/include... found
checking for proj library... found
checking for proj projection library... yes
checking for protobuf-c 0.14...
checking for protobuf-c version >= 0.14...
checking for ProtobufCFieldDescriptor.packed... no
protobuf-c >= 0.14: no
checking for protobuf-c usability... no
checking for pg_config... /usr/local/bin/pg_config
checking for PostgreSQL libraries... yes
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
configure: creating ./config.status
config.status: creating Makefile
config.status: creating legacy/Makefile
config.status: creating gazetteer/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
==> make
make
make all-recursive
Making all in gazetteer
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/postgresql/9.0.4/include/server -O3 -march=core2 -msse4 -w -pipe -MT gazetteer_la-gazetteer.lo -MD -MP -MF .deps/gazetteer_la-gazetteer.Tpo -c -o gazetteer_la-gazetteer.lo `test -f 'gazetteer.c' || echo './'`gazetteer.c
sed -e"s/gazetteerdir/"`echo /usr/local/share/gazetteer | sed -e's/\//\\\\\//g'`"/g" < gazetteer-functions.sql.in > gazetteer-functions.sql
libtool: compile: /usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/postgresql/9.0.4/include/server -O3 -march=core2 -msse4 -w -pipe -MT gazetteer_la-gazetteer.lo -MD -MP -MF .deps/gazetteer_la-gazetteer.Tpo -c gazetteer.c -fno-common -DPIC -o .libs/gazetteer_la-gazetteer.o
libtool: compile: /usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/Cellar/postgresql/9.0.4/include/server -O3 -march=core2 -msse4 -w -pipe -MT gazetteer_la-gazetteer.lo -MD -MP -MF .deps/gazetteer_la-gazetteer.Tpo -c gazetteer.c -o gazetteer_la-gazetteer.o >/dev/null 2>&1
mv -f .deps/gazetteer_la-gazetteer.Tpo .deps/gazetteer_la-gazetteer.Plo
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/cc -std=gnu99 -I/usr/local/Cellar/postgresql/9.0.4/include/server -O3 -march=core2 -msse4 -w -pipe -module -avoid-version -shared -o gazetteer.la -rpath /usr/local/lib/osm2pgsql gazetteer_la-gazetteer.lo
libtool: link: /usr/bin/cc -std=gnu99 -Wl,-undefined -Wl,dynamic_lookup -o .libs/gazetteer.so -bundle .libs/gazetteer_la-gazetteer.o -march=core2 -msse4
libtool: link: ( cd ".libs" && rm -f "gazetteer.la" && ln -s "../gazetteer.la" "gazetteer.la" )
/usr/bin/c++ -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -O3 -march=core2 -msse4 -w -pipe -MT build_geometry.o -MD -MP -MF .deps/build_geometry.Tpo -c -o build_geometry.o build_geometry.cpp
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT output-pgsql.o -MD -MP -MF .deps/output-pgsql.Tpo -c -o output-pgsql.o output-pgsql.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT rb.o -MD -MP -MF .deps/rb.Tpo -c -o rb.o rb.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT middle-pgsql.o -MD -MP -MF .deps/middle-pgsql.Tpo -c -o middle-pgsql.o middle-pgsql.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT osm2pgsql.o -MD -MP -MF .deps/osm2pgsql.Tpo -c -o osm2pgsql.o osm2pgsql.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT sprompt.o -MD -MP -MF .deps/sprompt.Tpo -c -o sprompt.o sprompt.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT UTF8sanitizer.o -MD -MP -MF .deps/UTF8sanitizer.Tpo -c -o UTF8sanitizer.o UTF8sanitizer.c
mv -f .deps/sprompt.Tpo .deps/sprompt.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT expire-tiles.o -MD -MP -MF .deps/expire-tiles.Tpo -c -o expire-tiles.o expire-tiles.c
mv -f .deps/UTF8sanitizer.Tpo .deps/UTF8sanitizer.Po
mv -f .deps/input.Tpo .deps/input.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT keyvals.o -MD -MP -MF .deps/keyvals.Tpo -c -o keyvals.o keyvals.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT output-null.o -MD -MP -MF .deps/output-null.Tpo -c -o output-null.o output-null.c
mv -f .deps/output-null.Tpo .deps/output-null.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT parse-primitive.o -MD -MP -MF .deps/parse-primitive.Tpo -c -o parse-primitive.o parse-primitive.c
mv -f .deps/osm2pgsql.Tpo .deps/osm2pgsql.Po
mv -f .deps/keyvals.Tpo .deps/keyvals.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT parse-xml2.o -MD -MP -MF .deps/parse-xml2.Tpo -c -o parse-xml2.o parse-xml2.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT pgsql.o -MD -MP -MF .deps/pgsql.Tpo -c -o pgsql.o pgsql.c
mv -f .deps/expire-tiles.Tpo .deps/expire-tiles.Po
mv -f .deps/rb.Tpo .deps/rb.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT reprojection.o -MD -MP -MF .deps/reprojection.Tpo -c -o reprojection.o reprojection.c
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT middle-ram.o -MD -MP -MF .deps/middle-ram.Tpo -c -o middle-ram.o middle-ram.c
mv -f .deps/pgsql.Tpo .deps/pgsql.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT output-gazetteer.o -MD -MP -MF .deps/output-gazetteer.Tpo -c -o output-gazetteer.o output-gazetteer.c
mv -f .deps/reprojection.Tpo .deps/reprojection.Po
/usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -Igeos-fallback -D_THREAD_SAFE -pthread -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/include/libxml2 -I/usr/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -DOSM2PGSQL_DATADIR='"/usr/local/share/osm2pgsql"' -DVERSION='"0.70.5"' -O3 -march=core2 -msse4 -w -pipe -MT text-tree.o -MD -MP -MF .deps/text-tree.Tpo -c -o text-tree.o text-tree.c
mv -f .deps/text-tree.Tpo .deps/text-tree.Po
mv -f .deps/parse-primitive.Tpo .deps/parse-primitive.Po
mv -f .deps/middle-ram.Tpo .deps/middle-ram.Po
mv -f .deps/parse-xml2.Tpo .deps/parse-xml2.Po
mv -f .deps/middle-pgsql.Tpo .deps/middle-pgsql.Po
mv -f .deps/output-pgsql.Tpo .deps/output-pgsql.Po
build_geometry.cpp: In function ‘char* get_wkt_simple(osmNode*, int, int)’:
build_geometry.cpp:74: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp: In function ‘size_t get_wkt_split(osmNode*, int, int, double)’:
build_geometry.cpp:116: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp:146: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp:158: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp: In function ‘int parse_wkt(const char*, osmNode***, int**, int*)’:
build_geometry.cpp:256: error: cannot convert from base ‘geos::geom::Geometry’ to derived type ‘geos::geom::GeometryCollection’ via virtual base ‘geos::geom::Geometry’
build_geometry.cpp: In function ‘size_t build_geometry(int, osmNode**, int*, int, int, double)’:
build_geometry.cpp:312: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp:361: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp:373: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:68: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate, std::allocator<geos::geom::Coordinate> >*, size_t) const
/usr/local/Cellar/geos/3.3.0/include/geos/geom/CoordinateSequenceFactory.h:81: note: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp:487: error: cannot convert from base ‘geos::geom::Geometry’ to derived type ‘geos::geom::Polygon’ via virtual base ‘geos::geom::Geometry’
mv -f .deps/output-gazetteer.Tpo .deps/output-gazetteer.Po
make[2]: *** [build_geometry.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/osm2pgsql.rb#L10
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 1ffde14c7c204b2e22212181c8a52205d57d2771
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit nehalem
OS X: 10.7
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/c++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4 -w -pipe
MAKEFLAGS: -j8
Error: Failed executing: make
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment