Skip to content

Instantly share code, notes, and snippets.

@albertsun
Created June 23, 2011 19:01
Show Gist options
  • Save albertsun/1043315 to your computer and use it in GitHub Desktop.
Save albertsun/1043315 to your computer and use it in GitHub Desktop.
==> Downloading http://postgis.refractions.net/download/postgis-1.5.2.tar.gz
File already downloaded in /Users/albert/Library/Caches/Homebrew
/usr/bin/tar xf /Users/albert/Library/Caches/Homebrew/postgis-1.5.2.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/postgis/1.5.2 --with-projdir=/usr/local
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/postgis/1.5.2 --with-projdir=/usr/local
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking build system type... i386-apple-darwin10.7.0
checking host system type... i386-apple-darwin10.7.0
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 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 object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... /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... darwin10.7.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 whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/c++ accepts -g... (cached) 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... darwin10.7.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/local/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 i386-apple-darwin10.7.0
-------------- Compiler Info -------------
C compiler: /usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe
C++ compiler: /usr/bin/c++ -O3 -march=core2 -msse4.1 -w -pipe
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.3.0
PostgreSQL config: /usr/local/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 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o measures.o measures.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o box2d.o box2d.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o ptarray.o ptarray.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgeom_api.o lwgeom_api.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgeom.o lwgeom.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwpoint.o lwpoint.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwline.o lwline.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwpoly.o lwpoly.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmpoint.o lwmpoint.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmline.o lwmline.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmpoly.o lwmpoly.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcollection.o lwcollection.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcircstring.o lwcircstring.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcompound.o lwcompound.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwcurvepoly.o lwcurvepoly.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmcurve.o lwmcurve.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwmsurface.o lwmsurface.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwutil.o lwutil.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwalgorithm.o lwalgorithm.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgunparse.o lwgunparse.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgparse.o lwgparse.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwsegmentize.o lwsegmentize.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o wktparse.tab.o wktparse.tab.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lex.yy.o lex.yy.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o vsprintf.o vsprintf.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_box.o g_box.c
g_box.c: In function ‘lwgeom_calculate_gbox’:
g_box.c:492: note: ‘tmp.zmin’ was declared here
g_box.c:492: note: ‘tmp.zmax’ was declared here
g_box.c:492: note: ‘tmp.mmin’ was declared here
g_box.c:492: note: ‘tmp.mmax’ was declared here
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_coord.o g_coord.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_geometry.o g_geometry.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_ptarray.o g_ptarray.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_serialized.o g_serialized.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o g_util.o g_util.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwgeodetic.o lwgeodetic.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -fno-common -DPIC -Wall -Wmissing-prototypes -c -o lwtree.o lwtree.c
/usr/bin/cc -O3 -march=core2 -msse4.1 -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
/usr/bin/cc -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
/usr/bin/cc -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
"/opt/local/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql 1.5 > postgis_upgrade_15_minor.sql
/bin/sh: /opt/local/bin/perl: No such file or directory
make[1]: *** [postgis_upgrade_15_minor.sql] Error 127
make[1]: *** Deleting file `postgis_upgrade_15_minor.sql'
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: b474bdb951b1e4619820cae5c594ae8d57bfa4bf
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
Error: Failed executing: make install
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