MyGIS support: how can activate it?
Daniele Margotti
margottid at COMUNE.LUGO.RA.IT
Mon Feb 7 04:41:08 PST 2005
Hi list,
I have installed, on a Linux Red Hat 9, mySQL 4.1.9 (which should have
spatial extensions) from these RPMs:
- MySQL-server-4.1.9-0.i386.rpm
- MySQL-Max-4.1.9-0.i386.rpm
- MySQL-client-4.1.9-0.i386.rpm
- MySQL-devel-4.1.9-0.i386.rpm
Then I have configured and compiled Mapserver 4.2.3 with these options:
./configure --mandir=/usr/local/share/man --with-mygis
--with-php=/usr/local/include/php/
--with-gdal=/usr/local/bin/gdal-config --with-ogr --with-proj
--with-wmsclient --with-wfsclient
(note please the --with-mygis option).
During configuration, I get these messages:
...
checking if MyGIS support requested... yes
checking for mysql_config... /usr/bin/mysql_config
yes, user supplied my_config
...
So, I think it found the right files for compilation.
During compilation, I get these messages:
...
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_LYR
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF -DUSE_OGR -DUSE_GDAL -DUSE_MYGIS
-I/usr/local/include -I/usr/local/include -I/usr/include/mysql
-mcpu=i486 -fno-strength-reduce -I/usr/local/include mapmygis.c -o
mapmygis.o
mapmygis.c: In function `prep_DB':
mapmygis.c:447: warning: assignment makes integer from pointer without a
cast
...
"mapmygis.o" gets compiled, but when I check my Mapserver executable I
can't see MYGIS as input source:
$ ./mapserv -v
MapServer version 4.2.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
How can I activate MYGIS support?
Thank you,
Daniele
More information about the MapServer-users
mailing list