[postgis-users] Build errors in MAC OSX

Paul Ramsey pramsey at cleverelephant.ca
Mon Apr 26 11:43:34 PDT 2010


Sorry,
cd liblwgeom ; touch test

On Mon, Apr 26, 2010 at 11:25 AM, John Connors <jconnors at berkeley.edu> wrote:
> Paul,
>
> Thanks for your reply. Running 'touch test' successfully creates a file
> called test.
>
> Does the info from the make offer any hints?
>
> Macintosh:postgis-1.5.1 postgres$ sudo ./configure
> --with-pgconfig=../bin/pg_config
> --with-geosconfig=../../../Frameworks/GEOS.framework/Versions/3/Programs/geos-config
> --with-projdir=../../../Frameworks/PROJ.framework/unix
> checking build system type... powerpc-apple-darwin9.8.0
> checking host system type... powerpc-apple-darwin9.8.0
> checking for gcc... gcc
> 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 gcc accepts -g... yes
> checking for gcc 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 gcc...
> /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld)
> is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
> checking the name lister (/usr/bin/nm -p) 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/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld option to
> reload object files... -r
> 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 -p output from gcc 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... gcc -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 gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fno-common -DPIC
> checking if gcc PIC flag -fno-common -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker
> (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... darwin9.8.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) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++...
> /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld)
> is GNU ld... no
> checking whether the g++ linker
> (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared
> libraries... yes
> checking for g++ option to produce PIC... -fno-common -DPIC
> checking if g++ PIC flag -fno-common -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker
> (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... darwin9.8.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking if g++ supports -Wall... yes
> checking if g++ supports -Wmissing-prototypes... yes
> checking if g++ 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... yes
> Using user-specified pg_config file: ../bin/pg_config
> checking PostgreSQL version... PostgreSQL 8.4.3
> 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
> Using user-specified geos-config file:
> ../../../Frameworks/GEOS.framework/Versions/3/Programs/geos-config
> checking GEOS version... 3.2.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:
> ../../../Frameworks/PROJ.framework/unix
> 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/html/image_src/Makefile
> config.status: creating postgis_config.h
> config.status: executing libtool commands
>
>  PostGIS is now configured for powerpc-apple-darwin9.8.0
>
>  -------------- Compiler Info -------------
>  C compiler:           gcc -g -O2
>  C++ compiler:         g++ -g -O2
>
>  -------------- Dependencies --------------
>  GEOS config:
> ../../../Frameworks/GEOS.framework/Versions/3/Programs/geos-config
>  GEOS version:         3.2.0
>  PostgreSQL config:    ../bin/pg_config
>  PostgreSQL version:   PostgreSQL 8.4.3
>  PROJ4 version:        47
>  Libxml2 config:       /usr/bin/xml2-config
>  Libxml2 version:      2.6.16
>  PostGIS debug level:  0
>
>  -------- Documentation Generation --------
>  xsltproc:             /usr/bin/xsltproc
>  xsl style sheets:
>  dblatex:
>  convert:
>
>
> On Fri, 23 Apr 2010 19:46:44 -0700, Paul Ramsey
> <pramsey at cleverelephant.ca>
> wrote:
>> What happens when you run 'touch test'?
>> P
>>
>> On Fri, Apr 23, 2010 at 5:33 PM, John Connors <jconnors at berkeley.edu>
>> wrote:
>>> I am trying to build the PostGIS 1.5 files in Mac OSX and I am getting
>>> the
>>> following error:
>>>
>>> make -C liblwgeom
>>> gcc -g -O2  -fno-common -DPIC  -Wall -Wmissing-prototypes  -c -o
>>> measures.o
>>> measures.c
>>> /var/tmp//ccyiv2X6.s:unknown:FATAL:can't create output file: measures.o
>>> make[1]: *** [measures.o] Error 1
>>> make: *** [liblwgeom] Error 2
>>>
>>> Any thoughts on how to deal with this?
>>>
>>> Thanks,
>>> John
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>
>>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list