[Mapserver-users] MapServ-Compilation with PostGis / but where is INPUT=POSTGIS???? ??

Elstermann, Mike Mike.Elstermann at itc-halle.de
Tue Jun 10 05:28:33 EDT 2003


hi folks,

my problem: mapserver-compilation with postgis-support

my environment:
- linux suse 8.1
- postgresql 7.3.3
- mapserver 3.6.5
- postgis 0.7.5

---------------------------------------------------------------------
1. i have configured with:

./configure --with-postgis=/usr/bin/pg_config
---------------------------------------------------------------------
the results:

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for flex... (cached) lex
checking for yywrap in -ll... (cached) no
checking for bison... (cached) bison -y
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for exp in -lm... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for strdup... (cached) yes
checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
        using libjpeg from system libs.
checking which version of GD to use...
        using libgd from system libs.
checking where FreeType is installed...
checking for FT_Init_FreeType in -lfreetype... no
checking for TT_Init_FreeType in -lttf... yes
        using libfreetype -lttf from system libs.
checking where Zlib is installed...
checking for zlibVersion in -lz... yes
        using libz from system libs.
checking where PNG is installed...
checking for png_init_io in -lpng... yes
        using libpng from system libs.
checking for gdImageCreate in -lgd... yes
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... yes
checking for gdImageJpeg in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageString16 in -lgd... yes
checking for gdImageGifPtr in -lgd... no
        using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT)
from system libs.
checking whether we should include PDF support...
checking for PDF_setlinewidth in -lpdf... no
checking for PDF_setrgbcolor in -lpdf... no
checking for PDF_moveto in -lpdf... no
checking for PDF_curveto in -lpdf... no
checking for PDF_show_xy in -lpdf... (cached) no
        libpdf not found... PDF support not included.
checking whether we should include TIFF support...
checking for TIFFOpen in -ltiff... yes
        using libtiff from system libs.
checking whether we should include EPPL7 support...
        including EPPL7 support.
checking whether we should include PROJ.4 support...
        PROJ.4 support not requested.
checking whether we should include thread safe support...
        thread safe support disabled.
checking whether we should include ESRI SDE support...
        ESRI SDE support not requested.
checking whether we should compile in MPATROL support...
        MPATROL support not requested.
checking whether we should include OGR support...
        OGR support not requested.
checking if GDAL support requested... no
checking if PostGIS support requested... yes, user supplied pg_config
checking if OracleSpatial support requested... no
checking whether we should include WMS support...
        OGC WMS Compatibility not enabled (PROJ.4 is required for WMS).
checking whether we should include WMS Client Connections support...
        OGC WMS Client Connections not enabled (PROJ.4 and libwww required).
Compiling with -DIGNORE_MISSING_DATA.
checking whether we should enable debug features...
checking for PHP/MapScript module options...
        PHP/MapScript module not configured.
creating ./config.status
creating Makefile

---------------------------------------------------------------------
2. ./make
---------------------------------------------------------------------
the results:

gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   shp2img.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o shp2img
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   shp2pdf.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o shp2pdf
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   legend.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o legend
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   mapserv.o cgiutil.o   -L.
-lmap -lgd -L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng
-lz  -ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o mapserv
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   shptree.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o shptree
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   shptreevis.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o shptreevis
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   shptreetst.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o shptreetst
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   scalebar.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o scalebar
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   sortshp.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o sortshp
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF -DUSE_JPEG
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     -DUSE_POSTGIS
-I/usr/include           -I/usr/include/pgsql   tile4ms.o  -L. -lmap -lgd
-L/usr/lib -lgd -ljpeg -lttf -lpng -lz  -ltiff -ljpeg -lttf -lpng -lz
-ljpeg     -L/usr/lib -lpq     -lm   -lstdc++ -o tile4ms


---------------------------------------------------------------------
3. ./mapserv -v
---------------------------------------------------------------------
the results:

MapServer version 3.6.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF
INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE

but where is INPUT=POSTGIS??????


::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/RIS, e-Solutions
::: IT-Consult Halle GmbH, Bornknechtstraße 5, 06108 Halle (Saale)
::: Sitz: Rathausstraße 3
::: Tel.: +49 345 221 4237, Fax: +49 345 221 4236, mobil: +49 160 71 545 02
::: mike.elstermann at itc-halle.de ::: http://www.itc-halle.de
::: GeoDaten Online? -> http://www.itcgis.de



More information about the mapserver-users mailing list