[Mapserver-dev] Problem with 4.2.0 Distribution
Pericles S. Nacionales
nacional at cbs.umn.edu
Thu Jul 8 14:29:52 EDT 2004
David,
You can download flex and bison for win32 at
http://sourceforge.net/projects/gnuwin32/. There are self-extracting
binary packages for both. You might have to edit your system path to
include the directory where you installed these programs (probably
C:\Program Files\GNUWin32\bin).
Or, if you have MinGW or Cygwin, you can also use flex and bison from
those systems to generate the mapparser and maplexer files.
Cheers!
-Perry
On Thu, 2004-07-08 at 12:40, David W. Graham wrote:
> Maybe this is a bug, maybe not. But I was hoping to get a solution
> quickly.
>
> I am trying to compile the MapServer on Win32. The problem seems to
> be in the mapparser build system. If I understand it right
> mapparser.h is generated by the FLEX compiler using mapparser.y and
> mapparser.l. This is useful if you want to change/add tokens to the
> mapfile. But frankly I don't have this tool installed and I don't
> particularly want to. I have no need to edit the tokens. I have
> spent the entire morning working on getting together updated versions
> of all of the libraries so I could build mapscript. Could someone
> just send me a precompiled "mapparser.h" file?
>
> I am sorry if I sound frustrated, I have been working on C# MapScript
> and things are going well, but slow. In about a half of an hour I had
> downloaded SWIG, created all the mapscript objects and fixed them to
> compile in C#. All I needed to do to make things run was add
> mapscript_wrap.c to the contents of maplib.dll to make a new
> mapscript.dll. Well 4 hours later I still don't have a working
> compilation of mapserver.
>
> I think if I could get a mapparser.h file I would be on my way. Is it
> possible to get this put in the distribution for us Windows people?
>
> Dave Graham
>
--
"He's no geek.His tan's too good." -Benjamin Choate
More information about the mapserver-dev
mailing list