[GRASSLIST:10021] Error using "make" for installing GRASS Mapserver-4.6.2

Siddhesh Bhatkar sid_grass at yahoo.com
Fri Jan 27 04:04:15 EST 2006


Hello Everyone,
I am getting errors while using the "make" command for
mapserver-4.6.2 with GRASS installation. 
In file included from maperror.c:70:
/usr/local/include/gdfonts.h:26: error: syntax error
before "gdFontPtr"
/usr/local/include/gdfonts.h:27: error: parse error
before "gdFontGetSmall"


Following are the steps i carried out before
installing the GRASS mapserver.



1. Installed gd-2.0.33.tar.gz Successfully

     tar xvfz gd-2.0.33.tar.gz
     cd gd-2.0.33
     ./configure --with-png=/usr/local/lib
     --with-freetype=/usr/local/lib   
     --with-jpeg=/usr/lib
--with-libiconv-prefix=/usr/local/lib
     make
     su
     make install


2. Installed gdal-1.3.1.tar.gz  Successfully

     tar xvfz  gdal-1.3.1.tar.gz
     cd gdal-1.3.1
     ./configure --without-hdf4
     make
     su
     make install


3. Installed grass-6.0.0  Successfully

    ./configure --prefix=/home/bnagesh 
    --bindir=/home/bnagesh/bin 
    --with-postgres-includes=/usr/include/pgsql 
    --without-odbc --without-fftw
     make
     su
     make install


4. Installed  gdal-grass-1.3.1.1.tar.gz  Successfully
     tar xvfz gdal-grass-1.3.1.1.tar.gz
     cd gdal-grass-1.3.1
     ./configure
--with-gdal=/usr/local/bin/gdal-config 
     --with-grass=/home/bnagesh/grass-6.0.0
     make
     su
     make install


5.  Error while using "make" for mapserver-4.6.2
    tar xvfz mapserver-4.6.2.tar.gz
    cd mapserver-4.6.2
   ./configure  --with-proj  --with-ogr 
   --with-gdal=/usr/local/bin/gdal-config
   --with-gd=/usr/lib  --with-png=/usr/local/lib
    make 



   USE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP 
-DGD_HAS_GDIMAGEGIFPTR
   -DGD_HAS_GETBITMAPFONTS  -DUSE_OGR -DUSE_GDAL 
-DUSE_ICONV 
  -DUSE_ZLIB -I/usr/lib -I/usr/local/include  
maperror.c -o maperror.o
    In file included from maperror.c:70:
   /usr/local/include/gdfonts.h:26: error: syntax
error before "gdFontPtr"
 /usr/local/include/gdfonts.h:27: error: parse error
before "gdFontGetSmall"

 
 Kindly have a look at these errors and give me any
suggestions on  how to remove these errors.
Thanking All In Advance

Siddhesh.


  


   

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the grass-user mailing list