mapserver 4.2.2 compile problem on redhat as3

Aaron Steele asteele at BERKELEY.EDU
Fri Aug 13 03:22:17 EDT 2004


dear readers,

i'm running redhat enterprise as3 and cannot compile mapserver 4.2.2:

 > ./configure
--with-wfs
--with-wmsclient
--with-wfsclient
--with-proj=/usr/local/proj-4.4.8
--with-gdal=/usr/local/gdal-1.2.1/apps/gdal-config
--with-postgis=/usr/local/postgresql-7.4.3/contrib/postgis-0.8.2
--with-ogr=/usr/local/gdal-1.2.1/apps/gdal-config

 > make
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR   -DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS
-I/usr/local/include  -I/usr/local/proj-4.4.8/src
-I/usr/local/gdal-1.2.1/port -I/usr/local/gdal-1.2.1/gcore
-I/usr/local/gdal-1.2.1/alg -I/usr/local/gdal-1.2.1/ogr
-I/usr/local/gdal-1.2.1/ogr/ogrsf_frmts -I     maptemplate.c -o
maptemplate.o
gcc: no input files
make: *** [maptemplate.o] Error 1

any initial thoughts?

thanks,
aaron

ps - here's the config.log:

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

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

   $ ./configure --with-wfs --with-wmsclient --with-wfsclient
--with-proj=/usr/local/proj-4.4.8
--with-gdal=/usr/local/gdal-1.2.1/apps/gdal-config
--with-postgis=/usr/local/postgresql-7.4.3/contrib/postgis-0.8.2
--with-ogr=/usr/local/gdal-1.2.1/apps/gdal-config

## --------- ##
## Platform. ##
## --------- ##

hostname = wur-401-004
uname -m = i686
uname -r = 2.4.21-15.0.4.ELsmp
uname -s = Linux
uname -v = #1 SMP Sat Jul 31 01:25:25 EDT 2004

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/java/j2sdk1.4.2_04/bin
PATH: /usr/local/ant1.6.2/bin
PATH: /usr/local/pgsql/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1349: checking for gcc
configure:1365: found /usr/bin/gcc
configure:1375: result: gcc
configure:1619: checking for C compiler version
configure:1622: gcc --version </dev/null >&5
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

configure:1625: $? = 0
configure:1627: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
configure:1630: $? = 0
configure:1632: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1635: $? = 1
configure:1659: checking for C compiler default output
configure:1662: gcc    conftest.c  >&5
configure:1665: $? = 0
configure:1711: result: a.out
configure:1716: checking whether the C compiler works
configure:1722: ./a.out
configure:1725: $? = 0
configure:1742: result: yes
configure:1749: checking whether we are cross compiling
configure:1751: result: no
configure:1754: checking for suffix of executables
configure:1756: gcc -o conftest    conftest.c  >&5
configure:1759: $? = 0
configure:1784: result:
configure:1790: checking for suffix of object files
configure:1812: gcc -c   conftest.c >&5
configure:1815: $? = 0
configure:1837: result: o
configure:1841: checking whether we are using the GNU C compiler
configure:1866: gcc -c   conftest.c >&5
configure:1869: $? = 0
configure:1872: test -s conftest.o
configure:1875: $? = 0
configure:1888: result: yes
configure:1894: checking whether gcc accepts -g
configure:1916: gcc -c -g  conftest.c >&5
configure:1919: $? = 0
configure:1922: test -s conftest.o
configure:1925: $? = 0
configure:1936: result: yes
configure:1953: checking for gcc option to accept ANSI C
configure:2014: gcc  -c -g -O2  conftest.c >&5
configure:2017: $? = 0
configure:2020: test -s conftest.o
configure:2023: $? = 0
configure:2041: result: none needed
configure:2059: gcc -c -g -O2  conftest.c >&5
conftest.c:2: syntax error before "me"
configure:2062: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2223: checking for g++
configure:2239: found /usr/bin/g++
configure:2249: result: g++
configure:2265: checking for C++ compiler version
configure:2268: g++ --version </dev/null >&5
g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

