[postgis-devel] Build failed in Hudson: PostGIS-trunk-build #3760

Chris Hodgson chodgson at refractions.net
Mon Jan 23 14:03:34 PST 2012


Testing out building with gdal on the buildbot box, I did the following 
configure against svn trunk:

./configure
--with-pgconfig=/var/home/buildbot/opt/pgsql/9.0.1/bin/pg_config
--with-geosconfig=/var/home/buildbot/opt/geos/3.2.2/bin/geos-config
--with-projdir=/var/home/buildbot/opt/proj/4.7.0
--with-jsondir=/var/home/buildbot/opt/json-c/0.9
--with-gdalconfig=/var/home/buildbot/opt/gdal/1.9.0/bin/gdal-config

I got the following output of relevance:

checking for GDAL >= 1.6.0... found
checking for GDALFPolygonize in -lgdal... no

But in the final output, nothing about raster or gdal version. I had a 
look at the configure.ac, I don't really have time to figure it out 
right now, but it would be nice if it would output "raster: disabled" 
and "topology: disabled" rather than just skipping the extension section 
all together. gdal should also be listed in the dependencies, regardless 
of whether raster was enabled or not. Here is the final output I got:

PostGIS is now configured for i686-redhat-linux-gnu

  -------------- Compiler Info -------------
   C compiler:           gcc -g -O2
   C++ compiler:         g++ -g -O2

  -------------- Dependencies --------------
   GEOS config:          /var/home/buildbot/opt/geos/3.2.2/bin/geos-config
   GEOS version:         3.2.2
   PostgreSQL config:    /var/home/buildbot/opt/pgsql/9.0.1/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.0.1
   PROJ4 version:        47
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.6.26
   JSON-C support:       yes
   PostGIS debug level:  0
   perl:                 /usr/bin/perl

  -------- Documentation Generation --------
   xsltproc:             /usr/bin/xsltproc
   xsl style sheets:     /usr/share/sgml/docbook/xsl-stylesheets
   dblatex:              /usr/bin/dblatex
   convert:              /usr/bin/convert

If I add  --with-raster, I get gdal info in the dependencies and also 
the extension information. Seems like the default setting wasn't 
entirely changed over.

Should I also add --with-topology to the standard buildbot build? Should 
I upgrade the builds to use the latest GEOS version?

Thanks,
Chris

