[Mapserver-DE] Problem bei kompilierung --with-ogr

Elstermann, Mike Mike.Elstermann at itc-halle.de
Mit Sep 29 15:26:12 CEST 2004


hallo zusammen,

ich habe mal wieder ein problem bei der mapserver-kompilierung mit
OGR-Funktionalität

habe GDAL wie folgt kompiliert in 2 varianten:
---------------------------------------
GDAL
	·	./configure
	·	make
	·	make install

GDAL
	·	./configure --with-pg=/usr/local/pgsql/bin/pg_config

	·	make
	·	make install

hat in beiden fällen geklappt.
pfade gesetzt:
LD_LIBRARY_PATH=/usr/local/lib
LD_RUN_PATH=/usr/local/lib

das konfigurieren des mapserver schlägt leider fehl
----------------------------------------------------------------------------
--

./configure --with-postgis=/usr/local/pgsql/bin/pg_config
--with-gd=/usr/local --with-png=/usr/local
--with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config

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) flex
checking for yywrap in -lfl... (cached) yes
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 for __gxx_personality_v0 in -lstdc++... (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 where FreeType 2.x is installed...
checking for FT_Init_FreeType in -lfreetype... yes
        using libfreetype -lfreetype 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 where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... no
        XPM (libXpm) library cannot be found, possibly needed for GD
checking where libiconv is installed...
checking for libiconv_open in -liconv... no
        libiconv library cannot be found, possibly needed for GD
checking for GD 2.0.12 or higher...
checking for gdImageSetAntiAliased in -lgd... yes
        using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd -ljpeg
-lfreetype -lpng -lz  
checking for gdImageGif in -lc... no
checking for gdImagePng in -lc... yes
checking for gdImageJpeg in -lc... yes
checking for gdImageWBMP in -lc... yes
checking for gdImageStringFT in -lc... yes
checking for gdImageGifPtr in -lc... no
        using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT)
from /usr/local.
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... 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...
checking for OGRRegisterAll in -lgdal.1.1... (cached) no
configure: warning:         OGR not found in system libs... use
--with-ogr=DIR. <<<<------ hab ich doch gemacht? oder?
checking if GDAL support requested... yes, user supplied gdal-config
(/usr/local/bin/gdal-config)
checking if PostGIS support requested... yes, user supplied pg_config
checking if MyGIS support requested... no
checking if OracleSpatial support requested... no
checking if MING/Flash support requested... no
checking whether we should include WMS Server support...
        OGC WMS Compatibility not enabled (PROJ.4 is required for WMS).
checking whether we should include WFS Server support...
        OGC WFS Server support not requested.
checking whether we should include WMS Client Connections support...
        OGC WMS Client Connections not enabled (PROJ.4 and libcurl
required).
checking whether we should include WFS Client Connections support...
        OGC WFS Client Connections not enabled (PROJ.4, libcurl and OGR
required).
checking for curl-config
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

sieht jemand den fehler?


Für Rückfragen stehe ich Ihnen gern zur Verfügung.

::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/e-Solutions
::: IT-Consult Halle GmbH, Bornknechtstraße 5, 06108 Halle (Saale)
::: 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://halgis.halle.de; http://umweltatlas.halle.de




This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)