Display JPEG and TIF

Juan Baron jbarong at HOTMAIL.COM
Wed Jan 19 18:24:36 EST 2005


I don't find the error. I don't display JPEG and TIF because the mapserver
don't use gdal. Please, someone say me where is the error.

I have Suse 9.0.

When I install the gdal-1.2.5 the output is the following:

./configure


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/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 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 static flag  works... yes
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 supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/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/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/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++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for dlopen in -ldl... yes
checking for main in -lm... yes
checking for ANSI C header files... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking dbmalloc.h usability... no
checking dbmalloc.h presence... no
checking for dbmalloc.h... no
checking for dlfcn.h... (cached) yes
checking for stdint.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking whether byte ordering is bigendian... no
checking for 64bit integer type... long long
checking for 64bit file io... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for int8... no
checking for int16... no
checking for int32... no
checking native cpu bit order... lsb2msb
checking for vprintf... yes
checking for _doprnt... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for atoll... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for setlocale... yes
checking for local include/lib path... none
configure: checking whether we should include thread/mutex support......
        thread safe support disabled.
checking for deflateInit_ in -lz... yes
using pre-installed libz
checking for G_gisinit_2 in -lgrass5... no
checking for ffopen in -lcfitsio... no
libcfitsio not found - FITS support disabled
checking for Mopen in -lcsf... yes
checking for nc_open in -lnetcdf... no
libnetcdf not found - netCDF support disabled
checking for png_set_IHDR in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
using pre-installed libpng.
checking for TIFFGetTagListCount in -ltiff... no
using internal TIFF code.
using internal GeoTIFF code.
checking for jpeg_read_scanlines in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for width_in_blocks in jpeglib.h... yes
using pre-installed libjpeg.
checking for DGifOpenFileName in -lgif... no
using internal gif code.
checking for cln_GetLayerCapabilities in -logdi31... no
checking for FMEObjects... no
checking for SDreaddata in -lmfhdf... no
checking for jpc_decode in -ljasper... no
checking for jp2_decode in -ljasper... no
checking for pgx_decode in -ljasper... no
checking for NCScbmOpenFileView in -lNCSEcw... no
checking for Kakadu JPEG2000 support... not requested.
configure: MrSID support disabled.
checking for BSB ... enabled
checking for OGR ... enabled
checking for pg_config... no
checking for PostgreSQL... checking for mysql_config... no
checking for MySQL... no
checking for Xerces C++... disabled
checking for SQLConnect in -lodbc... yes
odbc library found, but sql.h missing, ODBC support disabled.
checking for OCIBindByName in -lclntsh... no
checking Checking for DODS... disabled
checking Checking for SQLite... disabled
checking for geos-config... no
checking how to link PROJ.4 library... link dynamically.
checking GDAL version... 1.2.5
checking for python... no
checking for python1.5... no
checking for python1.4... no
checking for python1.3... no
checking for NumPy include files... missing
checking if local/include already standard... no, everything is ok
configure: creating ./config.status
config.status: creating GDALmake.opt
config.status: creating port/cpl_config.h
config.status: port/cpl_config.h is unchanged

GDAL is now configured for i686-pc-linux-gnu

  Installation directory:    /usr/local
  C compiler:                gcc -O2
  C++ compiler:              g++ -O2

  LIBTOOL support:           yes

  LIBZ support:              external
  GRASS support:             no
  CFITSIO support:           no
  PCRaster support:          yes
  NETCDF support:            no
  LIBPNG support:            external
  LIBTIFF support:           internal
  LIBGEOTIFF support:        internal
  LIBJPEG support:           external
  LIBGIF support:            internal
  OGDI support:              no
  HDF4 support:              no
  KAKADU support:            no
  JASPER support:            no
  ECW support:               no
  MrSID support:             no
  POSTGRESQL support:        no
  MySQL support:             no
  XERCES support:            no
  ODBC support:              no
  OCI support:               no
  DODS support:              no
  SQLite support:            no
  GEOS support:              no

  Statically link PROJ.4:    no

  Python:                    no

  enable OGR building:       yes



