[mapserver-users] mapserver 3.6 compile error
Referencia SA
Referencia SA" <georef@tnet.cl
Sun, 16 Jun 2002 21:37:10 -0500
Finally we have mapserver running. We didn't install gif support, only .png
installed.
We are playing with itasca demo, and have changed all .gif to .png
how ever we get the following error:
msLoadMap(): General error message. Undefined symbol "symbols/ctyhwy.png" in
class 0 of layer ctyrdln3_anno.
Can the symbols be .png or they must be .gif?
If above possible, how to avoid error?
Juanse
temuko-chile
----- Original Message -----
From: Stephen Woodbridge <woodbri@swoodbridge.com>
To: <topan@3wsi.com>
Cc: MapServer Users <mapserver-users@lists.gis.umn.edu>
Sent: Saturday, June 15, 2002 4:19 PM
Subject: Re: [mapserver-users] mapserver 3.6 compile error
>
>
> Topan wrote:
> >
> > need help on compiling mapserver 3.6
> > when i compile mapserver its always return error :
> >
> > cd mapscript/php3; make; cd ../..
> > make[1]: Entering directory
`/usr/local/src/mapserver-3.6.0/mapscript/php3'
> > cc cc -I. -I.. -fPIC -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS
>
> ^^^^^^ NOTICE the double cc, edit the Makefile and remove one!
>
> > -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_TIFF -DUSE_GD_PNG
> > -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG
> > -I/usr/local/src/mapserver-3.6.0 -I/usr/include -I/usr/include
>
-I/usr/include -I/usr/include -I/usr/local/src/mapserver-3.6.0/../php-4.2.
0/
> > -I/usr/local/src/mapserver-3.6.0/../php-4.2.0//dl
> > -I/usr/local/src/mapserver-3.6.0/../php-4.2.0//main
> > -I/usr/local/src/mapserver-3.6.0/../php-4.2.0//Zend
> > -I/usr/local/src/mapserver-3.6.0/../php-4.2.0//include
>
> -I/usr/local/src/mapserver-3.6.0/../php-4.2.0//TSRM -I/usr/include/apache-
1.3
> > -c -o php_mapscript_util.o php_mapscript_util.c
> > cc: cannot specify -o with -c or -S and multiple compilations
> > make[1]: *** [php_mapscript_util.o] Error 1
> > make[1]: Leaving directory
`/usr/local/src/mapserver-3.6.0/mapscript/php3'
> >
> > i use debian 2.4.12-686 , php-4.2.0, apache 1.3.24.
> >
> > php configured with :
> > ./configure --prefix=/usr --with-apxs=/usr/bin/apxs --with-regex=system
>
> --with-config-file-path=/etc/php4/apache --enable-dbase --with-png-dir=/us
r
> > --with-pgsql=/usr/local/pgsql --with-gd=/usr --with-freetype-dir=/usr
> > --enable-gd-native-ttf --with-zlib-dir=/usr/lib --with-jpeg-dir=/usr
> > --with-system-regex
> >
> > mapserver-3.6 configured with :
> > ./configure --with-tiff=/usr --with-jpeg=/usr --with-ttf=/usr
> > --with-php=../php-4.2.0/ --with-apxs=/usr/bin/apxs --with-gd=/usr
> > --with-zlib=/usr --with-png=/usr --with-proj=/usr --with-postgis=yes
> >
> > before this installation i was use php-4.0.6 and mapserver 3.5.
> >
> > topan