On 12-01-23 01:08 PM, dustymugs wrote:
> 1.9.0 would be ideal.
>
> -bborie
>
> On 01/23/2012 01:08 PM, Chris Hodgson wrote:
>> What version of gdal should I install on the buildbot?
>>
>> Chris
>>
>> On 12-01-20 03:42 PM, Paul Ramsey wrote:
>>> Chris,
>>> Could you set the buildbot to use --without-raster in its configure,
>>> or add gdal to it please?
>>> Thanks,
>>> P.
>>>
>>> On Fri, Jan 20, 2012 at 3:06 PM,<chodgson at refractions.net> wrote:
>>>> See<http://office.refractions.net:1500/job/PostGIS-trunk-build/3760/changes> 
>>>>
>>>>
>>>>
>>>> Changes:
>>>>
>>>> [Paul Ramsey] Make raster on by default and --without-raster the
>>>> configuration parameter to disable it.
>>>>
>>>> ------------------------------------------
>>>> Started by remote host 140.211.15.71
>>>> Updating http://svn.osgeo.org/postgis/trunk
>>>> U configure.ac
>>>> At revision 8896
>>>> [workspace] $ /bin/sh -xe /tmp/hudson671320016005153531.sh
>>>> ++ svn info src
>>>> ++ grep 'Last Changed Rev:'
>>>> ++ cut -f4 '-d '
>>>> + SVN_REVISION=8896
>>>> + rm -rf build
>>>> + rm -rf rel
>>>> + rm -rf postgis-2.0.0SVN postgis-2.0.0SVN.tar.gz
>>>> + svn export src rel
>>>> Export complete.
>>>> + cd ./rel
>>>> + ./autogen.sh
>>>> * Running /usr/bin/libtoolize (1.5.22)
>>>> OPTIONS = --force --copy
>>>> You should add the contents of `/usr/share/aclocal/libtool.m4' to
>>>> `aclocal.m4'.
>>>> * Running /usr/bin/aclocal (1.9.6)
>>>> * Running /usr/bin/autoconf (2.59)
>>>> ======================================
>>>> Now you are ready to run './configure'
>>>> ======================================
>>>> + rm -rf autom4te.cache
>>>> + rm -rf HOWTO_RELEASE
>>>> + rm -rf make_dist.sh
>>>> + echo SVN_REVISION=8896
>>>> + cd<http://office.refractions.net:1500/job/PostGIS-trunk-build/ws/>
>>>> + svn export src build
>>>> Export complete.
>>>> + cd build
>>>> + ./autogen.sh
>>>> * Running /usr/bin/libtoolize (1.5.22)
>>>> OPTIONS = --force --copy
>>>> You should add the contents of `/usr/share/aclocal/libtool.m4' to
>>>> `aclocal.m4'.
>>>> * Running /usr/bin/aclocal (1.9.6)
>>>> * Running /usr/bin/autoconf (2.59)
>>>> ======================================
>>>> Now you are ready to run './configure'
>>>> ======================================
>>>> + ./configure
>>>> --with-pgconfig=/var/home/buildbot/opt/pgsql/9.0.1/bin/pg_config
>>>> --with-geosconfig=/var/home/buildbot/opt/geos/3.2.2/bin/geos-config
>>>> --with-projdir=/var/home/buildbot/opt/proj/4.7.0
>>>> checking build system type... i686-redhat-linux-gnu
>>>> checking host system type... i686-redhat-linux-gnu
>>>> 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 ANSI C... none needed
>>>> checking for a sed that does not truncate output... /bin/sed
>>>> checking for egrep... grep -E
>>>> checking for ld used by gcc... /usr/bin/ld
>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>> checking for /usr/bin/ld option to reload object files... -r
>>>> checking for BSD-compatible nm... /usr/bin/nm -B
>>>> checking whether ln -s works... yes
>>>> checking how to recognise dependent libraries... pass_all
>>>> 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 dlfcn.h usability... yes
>>>> checking dlfcn.h presence... yes
>>>> checking for dlfcn.h... yes
>>>> checking for g++... g++
>>>> checking whether we are using the GNU C++ compiler... yes
>>>> checking whether g++ accepts -g... yes
>>>> checking how to run the C++ preprocessor... g++ -E
>>>> checking for g77... no
>>>> checking for f77... no
>>>> checking for xlf... no
>>>> checking for frt... no
>>>> checking for pgf77... no
>>>> checking for fort77... no
>>>> checking for fl32... no
>>>> checking for af77... no
>>>> checking for f90... no
>>>> checking for xlf90... no
>>>> checking for pgf90... no
>>>> checking for epcf90... no
>>>> checking for f95... no
>>>> checking for fort... no
>>>> checking for xlf95... no
>>>> checking for ifc... no
>>>> checking for efc... no
>>>> checking for pgf95... no
>>>> checking for lf95... no
>>>> checking for gfortran... no
>>>> checking whether we are using the GNU Fortran 77 compiler... no
>>>> checking whether accepts -g... no
>>>> checking the maximum length of command line arguments... 32768
>>>> checking command to parse /usr/bin/nm -B output from gcc object... ok
>>>> checking for objdir... .libs
>>>> checking for ar... ar
>>>> checking for ranlib... ranlib
>>>> checking for strip... strip
>>>> checking if gcc supports -fno-rtti -fno-exceptions... no
>>>> checking for gcc option to produce PIC... -fPIC
>>>> checking if gcc PIC flag -fPIC works... yes
>>>> checking if gcc static flag -static works... yes
>>>> checking if gcc supports -c -o file.o... yes
>>>> checking whether the gcc linker (/usr/bin/ld) supports shared
>>>> libraries... yes
>>>> checking whether -lc should be explicitly linked in... no
>>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>>> 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
>>>> configure: creating libtool
>>>> appending configuration tag "CXX" to libtool
>>>> checking for ld used by g++... /usr/bin/ld
>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>> checking whether the g++ linker (/usr/bin/ld) supports shared
>>>> libraries... yes
>>>> checking for g++ option to produce PIC... -fPIC
>>>> checking if g++ PIC flag -fPIC works... yes
>>>> checking if g++ static flag -static works... yes
>>>> checking if g++ supports -c -o file.o... yes
>>>> checking whether the g++ linker (/usr/bin/ld) supports shared
>>>> libraries... yes
>>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>>> checking how to hardcode library paths into programs... immediate
>>>> appending configuration tag "F77" to libtool
>>>> 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 ANSI C... (cached) none needed
>>>> checking how to run the C preprocessor... gcc -E
>>>> checking whether we are using the GNU C++ compiler... (cached) yes
>>>> checking whether g++ accepts -g... (cached) yes
>>>> 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 for yywrap in -lfl... yes
>>>> checking lex output file root... lex.yy
>>>> 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 vasprintf... yes
>>>> checking for asprintf... yes
>>>> checking for perl... /usr/bin/perl
>>>> checking for convert... /usr/bin/convert
>>>> checking for xsltproc... /usr/bin/xsltproc
>>>> checking for dblatex... /usr/bin/dblatex
>>>> checking CUnit/CUnit.h usability... yes
>>>> checking CUnit/CUnit.h presence... yes
>>>> checking for CUnit/CUnit.h... yes
>>>> checking for CU_initialize_registry in -lcunit... yes
>>>> 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... yes
>>>> checking for iconvctl... no
>>>> checking for libiconvctl... no
>>>> Using user-specified pg_config file:
>>>> /var/home/buildbot/opt/pgsql/9.0.1/bin/pg_config
>>>> checking PostgreSQL version... PostgreSQL 9.0.1
>>>> 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:
>>>> /var/home/buildbot/opt/geos/3.2.2/bin/geos-config
>>>> checking GEOS version... 3.2.2
>>>> 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
>>>> checking whether make sets $(MAKE)... yes
>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>> checking whether NLS is requested... yes
>>>> checking for msgfmt... /usr/bin/msgfmt
>>>> checking for gmsgfmt... /usr/bin/msgfmt
>>>> checking for xgettext... /usr/bin/xgettext
>>>> checking for msgmerge... /usr/bin/msgmerge
>>>> checking for ld used by GCC... /usr/bin/ld
>>>> checking if the linker (/usr/bin/ld) is GNU ld... yes
>>>> checking for shared library run path origin... done
>>>> checking for CFPreferencesCopyAppValue... no
>>>> checking for CFLocaleCopyCurrent... no
>>>> checking for GNU gettext in libc... yes
>>>> checking whether to use NLS... yes
>>>> checking where the gettext function comes from... libc
>>>> Using user-specified proj directory: /var/home/buildbot/opt/proj/4.7.0
>>>> 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
>>>> checking json/json.h usability... no
>>>> checking json/json.h presence... no
>>>> checking for json/json.h... no
>>>> checking for json_object_get in -ljson... no
>>>> Could not open input file sqlmm.sql.in.c
>>>> checking for GDAL>= 1.6.0... which: no gdal-config in
>>>> (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/var/home/buildbot/bin) 
>>>>
>>>> not found
>>>> configure: error: gdal-config not found. With --without-raster or try
>>>> --with-gdalconfig=<path to gdal-config>
>>>> Archiving artifacts
>>>>
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel




More information about the postgis-devel mailing list