[mapserver-users] RH6.2 Install

Dennis Anthony iblden at iblden.com
Thu May 17 07:17:48 EDT 2001


hello list,

i am attempting to compile mapserver 3.3.011 on my red hat 6.2 system.
Each time i compile i encounter a number of errors as seen in the
following config.log and output from the Configure execution.   When I
execute the Make following the "Configure" I encounter numerous message
indicating

GNU Make version 3.78.1 is being used.,

" gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL  -DUSE_TTF -DUSE_TIFF
-DUSE_JPEG -DUSE_GD_1_3    -I/home/danthony/tools/mapserver/ms33/gdft
-I/usr/include/freetype  ........"

I have attempted to compile with freetype installed via RPM as well as
from source, P
I have also installted the following components.  The Configuration
below does not include the PROJ4 or shpelib packages.  Though several
attempts were made with those ase well.

PROJ.4-4.4.1-1.i586.rpm
freetype-2.0.1.tar
shapelib-1.2.8-1.i586.rpm
jpegsrc.v6b.tar.gz  ms_3.4.tar


Any help or suggestions would be appreciated.

dennis.


******************************
CONFIG.LOG

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:569: checking for gcc
configure:682: checking whether the C compiler (gcc  ) works
configure:698: gcc -o conftest    conftest.c  1>&5
configure:724: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:729: checking whether we are using GNU C
configure:757: checking whether gcc accepts -g
configure:791: checking for ranlib
configure:821: checking for flex
configure:855: checking for yywrap in -lfl
configure:901: checking for bison
configure:933: checking if compiler supports -R
configure:968: checking if compiler supports -Wl,-rpath,
configure:1046: checking for exp in -lm
configure:1090: checking how to run the C preprocessor
configure:1170: checking for ANSI C header files
configure:1275: checking for strcasecmp
configure:1324: checking for strncasecmp
configure:1373: checking for strdup
configure:1430: checking which version of GD to use...
configure:1610: checking for gdImageGif in -lgd
configure:1629: gcc -o conftest -g -O2   conftest.c -lgd   -lm  1>&5
configure:1650: checking for gdImageString16 in -lgd
configure:1669: gcc -o conftest -g -O2   conftest.c -lgd   -lm  1>&5
configure:1690: checking for gdImagePng in -lgd
configure:1709: gcc -o conftest -g -O2   conftest.c -lgd -lpng -lz  -lm
1>&5
/tmp/cc1svlmX.o: In function `main':
/home/danthony/tools/mapserver/ms33/configure:1705: undefined reference
to `gdImagePng'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1698 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gdImagePng();

int main() {
gdImagePng()
; return 0; }
configure:1791: checking whether we should include TIFF support...
configure:1942: checking for TIFFOpen in -ltiff
configure:1961: gcc -o conftest -g -O2   conftest.c -ltiff   -lm  1>&5
configure:2047: checking whether we should include JPEG support...
configure:2106: checking for jpeg_read_header in -ljpeg
configure:2125: gcc -o conftest -g -O2   conftest.c -ljpeg   -lm  1>&5
configure:2165: checking whether we should include EPPL7 support...
configure:2193: checking whether we should include Freetype (TTF)
support...
configure:2254: checking for TT_Init_FreeType in -lttf
configure:2273: gcc -o conftest -g -O2   conftest.c -lttf   -lm  1>&5
configure:2295: checking for freetype.h
configure:2328: checking for TT_Init_FreeType in -lttf
configure:2371: checking for the location of freetype.h
configure:2452: checking whether we should include PROJ.4 support...
configure:2574: checking whether we should include ESRI SDE support...
configure:2801: checking for PHP3/MapScript module options...

**************************
*** Tail end of Config output to screen

checking for gdImageGif in -lgd... yes
checking for gdImageString16 in -lgd... yes
checking for gdImagePng in -lgd... no
        using GD (-DUSE_GD_1_3) from system libs.
checking whether we should include TIFF support...
checking for TIFFOpen in -ltiff... yes
        using libtiff from system libs.
checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
        using libjpeg from system libs.
checking whether we should include EPPL7 support...
        including EPPL7 support.
checking whether we should include Freetype (TTF) support...
checking for TT_Init_FreeType in -lttf... yes
checking for freetype.h... (cached) no
checking for TT_Init_FreeType in -lttf... (cached) yes
checking for the location of freetype.h...
/usr/include/freetype/freetype.h
        using libttf from system libs.
checking whether we should include PROJ.4 support...
        PROJ.4 support not requested.
checking whether we should include ESRI SDE support...
        ESRI SDE support not requested.
Compiling with -DIGNORE_MISSING_DATA.
checking for PHP3/MapScript module options...
        PHP3/MapScript module not configured.
creating ./config.status
creating Makefile
creating gdft/Makefile








More information about the mapserver-users mailing list