[postgis-users] Build errors in MAC OSX

Paul Ramsey pramsey at cleverelephant.ca
Mon Apr 26 12:57:20 PDT 2010


Since you're compiling from source, get it straight from the
elephant's mouth: postgis.org

On Mon, Apr 26, 2010 at 12:55 PM, John Connors <jconnors at berkeley.edu> wrote:
> Ok. That's what I thought. I downloaded the source from KyngChaos.
> -John
>
> On Mon, 26 Apr 2010 12:50:45 -0700, Paul Ramsey
> <pramsey at cleverelephant.ca>
> wrote:
>> How did you get the source, you seem to be missing files entirely...
>>
>> P
>>
>> On Mon, Apr 26, 2010 at 12:49 PM, John Connors <jconnors at berkeley.edu>
>> wrote:
>>> Paul, you were right, there was a permissions error, but I fixed that
> and
>>> I am still getting these errors:
>>> make[1]: *** [g_box.o] Error 1
>>> make: *** [liblwgeom] Error 2
>>>
>>> The full log follows.
>>>
>>> Thanks,
>>> John
>>>
>>> Macintosh:postgis-1.5.1 postgres$ make
>>> make -C liblwgeom
>>> gcc -g -O2  -fno-common -DPIC  -Wall -Wmissing-prototypes  -c -o
> g_box.o
>>> g_box.c
>>> g_box.c:12:21: error: libgeom.h: No such file or directory
>>> g_box.c:16: error: syntax error before '*' token
>>> g_box.c:16: error: syntax error before 'flags'
>>> g_box.c:17: warning: return type defaults to 'int'
>>> g_box.c:17: warning: no previous prototype for 'gbox_new'
>>> g_box.c: In function 'gbox_new':
>>> g_box.c:18: error: 'GBOX' undeclared (first use in this function)
>>> g_box.c:18: error: (Each undeclared identifier is reported only once
>>> g_box.c:18: error: for each function it appears in.)
>>> g_box.c:18: error: 'g' undeclared (first use in this function)
>>> g_box.c:18: error: syntax error before ')' token
>>> g_box.c:19: error: 'flags' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:23: warning: type defaults to 'int' in declaration of 'POINT3D'
>>> g_box.c:23: error: syntax error before '*' token
>>> g_box.c:24: warning: no previous prototype for 'gbox_merge_point3d'
>>> g_box.c: In function 'gbox_merge_point3d':
>>> g_box.c:25: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:25: error: 'p' undeclared (first use in this function)
>>> g_box.c:31: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:34: warning: type defaults to 'int' in declaration of 'GBOX'
>>> g_box.c:34: error: syntax error before '*' token
>>> g_box.c:35: warning: no previous prototype for 'gbox_contains_point3d'
>>> g_box.c: In function 'gbox_contains_point3d':
>>> g_box.c:36: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:36: error: 'pt' undeclared (first use in this function)
>>> g_box.c:39: error: 'LW_FALSE' undeclared (first use in this function)
>>> g_box.c:41: error: 'LW_TRUE' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:44: warning: type defaults to 'int' in declaration of 'GBOX'
>>> g_box.c:44: error: syntax error before '*' token
>>> g_box.c:45: warning: no previous prototype for 'gbox_merge'
>>> g_box.c: In function 'gbox_merge':
>>> g_box.c:46: warning: implicit declaration of function 'assert'
>>> g_box.c:46: error: 'merge_box' undeclared (first use in this function)
>>> g_box.c:48: error: 'new_box' undeclared (first use in this function)
>>> g_box.c:49: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:56: warning: implicit declaration of function 'FLAGS_GET_Z'
>>> g_box.c:56: warning: implicit declaration of function
>>> 'FLAGS_GET_GEODETIC'
>>> g_box.c:61: warning: implicit declaration of function 'FLAGS_GET_M'
>>> g_box.c:67: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:70: warning: type defaults to 'int' in declaration of 'GBOX'
>>> g_box.c:70: error: syntax error before '*' token
>>> g_box.c:71: warning: no previous prototype for 'gbox_overlaps'
>>> g_box.c: In function 'gbox_overlaps':
>>> g_box.c:74: error: 'g1' undeclared (first use in this function)
>>> g_box.c:74: error: 'g2' undeclared (first use in this function)
>>> g_box.c:78: warning: implicit declaration of function 'lwerror'
>>> g_box.c:83: error: 'LW_FALSE' undeclared (first use in this function)
>>> g_box.c:94: error: 'LW_TRUE' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:101: error: syntax error before '*' token
>>> g_box.c:102: warning: return type defaults to 'int'
>>> g_box.c:102: warning: no previous prototype for 'gbox_from_string'
>>> g_box.c: In function 'gbox_from_string':
>>> g_box.c:105: warning: implicit declaration of function 'strstr'
>>> g_box.c:105: warning: incompatible implicit declaration of built-in
>>> function 'strstr'
>>> g_box.c:106: error: 'GBOX' undeclared (first use in this function)
>>> g_box.c:106: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:106: warning: implicit declaration of function 'gflags'
>>> g_box.c: At top level:
>>> g_box.c:129: warning: type defaults to 'int' in declaration of 'GBOX'
>>> g_box.c:129: error: syntax error before '*' token
>>> g_box.c:130: warning: no previous prototype for 'gbox_to_string'
>>> g_box.c: In function 'gbox_to_string':
>>> g_box.c:134: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:135: warning: implicit declaration of function 'strdup'
>>> g_box.c:135: warning: incompatible implicit declaration of built-in
>>> function 'strdup'
>>> g_box.c:137: warning: implicit declaration of function 'lwalloc'
>>> g_box.c:141: warning: implicit declaration of function 'snprintf'
>>> g_box.c:141: warning: incompatible implicit declaration of built-in
>>> function 'snprintf'
>>> g_box.c:146: warning: incompatible implicit declaration of built-in
>>> function 'snprintf'
>>> g_box.c:151: warning: incompatible implicit declaration of built-in
>>> function 'snprintf'
>>> g_box.c:156: warning: incompatible implicit declaration of built-in
>>> function 'snprintf'
>>> g_box.c:159: warning: incompatible implicit declaration of built-in
>>> function 'snprintf'
>>> g_box.c: At top level:
>>> g_box.c:163: error: syntax error before '*' token
>>> g_box.c:163: warning: type defaults to 'int' in declaration of 'GBOX'
>>> g_box.c:163: error: syntax error before '*' token
>>> g_box.c:164: warning: return type defaults to 'int'
>>> g_box.c:164: warning: no previous prototype for 'gbox_copy'
>>> g_box.c: In function 'gbox_copy':
>>> g_box.c:165: error: 'GBOX' undeclared (first use in this function)
>>> g_box.c:165: error: 'copy' undeclared (first use in this function)
>>> g_box.c:165: error: syntax error before ')' token
>>> g_box.c:166: warning: implicit declaration of function 'memcpy'
>>> g_box.c:166: warning: incompatible implicit declaration of built-in
>>> function 'memcpy'
>>> g_box.c:166: error: 'box' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:170: warning: type defaults to 'int' in declaration of 'GBOX'
>>> g_box.c:170: error: syntax error before '*' token
>>> g_box.c:171: warning: no previous prototype for 'gbox_duplicate'
>>> g_box.c: In function 'gbox_duplicate':
>>> g_box.c:172: error: 'duplicate' undeclared (first use in this function)
>>> g_box.c:174: error: 'original' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:195: error: syntax error before 'flags'
>>> g_box.c:196: warning: no previous prototype for 'gbox_serialized_size'
>>> g_box.c: In function 'gbox_serialized_size':
>>> g_box.c:197: warning: implicit declaration of function 'FLAGS_GET_BBOX'
>>> g_box.c:197: error: 'flags' undeclared (first use in this function)
>>> g_box.c:201: warning: implicit declaration of function 'FLAGS_NDIMS'
>>> g_box.c: At top level:
>>> g_box.c:204: warning: type defaults to 'int' in declaration of
>>> 'GSERIALIZED'
>>> g_box.c:204: error: syntax error before '*' token
>>> g_box.c:205: warning: no previous prototype for 'gbox_from_gserialized'
>>> g_box.c: In function 'gbox_from_gserialized':
>>> g_box.c:208: error: 'g' undeclared (first use in this function)
>>> g_box.c:208: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:211: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:231: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c:250: warning: implicit declaration of function 'LWDEBUG'
>>> g_box.c:251: warning: implicit declaration of function
>>> 'gserialized_calculate_gbox_geocentric_p'
>>> g_box.c: At top level:
>>> g_box.c:264: error: syntax error before 'p1'
>>> g_box.c: In function 'lwcircle_calculate_gbox':
>>> g_box.c:273: error: 'POINT4D' undeclared (first use in this function)
>>> g_box.c:273: error: 'center' undeclared (first use in this function)
>>> g_box.c:278: warning: implicit declaration of function
> 'lwcircle_center'
>>> g_box.c:278: error: 'p1' undeclared (first use in this function)
>>> g_box.c:278: error: 'p2' undeclared (first use in this function)
>>> g_box.c:278: error: 'p3' undeclared (first use in this function)
>>> g_box.c:279: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:310: warning: implicit declaration of function 'FP_LT'
>>> g_box.c:310: warning: implicit declaration of function 'FP_GT'
>>> g_box.c:340: warning: implicit declaration of function 'LWDEBUGF'
>>> g_box.c:421: warning: implicit declaration of function 'FP_MIN'
>>> g_box.c:423: warning: implicit declaration of function 'FP_MAX'
>>> g_box.c:431: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:447: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:450: warning: type defaults to 'int' in declaration of
>>> 'POINTARRAY'
>>> g_box.c:450: error: syntax error before '*' token
>>> g_box.c:451: warning: no previous prototype for
> 'ptarray_calculate_gbox'
>>> g_box.c: In function 'ptarray_calculate_gbox':
>>> g_box.c:453: error: 'POINT4D' undeclared (first use in this function)
>>> g_box.c:453: error: syntax error before 'p'
>>> g_box.c:454: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:457: error: 'pa' undeclared (first use in this function)
>>> g_box.c:457: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:460: warning: implicit declaration of function 'getPoint4d_p'
>>> g_box.c:460: error: 'p' undeclared (first use in this function)
>>> g_box.c:486: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:489: error: syntax error before '*' token
>>> g_box.c: In function 'lwcircstring_calculate_gbox':
>>> g_box.c:491: error: 'uchar' undeclared (first use in this function)
>>> g_box.c:491: error: syntax error before 'flags'
>>> g_box.c:492: error: 'GBOX' undeclared (first use in this function)
>>> g_box.c:493: error: 'POINT4D' undeclared (first use in this function)
>>> g_box.c:496: error: 'curve' undeclared (first use in this function)
>>> g_box.c:496: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:499: error: 'tmp' undeclared (first use in this function)
>>> g_box.c:499: error: 'flags' undeclared (first use in this function)
>>> g_box.c:502: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:507: error: 'p1' undeclared (first use in this function)
>>> g_box.c:508: error: 'p2' undeclared (first use in this function)
>>> g_box.c:509: error: 'p3' undeclared (first use in this function)
>>> g_box.c:517: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:520: error: syntax error before '*' token
>>> g_box.c: In function 'lwpoint_calculate_gbox':
>>> g_box.c:522: error: 'point' undeclared (first use in this function)
>>> g_box.c:522: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:523: error: 'gbox' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:526: error: syntax error before '*' token
>>> g_box.c: In function 'lwline_calculate_gbox':
>>> g_box.c:528: error: 'line' undeclared (first use in this function)
>>> g_box.c:528: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:529: error: 'gbox' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:532: error: syntax error before '*' token
>>> g_box.c: In function 'lwpoly_calculate_gbox':
>>> g_box.c:534: error: 'poly' undeclared (first use in this function)
>>> g_box.c:534: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:537: error: 'gbox' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:540: error: syntax error before '*' token
>>> g_box.c: In function 'lwcollection_calculate_gbox':
>>> g_box.c:542: error: 'GBOX' undeclared (first use in this function)
>>> g_box.c:542: error: syntax error before 'subbox'
>>> g_box.c:544: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:545: error: 'LW_TRUE' undeclared (first use in this function)
>>> g_box.c:546: error: 'coll' undeclared (first use in this function)
>>> g_box.c:550: error: 'subbox' undeclared (first use in this function)
>>> g_box.c:550: error: 'gbox' undeclared (first use in this function)
>>> g_box.c:554: warning: implicit declaration of function
>>> 'lwgeom_calculate_gbox'
>>> g_box.c:554: error: 'LWGEOM' undeclared (first use in this function)
>>> g_box.c:554: error: syntax error before ')' token
>>> g_box.c:563: error: 'LW_FALSE' undeclared (first use in this function)
>>> g_box.c:569: error: 'G_SUCCESS' undeclared (first use in this function)
>>> g_box.c: At top level:
>>> g_box.c:575: warning: type defaults to 'int' in declaration of 'LWGEOM'
>>> g_box.c:575: error: syntax error before '*' token
>>> g_box.c:576: warning: no previous prototype for 'lwgeom_calculate_gbox'
>>> g_box.c: In function 'lwgeom_calculate_gbox':
>>> g_box.c:577: error: 'lwgeom' undeclared (first use in this function)
>>> g_box.c:577: error: 'G_FAILURE' undeclared (first use in this function)
>>> g_box.c:579: warning: implicit declaration of function 'TYPE_GETTYPE'
>>> g_box.c:581: error: 'POINTTYPE' undeclared (first use in this function)
>>> g_box.c:582: error: 'LWPOINT' undeclared (first use in this function)
>>> g_box.c:582: error: syntax error before ')' token
>>> g_box.c:583: error: 'LINETYPE' undeclared (first use in this function)
>>> g_box.c:584: error: 'LWLINE' undeclared (first use in this function)
>>> g_box.c:584: error: syntax error before ')' token
>>> g_box.c:585: error: 'CIRCSTRINGTYPE' undeclared (first use in this
>>> function)
>>> g_box.c:586: error: 'LWCIRCSTRING' undeclared (first use in this
>>> function)
>>> g_box.c:586: error: syntax error before ')' token
>>> g_box.c:587: error: 'POLYGONTYPE' undeclared (first use in this
> function)
>>> g_box.c:588: error: 'LWPOLY' undeclared (first use in this function)
>>> g_box.c:588: error: syntax error before ')' token
>>> g_box.c:589: error: 'COMPOUNDTYPE' undeclared (first use in this
>>> function)
>>> g_box.c:590: error: 'CURVEPOLYTYPE' undeclared (first use in this
>>> function)
>>> g_box.c:591: error: 'MULTIPOINTTYPE' undeclared (first use in this
>>> function)
>>> g_box.c:592: error: 'MULTILINETYPE' undeclared (first use in this
>>> function)
>>> g_box.c:593: error: 'MULTICURVETYPE' undeclared (first use in this
>>> function)
>>> g_box.c:594: error: 'MULTIPOLYGONTYPE' undeclared (first use in this
>>> function)
>>> g_box.c:595: error: 'MULTISURFACETYPE' undeclared (first use in this
>>> function)
>>> g_box.c:596: error: 'COLLECTIONTYPE' undeclared (first use in this
>>> function)
>>> g_box.c:597: error: 'LWCOLLECTION' undeclared (first use in this
>>> function)
>>> g_box.c:597: error: syntax error before ')' token
>>>
>>>
>>> On Mon, 26 Apr 2010 11:43:34 -0700, Paul Ramsey
>>> <pramsey at cleverelephant.ca>
>>> wrote:
>>>> 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
>>>>>
>>>> _______________________________________________
>>>> 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
> _______________________________________________
> 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