configure:2271: $? = 0
configure:2273: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
configure:2276: $? = 0
configure:2278: g++ -V </dev/null >&5
g++: argument to `-V' missing

configure:2281: $? = 1
configure:2284: checking whether we are using the GNU C++ compiler
configure:2309: g++ -c   conftest.cc >&5
configure:2312: $? = 0
configure:2315: test -s conftest.o
configure:2318: $? = 0
configure:2331: result: yes
configure:2337: checking whether g++ accepts -g
configure:2359: g++ -c -g  conftest.cc >&5
configure:2362: $? = 0
configure:2365: test -s conftest.o
configure:2368: $? = 0
configure:2379: result: yes
configure:2423: g++ -c -g -O2  conftest.cc >&5
configure:2426: $? = 0
configure:2429: test -s conftest.o
configure:2432: $? = 0
configure:2459: g++ -c -g -O2  conftest.cc >&5
configure: In function `int main()':
configure:2454: `exit' undeclared (first use this function)
configure:2454: (Each undeclared identifier is reported only once for
each
    function it appears in.)
configure:2462: $? = 1
configure: failed program was:
| #line 2442 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:2423: g++ -c -g -O2  conftest.cc >&5
configure:2426: $? = 0
configure:2429: test -s conftest.o
configure:2432: $? = 0
configure:2459: g++ -c -g -O2  conftest.cc >&5
configure:2462: $? = 0
configure:2465: test -s conftest.o
configure:2468: $? = 0
configure:2532: checking for ranlib
configure:2548: found /usr/bin/ranlib
configure:2559: result: ranlib
configure:2576: checking for flex
configure:2592: found /usr/bin/flex
configure:2602: result: flex
configure:2615: checking for yywrap in -lfl
configure:2646: gcc -o conftest -g -O2   conftest.c -lfl   >&5
configure:2649: $? = 0
configure:2652: test -s conftest
configure:2655: $? = 0
configure:2667: result: yes
configure:2735: checking lex output file root
configure:2746: flex conftest.l
configure:2749: $? = 0
configure:2761: result: lex.yy
configure:2766: checking whether yytext is a pointer
configure:2782: gcc -o conftest -g -O2   conftest.c  -lfl >&5
configure:2785: $? = 0
configure:2788: test -s conftest
configure:2791: $? = 0
configure:2804: result: yes
configure:2819: checking for bison
configure:2835: found /usr/bin/bison
configure:2845: result: bison -y
configure:2857: checking if compiler supports -R
configure:2882: gcc -o conftest -g -O2   conftest.c -R /usr/lib  >&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure:2885: $? = 1
configure: failed program was:
| #line 2865 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2904: result: no
configure:2911: checking if compiler supports -Wl,-rpath,
configure:2936: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib
  >&5
configure:2939: $? = 0
configure:2942: test -s conftest
configure:2945: $? = 0
configure:2958: result: yes
configure:3027: checking for exp in -lm
configure:3058: gcc -o conftest -g -O2   conftest.c -lm   >&5
configure:3061: $? = 0
configure:3064: test -s conftest
configure:3067: $? = 0
configure:3079: result: yes
configure:3088: checking for __gxx_personality_v0 in -lstdc++
configure:3119: gcc -o conftest -g -O2   conftest.c -lstdc++   >&5
configure:3122: $? = 0
configure:3125: test -s conftest
configure:3128: $? = 0
configure:3140: result: yes
configure:3156: checking how to run the C preprocessor
configure:3192: gcc -E  conftest.c
configure:3198: $? = 0
configure:3230: gcc -E  conftest.c
configure:3233:28: ac_nonexistent.h: No such file or directory
configure:3236: $? = 1
configure: failed program was:
| #line 3221 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3274: result: gcc -E
configure:3299: gcc -E  conftest.c
configure:3305: $? = 0
configure:3337: gcc -E  conftest.c
configure:3340:28: ac_nonexistent.h: No such file or directory
configure:3343: $? = 1
configure: failed program was:
| #line 3328 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3386: checking for egrep
configure:3396: result: grep -E
configure:3401: checking for ANSI C header files
configure:3427: gcc -c -g -O2  conftest.c >&5
configure:3430: $? = 0
configure:3433: test -s conftest.o
configure:3436: $? = 0
configure:3525: gcc -o conftest -g -O2   conftest.c  -lm -lstdc++  >&5
configure:3528: $? = 0
configure:3530: ./conftest
configure:3533: $? = 0
configure:3548: result: yes
configure:3559: checking for strcasecmp
configure:3609: gcc -o conftest -g -O2   conftest.c  -lm -lstdc++  >&5
configure:3612: $? = 0
configure:3615: test -s conftest
configure:3618: $? = 0
configure:3629: result: yes
configure:3637: checking for strncasecmp
configure:3687: gcc -o conftest -g -O2   conftest.c  -lm -lstdc++  >&5
configure:3690: $? = 0
configure:3693: test -s conftest
configure:3696: $? = 0
configure:3707: result: yes
configure:3715: checking for strdup
configure:3765: gcc -o conftest -g -O2   conftest.c  -lm -lstdc++  >&5
configure:3768: $? = 0
configure:3771: test -s conftest
configure:3774: $? = 0
configure:3785: result: yes
configure:3793: checking for strlcat
configure:3843: gcc -o conftest -g -O2   conftest.c  -lm -lstdc++  >&5
/tmp/ccMx6seh.o(.text+0x11): In function `main':
/usr/local/mapserver4.2.2/configure:3843: undefined reference to
`strlcat'
/tmp/ccMx6seh.o(.data+0x0):/usr/local/mapserver4.2.2/configure:3842:
undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure:3846: $? = 1
configure: failed program was:
| #line 3798 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strlcat (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char strlcat ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_strlcat) || defined (__stub___strlcat)
| choke me
| #else
| char (*f) () = strlcat;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != strlcat;
|   ;
|   return 0;
| }
configure:3863: result: no
configure:3895: checking where FreeType 2.x is installed......
configure:4013: checking for FT_Init_FreeType in -lfreetype
configure:4044: gcc -o conftest -g -O2   conftest.c -lfreetype   -lm
-lstdc++  >&5
configure:4047: $? = 0
configure:4050: test -s conftest
configure:4053: $? = 0
configure:4065: result: yes
configure:4073: result:         using libfreetype -lfreetype from
system libs.
configure:4101: checking where Zlib is installed......
configure:4140: checking for zlibVersion in -lz
configure:4171: gcc -o conftest -g -O2   conftest.c -lz   -lm -lstdc++
 >&5
configure:4174: $? = 0
configure:4177: test -s conftest
configure:4180: $? = 0
configure:4192: result: yes
configure:4200: result:         using libz from system libs.
configure:4229: checking where PNG is installed......
configure:4268: checking for png_init_io in -lpng
configure:4299: gcc -o conftest -g -O2   conftest.c -lpng -lz  -lm
-lstdc++  >&5
configure:4302: $? = 0
configure:4305: test -s conftest
configure:4308: $? = 0
configure:4320: result: yes
configure:4328: result:         using libpng from system libs.
configure:4340: checking whether we should include JPEG support......
configure:4488: checking for jpeg_read_header in -ljpeg
configure:4519: gcc -o conftest -g -O2   conftest.c -ljpeg   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
configure:4522: $? = 1
configure: failed program was:
| #line 4495 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char jpeg_read_header ();
| int
| main ()
| {
| jpeg_read_header ();
|   ;
|   return 0;
| }
configure:4540: result: no
configure:4552: result:         libjpeg not found. JPEG support not
included, possibly needed for GD.
configure:4586: checking where libXpm is installed......
configure:4625: checking for XpmFreeXpmImage in -lXpm
configure:4656: gcc -o conftest -g -O2   conftest.c -lXpm -lX11  -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status
configure:4659: $? = 1
configure: failed program was:
| #line 4632 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char XpmFreeXpmImage ();
| int
| main ()
| {
| XpmFreeXpmImage ();
|   ;
|   return 0;
| }
configure:4677: result: no
configure:4688: result:         XPM (libXpm) library cannot be found,
possibly needed for GD
configure:4716: checking where libiconv is installed......
configure:4755: checking for libiconv_open in -liconv
configure:4786: gcc -o conftest -g -O2   conftest.c -liconv   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
configure:4789: $? = 1
configure: failed program was:
| #line 4762 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char libiconv_open ();
| int
| main ()
| {
| libiconv_open ();
|   ;
|   return 0;
| }
configure:4807: result: no
configure:4818: result:         libiconv library cannot be found,
possibly needed for GD
configure:4854: checking for GD 2.0.12 or higher......
configure:5067: checking for gdImageSetAntiAliased in -lgd
configure:5098: gcc -o conftest -g -O2   conftest.c -lgd  -lfreetype
-lpng -lz   -lm -lstdc++  >&5
configure:5101: $? = 0
configure:5104: test -s conftest
configure:5107: $? = 0
configure:5119: result: yes
configure:5067: checking for gdImageSetAntiAliased in -lgd
configure:5119: result: yes
configure:5195: result:         using libgd 2.0.12 (or higher) from
system libs (-L/usr/local/lib -lgd  -lfreetype -lpng -lz  ).
configure:5610: checking for gdImageCreate in -lgd
configure:5641: gcc -o conftest -g -O2   conftest.c -lgd  -lfreetype
-lpng -lz    -lm -lstdc++  >&5
configure:5644: $? = 0
configure:5647: test -s conftest
configure:5650: $? = 0
configure:5662: result: yes
configure:5674: checking for gdImageGif in -lgd
configure:5705: gcc -o conftest -g -O2   conftest.c -lgd
-L/usr/local/lib -lgd  -lfreetype -lpng -lz    -lm -lstdc++  >&5
configure:5708: $? = 0
configure:5711: test -s conftest
configure:5714: $? = 0
configure:5726: result: yes
configure:5732: checking for gdImagePng in -lgd
configure:5763: gcc -o conftest -g -O2   conftest.c -lgd
-L/usr/local/lib -lgd  -lfreetype -lpng -lz    -lm -lstdc++  >&5
configure:5766: $? = 0
configure:5769: test -s conftest
configure:5772: $? = 0
configure:5784: result: yes
configure:5790: checking for gdImageJpeg in -lgd
configure:5821: gcc -o conftest -g -O2   conftest.c -lgd
-L/usr/local/lib -lgd  -lfreetype -lpng -lz    -lm -lstdc++  >&5
/tmp/ccm2xPK9.o(.text+0xa): In function `main':
/usr/local/mapserver4.2.2/configure:5821: undefined reference to
`gdImageJpeg'
collect2: ld returned 1 exit status
configure:5824: $? = 1
configure: failed program was:
| #line 5797 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gdImageJpeg ();
| int
| main ()
| {
| gdImageJpeg ();
|   ;
|   return 0;
| }
configure:5842: result: no
configure:5848: checking for gdImageWBMP in -lgd
configure:5879: gcc -o conftest -g -O2   conftest.c -lgd
-L/usr/local/lib -lgd  -lfreetype -lpng -lz    -lm -lstdc++  >&5
configure:5882: $? = 0
configure:5885: test -s conftest
configure:5888: $? = 0
configure:5900: result: yes
configure:5907: checking for gdImageStringFT in -lgd
configure:5938: gcc -o conftest -g -O2   conftest.c -lgd
-L/usr/local/lib -lgd  -lfreetype -lpng -lz    -lm -lstdc++  >&5
configure:5941: $? = 0
configure:5944: test -s conftest
configure:5947: $? = 0
configure:5959: result: yes
configure:5966: checking for gdImageGifPtr in -lgd
configure:5997: gcc -o conftest -g -O2   conftest.c -lgd
-L/usr/local/lib -lgd  -lfreetype -lpng -lz    -lm -lstdc++  >&5
configure:6000: $? = 0
configure:6003: test -s conftest
configure:6006: $? = 0
configure:6018: result: yes
configure:6027: result:         using GD ( -DUSE_GD_GIF -DUSE_GD_PNG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from system libs.
configure:6064: checking whether we should include PDF support......
configure:6137: checking for PDF_setlinewidth in -lpdf
configure:6168: gcc -o conftest -g -O2   conftest.c -lpdf   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -lpdf
collect2: ld returned 1 exit status
configure:6171: $? = 1
configure: failed program was:
| #line 6144 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char PDF_setlinewidth ();
| int
| main ()
| {
| PDF_setlinewidth ();
|   ;
|   return 0;
| }
configure:6189: result: no
configure:6195: checking for PDF_setrgbcolor in -lpdf
configure:6226: gcc -o conftest -g -O2   conftest.c -lpdf   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -lpdf
collect2: ld returned 1 exit status
configure:6229: $? = 1
configure: failed program was:
| #line 6202 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char PDF_setrgbcolor ();
| int
| main ()
| {
| PDF_setrgbcolor ();
|   ;
|   return 0;
| }
configure:6247: result: no
configure:6253: checking for PDF_moveto in -lpdf
configure:6284: gcc -o conftest -g -O2   conftest.c -lpdf   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -lpdf
collect2: ld returned 1 exit status
configure:6287: $? = 1
configure: failed program was:
| #line 6260 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char PDF_moveto ();
| int
| main ()
| {
| PDF_moveto ();
|   ;
|   return 0;
| }
configure:6305: result: no
configure:6311: checking for PDF_curveto in -lpdf
configure:6342: gcc -o conftest -g -O2   conftest.c -lpdf   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -lpdf
collect2: ld returned 1 exit status
configure:6345: $? = 1
configure: failed program was:
| #line 6318 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char PDF_curveto ();
| int
| main ()
| {
| PDF_curveto ();
|   ;
|   return 0;
| }
configure:6363: result: no
configure:6369: checking for PDF_show_xy in -lpdf
configure:6400: gcc -o conftest -g -O2   conftest.c -lpdf   -lm
-lstdc++  >&5
/usr/bin/ld: cannot find -lpdf
collect2: ld returned 1 exit status
configure:6403: $? = 1
configure: failed program was:
| #line 6376 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char PDF_show_xy ();
| int
| main ()
| {
| PDF_show_xy ();
|   ;
|   return 0;
| }
configure:6421: result: no
configure:6432: result:         libpdf not found... PDF support not
included.
configure:6454: checking whether we should include EPPL7 support......
configure:6470: result:         including EPPL7 support.
configure:6487: checking whether we should include PROJ.4 support......
configure:6745: checking for pj_transform in -lproj
configure:6776: gcc -o conftest -g -O2   conftest.c -lproj
-L/usr/local/proj-4.4.8/src/.libs -lproj  -lm -lstdc++  >&5
configure:6779: $? = 0
configure:6782: test -s conftest
configure:6785: $? = 0
configure:6797: result: yes
configure:6805: checking for pj_latlong_from_proj in -lproj
configure:6836: gcc -o conftest -g -O2   conftest.c -lproj
-L/usr/local/proj-4.4.8/src/.libs -lproj  -lm -lstdc++  >&5
configure:6839: $? = 0
configure:6842: test -s conftest
configure:6845: $? = 0
configure:6857: result: yes
configure:6872: result:         using PROJ.4 from /usr/local/proj-4.4.8.
configure:6900: checking whether we should include thread safe
support......
configure:6989: result:         thread safe support disabled.
configure:7002: checking whether we should include ESRI SDE
support......
configure:7462: result:         ESRI SDE support not requested.
configure:7478: checking whether we should compile in MPATROL
support......
configure:7611: result:         MPATROL support not requested.
configure:7627: checking whether we should include OGR support......
configure:7694: result:         OGR enabled (-DUSE_OGR).
configure:7708: checking if GDAL support requested
configure:7783: result: yes, user supplied gdal-config
(/usr/local/gdal-1.2.1/apps/gdal-config)
configure:7841: checking whether we should include TIFF support......
configure:7850: result:         disabled since gdal is in use
configure:8002: checking if PostGIS support requested
configure:8068: result: yes, user supplied pg_config
configure:8087: checking if MyGIS support requested
configure:8098: result: no
configure:8175: checking if OracleSpatial support requested
configure:8185: result: no
configure:8227: checking if MING/Flash support requested
configure:8237: result: no
configure:8268: checking whether we should include WMS Server
support......
configure:8290: result:         OGC WMS compatibility enabled
(-DUSE_WMS_SVR).
configure:8302: checking whether we should include WFS Server
support......
configure:8331: result:         OGC WFS Server support enabled
(-DUSE_WFS_SVR).
configure:8343: checking whether we should include WMS Client
Connections support......
configure:8369: checking whether we should include WFS Client
Connections support......
configure:8395: checking for curl-config...
configure:8413: checking for curl-config
configure:8431: found /usr/bin/curl-config
configure:8444: result: /usr/bin/curl-config
configure:8462: result:         found libcurl version 7.10.6
configure:8473: result:         OGC WMS Client Connections enabled
(-DUSE_WMS_LYR).
configure:8479: result:         OGC WFS Client Connections enabled
(-DUSE_WFS_LYR).
configure:8503: checking HTTPD server (Apache) version...
configure:8539: checking for httpd
configure:8558: found /usr/sbin/httpd
configure:8571: result: /usr/sbin/httpd
configure:8587: result:         /usr/sbin/httpd version is
Apache/2.0.46 (2000046).
configure:8635: result: Compiling with -DIGNORE_MISSING_DATA.
configure:8643: checking whether we should enable debug features......
configure:8723: checking for PHP/MapScript module options......
configure:9040: result:         PHP/MapScript module not configured.
configure:9299: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.57.  Invocation command line was

   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   $ ./config.status

on wur-401-004

config.status:691: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_strcasecmp=yes
ac_cv_func_strdup=yes
ac_cv_func_strlcat=no
ac_cv_func_strncasecmp=yes
ac_cv_header_stdc=yes
ac_cv_lib_Xpm_XpmFreeXpmImage=no
ac_cv_lib_fl_yywrap=yes
ac_cv_lib_freetype_FT_Init_FreeType=yes
ac_cv_lib_gd_gdImageCreate=yes
ac_cv_lib_gd_gdImageGif=yes
ac_cv_lib_gd_gdImageGifPtr=yes
ac_cv_lib_gd_gdImageJpeg=no
ac_cv_lib_gd_gdImagePng=yes
ac_cv_lib_gd_gdImageSetAntiAliased=yes
ac_cv_lib_gd_gdImageStringFT=yes
ac_cv_lib_gd_gdImageWBMP=yes
ac_cv_lib_iconv_libiconv_open=no
ac_cv_lib_jpeg_jpeg_read_header=no
ac_cv_lib_m_exp=yes
ac_cv_lib_pdf_PDF_curveto=no
ac_cv_lib_pdf_PDF_moveto=no
ac_cv_lib_pdf_PDF_setlinewidth=no
ac_cv_lib_pdf_PDF_setrgbcolor=no
ac_cv_lib_pdf_PDF_show_xy=no
ac_cv_lib_png_png_init_io=yes
ac_cv_lib_proj_pj_latlong_from_proj=yes
ac_cv_lib_proj_pj_transform=yes
ac_cv_lib_stdcpp___gxx_personality_v0=yes
ac_cv_lib_z_zlibVersion=yes
ac_cv_objext=o
ac_cv_path_HTTPD=/usr/sbin/httpd
ac_cv_path_LIBCURL_CONFIG=/usr/bin/curl-config
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_LEX=flex
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_lex_root=lex.yy
ac_cv_prog_lex_yytext_pointer=yes
php_cv_cc_dashr=no
php_cv_cc_rpath=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALL_ENABLED=' -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_WFS_SVR -DUSE_WMS_SVR
  -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR    -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_EPPL   -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR '
ALL_INC='    -I  -I/usr/local/gdal-1.2.1/port
-I/usr/local/gdal-1.2.1/gcore -I/usr/local/gdal-1.2.1/alg
-I/usr/local/gdal-1.2.1/ogr -I/usr/local/gdal-1.2.1/ogr/ogrsf_frmts
-I/usr/local/proj-4.4.8/src  -I/usr/local/include '
ALL_LIB='-lcurl -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/kerberos/lib -lz -lssl
-lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto
-lresolv -ldl -lz -lz    -L -lpq   -lfreetype -lpng -lz
/usr/local/gdal-1.2.1/libgdal.la    -L/usr/local/proj-4.4.8/src/.libs
-lproj  -lgd -L/usr/local/lib -lgd  -lfreetype -lpng -lz   '
ALL_STATIC_LIB=' '
APACHE_INC=''
CC='gcc'
CFLAGS='-O2  -Wall'
CPP='gcc -E'
CPPFLAGS=''
CURL_INC=''
CURL_LIB='-lcurl -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5
-lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/kerberos/lib -lz
-lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto
-lresolv -ldl -lz -lz'
CXX='g++'
CXXFLAGS='-O2  -Wall'
CXX_WFLAGS='-Wall'
C_PIC=''
C_WFLAGS='-Wall'
DEBUG_FLAGS=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1
-DSTDC_HEADERS=1 -DUSE_GNUCC=1 -DUSE_GNUCC=1 '
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EPPL_ENABLED='-DUSE_EPPL'
EPPL_OBJ='epplib.o'
EXEEXT=''
FT_BIN=''
GDAL_CONFIG='/usr/local/gdal-1.2.1/apps/gdal-config'
GDAL_ENABLED='-DUSE_GDAL'
GDAL_INC='-I/usr/local/gdal-1.2.1/port -I/usr/local/gdal-1.2.1/gcore
-I/usr/local/gdal-1.2.1/alg -I/usr/local/gdal-1.2.1/ogr
-I/usr/local/gdal-1.2.1/ogr/ogrsf_frmts'
GDAL_LIB='/usr/local/gdal-1.2.1/libgdal.la'
GD_DEF=' -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR'
GD_INC='-I/usr/local/include'
GD_LIB='-lgd -L/usr/local/lib -lgd  -lfreetype -lpng -lz  '
GD_STATIC=''
HTTPD='/usr/sbin/httpd'
IGNORE_MISSING_DATA='-DIGNORE_MISSING_DATA'
JPEG_ENABLED=''
JPEG_INC=''
JPEG_LIB=''
LDFLAGS=''
LD_SHARED=''
LEX='flex'
LEXLIB='-lfl'
LEX_OUTPUT_ROOT='lex.yy'
LIBCURL_CONFIG='/usr/bin/curl-config'
LIBOBJS=''
LIBS=' -lm -lstdc++ '
LTLIBOBJS=''
MAKE_GD=''
MAKE_GD_CLEAN=''
MAKE_PHPMS=''
MAKE_PHPMS_CLEAN=''
MING_ENABLED=''
MING_INC=''
MING_LIB=''
MPATROL_ENABLED=''
MPATROL_INC=''
MPATROL_LIB=''
MS_INC='-I/usr/local/mapserver4.2.2'
MS_LIB='-L/usr/local/mapserver4.2.2 -lmap'
MYGIS_ENABLED=''
MYGIS_INC=''
MYGIS_LIB=''
MY_CONFIG='no'
OBJEXT='o'
OGR_ENABLED='-DUSE_OGR'
ORACLESPATIAL_ENABLED=''
ORACLESPATIAL_INC=''
ORACLESPATIAL_LIB=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PDF_ENABLED=''
PDF_INC=''
PDF_LIB=''
PDF_OBJ=''
PG_CONFIG='/usr/local/postgresql-7.4.3/contrib/postgis-0.8.2'
PHP_CC=''
PHP_LD=''
PHP_REGEX_INC=''
PHP_REGEX_OBJ=''
PHP_SRC_DIR=''
PHP_VERSION_FLAG=''
POSTGIS_ENABLED='-DUSE_POSTGIS'
POSTGIS_INC='-I'
POSTGIS_LIB='-L -lpq'
PROJ_ENABLED='-DUSE_PROJ -DUSE_PROJ_API_H'
PROJ_INC='-I/usr/local/proj-4.4.8/src'
PROJ_LIB='-L/usr/local/proj-4.4.8/src/.libs -lproj'
RANLIB='ranlib'
RPATHS=''
SDE_ENABLED=''
SDE_INC=''
SDE_LIB=''
SHELL='/bin/sh'
SO_EXT=''
STRINGS='-DNEED_STRLCAT '
THREAD_FLAG=''
THREAD_LIB=''
TIFF_ENABLED=''
TIFF_INC=''
TIFF_LIB='  -lfreetype -lpng -lz  '
WFS_LYR_ENABLED='-DUSE_WFS_LYR'
WFS_SVR_ENABLED='-DUSE_WFS_SVR'
WMS_LYR_ENABLED='-DUSE_WMS_LYR'
WMS_SVR_ENABLED='-DUSE_WMS_SVR'
XTRALIBS=' -lm -lstdc++'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_RANLIB='ranlib'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define USE_GNUCC 1
#define USE_GNUCC 1
#define YYTEXT_POINTER 1
#endif
#ifdef __cplusplus
#include <stdlib.h>

configure: exit 0
</config.log>



More information about the mapserver-users mailing list