mapserver 4.2.2 compile problem on redhat as3

Aaron Steele asteele at BERKELEY.EDU
Fri Aug 13 10:21:21 PDT 2004


hi daryl,

yes, that was the culprit. the following change to my configure
invocation satisfied the compile:

--with-postgis=/usr/local/pgsql/bin/pg_config

thanks,
aaron

On Aug 13, 2004, at 12:41 AM, Daryl Herzmann wrote:

> Hi Aaron,
>
> On Fri, 13 Aug 2004, Aaron Steele wrote:
>
>> 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
>
> I am not sure that your --with-postgis is correct.  I think it should
> point to the location of pg_config, for example
>
> --with-postgis=/usr/local/postgresql-7.4.3/bin/pg_config
>
> If pg_config is not found, you wind up with a blank include in the
> Makefile and hence this error
>
> 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
>
>
> Notice the blank after the last '-I'
>
> HTH,
>  daryl
>



More information about the MapServer-users mailing list