Skip to content

Instantly share code, notes, and snippets.

@Kronuz
Created July 8, 2011 17:43
Show Gist options
  • Save Kronuz/1072348 to your computer and use it in GitHub Desktop.
Save Kronuz/1072348 to your computer and use it in GitHub Desktop.
postgis build failing using homebrew and Mac OS X 10.7
==> Downloading http://postgis.refractions.net/download/postgis-1.5.3.tar.gz
File already downloaded in /Users/kronuz/Library/Caches/Homebrew
/usr/bin/tar xf /Users/kronuz/Library/Caches/Homebrew/postgis-1.5.3.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/postgis/1.5.3 --with-projdir=/usr/local
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/postgis/1.5.3 --with-projdir=/usr/local
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking build system type... x86_64-apple-darwin11.0.0
checking host system type... x86_64-apple-darwin11.0.0
checking how to print strings... printf
checking for gcc... /usr/bin/cc
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 /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
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... /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 how to convert x86_64-apple-darwin11.0.0 file names to x86_64-apple-darwin11.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.0.0 file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 -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 supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/cc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc 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 for gcc... (cached) /usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/cc accepts -g... (cached) yes
checking for /usr/bin/cc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/c++ accepts -g... 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 if /usr/bin/c++ supports -Wall... yes
checking if /usr/bin/c++ supports -Wmissing-prototypes... yes
checking if /usr/bin/c++ supports -ffloat-store... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for convert... no
configure: WARNING: ImageMagick does not seem to be installed. Documentation cannot be built
checking for xsltproc... /usr/bin/xsltproc
checking for dblatex... no
configure: WARNING: dblatex is not installed so PDF documentation cannot be built
configure: WARNING: could not locate Docbook stylesheets required to build the documentation
checking CUnit/CUnit.h usability... no
checking CUnit/CUnit.h presence... no
checking for CUnit/CUnit.h... no
configure: WARNING: could not locate CUnit required for liblwgeom unit tests
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for libiconv_open in -liconv... no
checking for iconv_open in -lc... no
checking for iconv_open in -liconv... yes
checking for iconvctl... no
checking for libiconvctl... no
checking for pg_config... /usr/bin/pg_config
checking PostgreSQL version... PostgreSQL 9.0.4
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for PQserverVersion in -lpq... yes
checking for xml2-config... /usr/bin/xml2-config
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking libxml/xpath.h usability... yes
checking libxml/xpath.h presence... yes
checking for libxml/xpath.h... yes
checking libxml/xpathInternals.h usability... yes
checking libxml/xpathInternals.h presence... yes
checking for libxml/xpathInternals.h... yes
checking for xmlInitParser in -lxml2... yes
checking for geos-config... /usr/local/bin/geos-config
checking GEOS version... 3.3.0
checking geos_c.h usability... yes
checking geos_c.h presence... yes
checking for geos_c.h... yes
checking for initGEOS in -lgeos_c... yes
Using user-specified proj directory: /usr/local
checking proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_get_release in -lproj... yes
configure: creating ./config.status
config.status: creating liblwgeom/Makefile
config.status: creating liblwgeom/cunit/Makefile
config.status: creating postgis/Makefile
config.status: creating postgis/sqldefines.h
config.status: creating loader/Makefile
config.status: creating topology/Makefile
config.status: creating regress/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Makefile.comments
config.status: creating doc/html/image_src/Makefile
config.status: creating postgis_config.h
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-dependency-tracking
PostGIS is now configured for x86_64-apple-darwin11.0.0
-------------- Compiler Info -------------
C compiler: /usr/bin/cc -O3 -w -pipe
C++ compiler: /usr/bin/c++ -O3 -w -pipe
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.3.0
PostgreSQL config: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 9.0.4
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.7.3
PostGIS debug level: 0
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets:
dblatex:
convert:
==> make install
make install
make -C liblwgeom
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o measures.o measures.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o box2d.o box2d.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o ptarray.o ptarray.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgeom_api.o lwgeom_api.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgeom.o lwgeom.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwpoint.o lwpoint.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwline.o lwline.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwpoly.o lwpoly.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmpoint.o lwmpoint.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmline.o lwmline.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmpoly.o lwmpoly.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcollection.o lwcollection.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcircstring.o lwcircstring.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcompound.o lwcompound.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcurvepoly.o lwcurvepoly.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmcurve.o lwmcurve.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmsurface.o lwmsurface.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwutil.o lwutil.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwalgorithm.o lwalgorithm.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgunparse.o lwgunparse.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgparse.o lwgparse.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwsegmentize.o lwsegmentize.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o wktparse.tab.o wktparse.tab.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lex.yy.o lex.yy.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o vsprintf.o vsprintf.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_box.o g_box.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_coord.o g_coord.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_geometry.o g_geometry.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_ptarray.o g_ptarray.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_serialized.o g_serialized.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_util.o g_util.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgeodetic.o lwgeodetic.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwtree.o lwtree.c
/usr/bin/cc -O3 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -ffloat-store -c -o lwspheroid.o lwspheroid.c
ar rs liblwgeom.a measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwcircstring.o lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o lwutil.o lwalgorithm.o lwgunparse.o lwgparse.o lwsegmentize.o wktparse.tab.o lex.yy.o vsprintf.o g_box.o g_coord.o g_geometry.o g_ptarray.o g_serialized.o g_util.o lwgeodetic.o lwtree.o lwspheroid.o
ar: creating archive liblwgeom.a
make -C postgis
gcc -E -traditional-cpp postgis.sql.in.c | grep -v '^#' > postgis.sql.in
sed 's,MODULE_PATHNAME,$libdir/postgis-1.5,g' postgis.sql.in >postgis.sql
gcc -E -traditional-cpp uninstall_postgis.sql.in.c | grep -v '^#' > uninstall_postgis.sql.in
sed 's,MODULE_PATHNAME,$libdir/postgis-1.5,g' uninstall_postgis.sql.in >uninstall_postgis.sql
"/usr/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql 1.5 > postgis_upgrade_15_minor.sql
"/usr/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql 1.4 > postgis_upgrade_14_to_15.sql
"/usr/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql 1.3 > postgis_upgrade_13_to_15.sql
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_pg.o lwgeom_pg.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_debug.o lwgeom_debug.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_accum.o lwgeom_accum.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_spheroid.o lwgeom_spheroid.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_ogc.o lwgeom_ogc.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_functions_analytic.o lwgeom_functions_analytic.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_inout.o lwgeom_inout.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_estimate.o lwgeom_estimate.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_functions_basic.o lwgeom_functions_basic.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_gist.o lwgeom_gist.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_btree.o lwgeom_btree.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_transform.o lwgeom_transform.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_box.o lwgeom_box.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_box3d.o lwgeom_box3d.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_box2dfloat4.o lwgeom_box2dfloat4.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_chip.o lwgeom_chip.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_geos.o lwgeom_geos.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_geos_prepared.o lwgeom_geos_prepared.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_export.o lwgeom_export.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_svg.o lwgeom_svg.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_gml.o lwgeom_gml.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_kml.o lwgeom_kml.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_geojson.o lwgeom_geojson.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_in_gml.o lwgeom_in_gml.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_in_kml.o lwgeom_in_kml.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_triggers.o lwgeom_triggers.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_dump.o lwgeom_dump.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_functions_lrs.o lwgeom_functions_lrs.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o long_xact.o long_xact.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_sqlmm.o lwgeom_sqlmm.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o lwgeom_rtree.o lwgeom_rtree.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o geography_inout.o geography_inout.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o geography_gist.o geography_gist.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o geography_btree.o geography_btree.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o geography_estimate.o geography_estimate.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include/libxml2 -I../liblwgeom -I. -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -I/usr/include/libxml2 -c -o geography_measurement.o geography_measurement.c
gcc -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -bundle -multiply_defined suppress -o postgis-1.5.so lwgeom_pg.o lwgeom_debug.o lwgeom_accum.o lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_geos.o lwgeom_geos_prepared.o lwgeom_export.o lwgeom_svg.o lwgeom_gml.o lwgeom_kml.o lwgeom_geojson.o lwgeom_in_gml.o lwgeom_in_kml.o lwgeom_triggers.o lwgeom_dump.o lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o geography_inout.o geography_gist.o geography_btree.o geography_estimate.o geography_measurement.o -L/usr/lib -arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations -Wl,-dead_strip_dylibs -L/usr/local/Cellar/geos/3.3.0/lib -L/usr/local/lib -lgeos_c -lproj -lxml2 -lz -lpthread -licucore -lm ../liblwgeom/liblwgeom.a -bundle_loader /usr/bin/postgres
ld: file not found: /usr/bin/postgres
collect2: ld returned 1 exit status
ld: file not found: /usr/bin/postgres
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/cr/07wj5xb54xn3t330lbltv9mc0000gn/T//ccmq1Y5t.out (No such file or directory)
make[1]: *** [postgis-1.5.so] Error 1
make: *** [postgis] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/postgis.rb#L51
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: b24cb94fb4fedcae125345a74bbfdfcc21efd377
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit sandybridge
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.2
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 -w -pipe
CXXFLAGS: -O3 -w -pipe
Error: Failed executing: make install
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/5923
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