After executed make. The output is very longer and I don't copy this.



With the make install the output is the following:





GNUmakefile:43: warning: overriding commands for target `libgdal.la'
GNUmakefile:39: warning: ignoring old commands for target `libgdal.la'
(cd port; make)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/port'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/port'
(cd gcore; make)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/gcore'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/gcore'
(cd alg; make)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/alg'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/alg'
(cd frmts; make)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts'
make -C gxf install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gxf'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gxf'
make -C gtiff install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gtiff'
(cd libgeotiff; make install-obj)
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gtiff/
libgeotiff'
make[3]: Nothing to be done for `install-obj'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gtiff/
libgeotiff'
(cd libtiff; make install-obj)
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gtiff/
libtiff'
make[3]: Nothing to be done for `install-obj'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gtiff/
libtiff'
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gtiff'
make -C hfa install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/hfa'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/hfa'
make -C aigrid install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/aigrid'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/aigrid'
make -C aaigrid install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/aaigrid'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/aaigrid'
make -C ceos install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/ceos'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/ceos'
make -C ceos2 install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/ceos2'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/ceos2'
make -C iso8211 install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/iso8211'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/iso8211'
make -C xpm install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/xpm'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/xpm'
make -C sdts install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/sdts'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/sdts'
make -C raw install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/raw'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/raw'
make -C dted install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/dted'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/dted'
make -C mem install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/mem'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/mem'
make -C jdem install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/jdem'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/jdem'
make -C envisat install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/envisat'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/envisat'
make -C elas install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/elas'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/elas'
make -C fit install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/fit'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/fit'
make -C vrt install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/vrt'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/vrt'
make -C usgsdem install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/usgsdem'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/usgsdem'
make -C l1b install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/l1b'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/l1b'
make -C nitf install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/nitf'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/nitf'
make -C bmp install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/bmp'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/bmp'
make -C pcidsk install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/pcidsk'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/pcidsk'
make -C airsar install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/airsar'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/airsar'
make -C rs2 install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/rs2'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/rs2'
make -C bsb install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/bsb'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/bsb'
make -C gif install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gif'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/gif'
make -C jpeg install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/jpeg'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/jpeg'
make -C png install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/png'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/png'
make -C pcraster install-obj
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/pcraster'
make[2]: Nothing to be done for `install-obj'.
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts/pcraster'
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts'
(cd ogr; make lib )
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr'
(cd ogrsf_frmts; make)
make[2]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts'
make -C generic
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/generic'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
generic'
make -C shape
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/shape'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
shape'
make -C ntf
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/ntf'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
ntf'
make -C sdts
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/sdts'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
sdts'
make -C tiger
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/tiger'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
tiger'
make -C s57
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/s57'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
s57'
make -C mitab
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/mitab'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
mitab'
make -C dgn
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/dgn'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
dgn'
make -C gml
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/gml'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
gml'
make -C avc
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/avc'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
avc'
make -C rec
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/rec'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
rec'
make -C mem
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/mem'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
mem'
make -C vrt
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/vrt'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
vrt'
make -C csv
make[3]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/
ogrsf_frmts/csv'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts/
csv'
make[2]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr/ogrsf_frmts'
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr'
make ./libgdal.la
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5'
GNUmakefile:43: warning: overriding commands for target `libgdal.la'
GNUmakefile:39: warning: ignoring old commands for target `libgdal.la'
make[1]: `libgdal.la' is up to date.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5'
(cd ogr; make apps)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr'
make[1]: Nothing to be done for `apps'.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr'
(cd apps; make)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/apps'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/apps'
./install-sh -d /usr/local/lib
for f in ./libgdal.la ; do /bin/sh ./libtool --mode=install ./install-sh -c
$f /usr/local/lib ; done
./install-sh -c ./.libs/libgdal.so.1.6.0 /usr/local/lib/libgdal.so.1.6.0
(cd /usr/local/lib && rm -f libgdal.so.1 && ln -s libgdal.so.1.6.0
libgdal.so.1)
(cd /usr/local/lib && rm -f libgdal.so && ln -s libgdal.so.1.6.0
libgdal.so)
./install-sh -c ./.libs/libgdal.lai /usr/local/lib/libgdal.la
./install-sh -c ./.libs/libgdal.a /usr/local/lib/libgdal.a
ranlib /usr/local/lib/libgdal.a
chmod 644 /usr/local/lib/libgdal.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
./install-sh -d /usr/local/bin
./install-sh -d /usr/local/share/gdal
./install-sh -d /usr/local/include
(cd port; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/port'
for f in *.h ; do ../install-sh -c -m 0644 $f /usr/local/include ; done
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/port'
(cd gcore; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/gcore'
for f in *.h ; do ../install-sh -c -m 0644 $f /usr/local/include ; done
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/gcore'
(cd frmts; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/frmts'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/frmts'
(cd alg; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/alg'
for f in *.h ; do ../install-sh -c -m 0644 $f /usr/local/include ; done
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/alg'
(cd ogr; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/ogr'
/bin/sh ../libtool --mode=install ../install-sh -c ogr2ogr /usr/local/bin
../install-sh -c .libs/ogr2ogr /usr/local/bin/ogr2ogr
/bin/sh ../libtool --mode=install ../install-sh -c ogrinfo /usr/local/bin
../install-sh -c .libs/ogrinfo /usr/local/bin/ogrinfo
/bin/sh ../libtool --mode=install ../install-sh -c ogrtindex /usr/local/bin
../install-sh -c .libs/ogrtindex /usr/local/bin/ogrtindex
for f in ogr_core.h ogr_feature.h ogr_geometry.h ogr_p.h ogr_spatialref.h
ogr_srs_api.h ogrsf_frmts/ogrsf_frmts.h ogr_featurestyle.h ogr_api.h ; \
    do ../install-sh -c -m 0644 $f /usr/local/include ; \
done
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/ogr'
(cd apps; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/apps'
for f in gdalinfo gdal_translate gdaladdo gdalwarp gdal_contour
gdaltindex ; do /bin/sh /root/Proyecto/gdal/gdal-1.2.5/libtool
--mode=install /root/Proyecto/gdal/gdal-1.2.5/install-sh -c $f /usr/local/
bin ; done
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c .libs/gdalinfo /usr/local/bin/
gdalinfo
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c .libs/gdal_translate /usr/
local/bin/gdal_translate
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c .libs/gdaladdo /usr/local/bin/
gdaladdo
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c .libs/gdalwarp /usr/local/bin/
gdalwarp
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c .libs/gdal_contour /usr/local/
bin/gdal_contour
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c .libs/gdaltindex /usr/local/
bin/gdaltindex
/bin/sh /root/Proyecto/gdal/gdal-1.2.5/libtool --mode=install /root/
Proyecto/gdal/gdal-1.2.5/install-sh -c gdal-config-inst /usr/local/bin/
gdal-config
/root/Proyecto/gdal/gdal-1.2.5/install-sh -c gdal-config-inst /usr/local/
bin/gdal-config
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/apps'
(cd man; make install)
make[1]: Entering directory `/root/Proyecto/gdal/gdal-1.2.5/man'
../install-sh -d /usr/local/man/man1
for f in man1/gdal-config.1 man1/gdal_merge.py.1 man1/gdal_translate.1
man1/gdal_utilities.1 man1/gdaladdo.1 man1/gdalinfo.1 man1/gdaltindex.1
man1/gdalwarp.1 man1/ogr2ogr.1 man1/ogr_utilities.1 man1/ogrinfo.1 man1/
ogrtindex.1 man1/rgb2pct.py.1 ; do ../install-sh -c -m 0644 $f /usr/local/
man/man1 ; done
make[1]: Leaving directory `/root/Proyecto/gdal/gdal-1.2.5/man'
for f in data/*.* ; do ./install-sh -c -m 0644 $f /usr/local/share/gdal ;
done
/bin/sh ./libtool --mode=finish --silent /usr/local/lib






Now install mapserver-4.4.1.
Executed ./configure --with-proj --with-gdal --with-ogr --with-postgis
--with-ming. The output is the following:





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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
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 if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strlcat... no
MapServer Version from map.h: '4.4.1'
configure: checking where FreeType 2.x is installed...
checking for FT_Init_FreeType in -lfreetype... yes
        using libfreetype -lfreetype from system libs.
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
        using libz from system libs.
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
        using libpng from system libs.
configure: checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
        using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... no
        XPM (libXpm) library cannot be found, possibly needed for GD
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... yes
        using libiconv from system libs.
        libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.12 or higher...
checking for gdImageSetAntiAliased in -lgd... yes
checking for gdImageSetAntiAliased in -lgd... (cached) yes
        using libgd 2.0.12 (or higher) from system libs (-L/usr/local/lib
-lgd -ljpeg -lfreetype -lpng -lz  ).
checking for gdImageCreate in -lgd... yes
checking for gdImageGif in -lgd... yes
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 gdImageGifPtr in -lgd... yes
checking for gdFontGetTiny in -lgd... yes
        using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS) from system
libs.
configure: checking whether we should include PDF support...
checking for PDF_setlinewidth in -lpdf... yes
checking for PDF_setrgbcolor in -lpdf... yes
checking for PDF_moveto in -lpdf... yes
checking for PDF_curveto in -lpdf... yes
checking for PDF_show_xy in -lpdf... yes
        using libpdf from system libs.
configure: checking whether we should include EPPL7 support...
        including EPPL7 support.
configure: checking whether we should include PROJ.4 support...
checking for pj_init in -lproj... yes
checking for pj_transform in -lproj... yes
checking for pj_latlong_from_proj in -lproj... yes
        using PROJ.4 from system libs.
configure: checking whether we should include thread safe support...
        thread safe support disabled.
configure: checking whether we should include ESRI SDE support...
        ESRI SDE support not requested.
configure: checking whether we should include SDE raster support...
        not including experimental SDE raster support.
configure: checking whether we should compile in MPATROL support...
        MPATROL support not requested.
checking if GEOS support requested... no
configure: checking whether we should include OGR support...
checking for gdal-config... /usr/local/bin/gdal-config
        OGR enabled (-DUSE_OGR).
checking if GDAL support requested... yes
checking checking ms JPEG output... no we, have GDAL available.
configure: checking whether we should include TIFF support...
        disabled since gdal is in use
checking if PostGIS support requested... yes
checking for pg_config... no
checking if MyGIS support requested... no
checking if OracleSpatial support requested... no
checking if MING/Flash support requested... yes
configure: checking whether we should include WMS Server support...
        OGC WMS compatibility enabled (-DUSE_WMS_SVR).
configure: checking whether we should include WFS Server support...
        OGC WFS Server support not requested.
configure: checking whether we should include WCS Server support...
        OGC WCS Server support not requested.
configure: checking whether we should include WMS Client Connections
support...
configure: checking whether we should include WFS Client Connections
support...
configure: checking for curl-config...
configure: checking whether FastCGI support should be enabled...
        FastCGI support not enabled.
configure: checking HTTPD server (Apache) version...
checking for httpd... /usr/sbin/httpd
        /usr/sbin/httpd version is Apache/1.3.28 (1003028).
Compiling with -DIGNORE_MISSING_DATA.
configure: checking whether we should enable debug features...
configure: checking for PHP/MapScript module options...
        PHP/MapScript module not configured.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mapscript/java/Makefile




And when I executed ./mapserv -v the result was:

MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF SUPPORTS=FREETYPE INPUT=TIFF INPUT=EPPL7 INPUT=JPEG
INPUT=SHAPEFILE


I don't see INPUT=GDAL   :(



Thank's



More information about the mapserver-users mailing list