[mapserver-users] Fwd: 3.6.1 compile problems

Steve Lime steve.lime@dnr.state.mn.us
Fri, 28 Jun 2002 09:20:15 -0500


Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Fri, 28 Jun 2002 07:41:43 -0500
Return-Path: <dsavolainen@visi.com>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Thu, 27 Jun 2002 22:01:42 -0500
Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2])
	by lists.gis.umn.edu (8.9.3+Sun/8.9.1) with ESMTP id WAA03745
	for <mapserver-bugs@lists.gis.umn.edu>; Thu, 27 Jun 2002 22:02:38 -0500 (CDT)
Received: from visi.com (dsavolainen.dsl.visi.com [209.98.145.144])
	by conn.mc.mpls.visi.com (Postfix) with ESMTP id 5A97B812B
	for <mapserver-bugs@lists.gis.umn.edu>; Thu, 27 Jun 2002 22:01:41 -0500 (CDT)
Sender: david@visi.com
Message-Id: <3D1BC168.B0DA725@visi.com>
Date: Thu, 27 Jun 2002 21:52:40 -0400
From: David Savolainen <dsavolainen@visi.com>
X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.18-6mdk i686)
X-Accept-Language: en
To: mapserver-bugs@lists.gis.umn.edu
Subject: 3.6.1 compile problems
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello all,
I apologize if this is not the proper forum to mention this.  However, I
did not get any response on the users list.  It seems like a bug to me,
but I could be wrong.  My problem is, I can't compile.  Mapserver 3.6.0
had the same problem.  I have not tried earlier versions.  As you can
see from the output file below, gcc is having problems finding input
files for the various object files.  What would cause this?  I am
running Mandrake 8.2.  I should have the latest and greatest make, libc,
etc.  Has anyone had problems with gcc 2.96 that comes with mandrake? 
Am I missing something fundamental?  Thanks for any help!

David Savolainen

[david@localhost mapserver-3.6.1]$ ./configure
--with-proj=/usr/local/lib --wit
-ogr=/usr/local/src/gdal-1.1.7 --with-gdal=/usr/local/lib
--with-wmsclient=/usr
lib --with-postgis=/usr/bin/
creating cache ./config.cache
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for c++... 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++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... flex
checking for yywrap in -lfl... 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 how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... 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 s
stem libs.
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.
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...
checking for pj_transform in -lproj... yes
checking for pj_latlong_from_proj in -lproj... yes
        using PROJ.4 from /usr/local/lib.
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...
        using OGR from /usr/local/src/gdal-1.1.7/ogr.
checking if GDAL support requested... yes, user supplied gdal-config
./configure: /usr/local/lib: is a directory
./configure: /usr/local/lib: is a directory
checking if PostGIS support requested... yes, user supplied pg_config
./configure: /usr/bin/: is a directory
./configure: /usr/bin/: is a directory
checking if OracleSpatial support requested... no
checking whether we should include WMS support...
        OGC WMS compatibility enabled (-DUSE_WMS).
checking whether we should include WMS Client Connections support...
Compiling with -DIGNORE_MISSING_DATA.
checking whether we should enable debug features...
checking for PHP/MapScript module options...
        PHP/MapScript module not configured.
updating cache ./config.cache
creating ./config.status
creating Makefile
[david@localhost mapserver-3.6.1]$ make
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ
-DUSE_PROJ_API_H
-DUSE_WMS   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUS
_GD_FT -DUSE_PDF  -DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS   -I/usr/include 
-I/usr/l
cal/lib       -I/usr/local/src/gdal-1.1.7/ogr/ogrsf_frmts
-I/usr/local/src/gdal
1.1.7/ogr -I/usr/local/src/gdal-1.1.7/ogr/../port  -I   maptemplate.c -o
maptem
late.o
gcc-2.96: No input files
make: *** [maptemplate.o] Error 1
[david@localhost mapserver-3.6.1]$