[Mapserver-users] Error when compiling mapserver in win32.

Swaminathan, Gayathri gayathri at ou.edu
Fri Feb 7 12:38:33 EST 2003


Hi:

I do have the regex from ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz
and my Makefile.vc looks like this,

#REGEX_OBJ=.\regex-0.12\regex.obj
REGEX_INC=-I../regex-0.12

and PHP REGEX looks as follows:

#
# IMPORTANT NOTE ABOUT REGEX FOR PHP_MAPSCRIPT USERS:
#
# If you want to compile the PHP_MAPSCRIPT module, then you have to make
# MapServer uses the same version of the REGEX library that PHP was 
# compiled with:
#
#PHP_REGEX=..\php-3.0.14\regex
#PHP_REGEX=..\php-4.0.6\regex
#PHP_REGEX=..\php-4.1.2\regex
#PHP_REGEX=..\php-4.2.1\regex
#PHP_REGEX=..\php-4.2.2\regex
#REGEX_OBJ=$(PHP_REGEX)\regcomp.obj $(PHP_REGEX)\regerror.obj \
#          $(PHP_REGEX)\regexec.obj $(PHP_REGEX)\regfree.obj
#REGEX_INC=-I$(PHP_REGEX) -DPHP_NO_ALIASES

#
# REGEX needs some special flags... here they are for VC++ 6.0
#
REGEX_OPT=-DHAVE_STRING_H -DREGEX_MALLOC

Am still getting errors though, any lead?
Thanks,
Gayathri

-----Original Message-----
From: Norman Vine [mailto:nhv at cape.com]
Sent: Friday, February 07, 2003 9:40 AM
To: Swaminathan, Gayathri; mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Error when compiling mapserver in win32.



----- Original Message ----- 
From: "Swaminathan, Gayathri" <gayathri at ou.edu>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Friday, February 07, 2003 12:21 PM
Subject: [Mapserver-users] Error when compiling mapserver in win32.


> Hi:
> I am getting the following errors when trying to compile mapserver 3.6.3
> without any OGR / TIFF ,
> looks like a problem with REGEX.,
> 
> Can anyone tell me how to resolve this?

see required libraries section @
http://mapserver.gis.umn.edu/doc36/win32_compile-howto.html#download

Norman



More information about the mapserver-users mailing list