[Mapserver-users] cygwin compilation question

Brandon Plasters bplasters2 at ducks.org
Thu Feb 13 17:27:29 EST 2003


--=_CB94B4CA.264735C2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

I'm running cygwin on win2000 in hopes to compile mapserv for a unix =
server (red hat linux). I was successful in compiling using the "make" =
method, but when i uploaded (ascii)  mapserv to the unix server it gave me =
this error log:

Premature end of script headers: /usr/local/.../cgi-bin/mapserv.exe

I assume that i need to cross-compile mapserv to work for the unix server =
using cmake or ccmake, but i'm unsuccessful at doing this method. My =
output reads:

CMake Error: Error: source : /usr/bin/mapserver_3.5/CMakeLists.txt
Does not match source used to generate cache:
/usr/bin/mapserver_3.5/CMakeLists.txt
Re-run cmake with a different source directory.

in the first place, is this the correct method to cross-compile? Secondly, =
if ccmake is the correct method, what is wrong with this picture? I =
appreciate you for your time, and thank you.


Brandon Plasters
Graphic Design Intern
734.623.2033
Great Lakes/Atlantic Regional Office
Ducks Unlimited Inc.

--=_CB94B4CA.264735C2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN-TOP: 2px; FONT: 8pt Microsoft Sans Serif; MARGIN-LEFT=
: 2px">
<DIV><FONT size=3D1>Hello,</FONT></DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT size=3D1>I'm running cygwin on win2000 in hopes to compile =
mapserv for=20
a unix server (red hat linux). I was successful in compiling using the =
"make"=20
method, but when i uploaded (ascii) &nbsp;mapserv to the unix server it =
gave me=20
this error log:</FONT></DIV>
<DIV><FONT size=3D1></FONT>&nbsp;</DIV>
<DIV>Premature end of script headers: /usr/local/.../cgi-bin/mapserv.exe</D=
IV>
<DIV>&nbsp;</DIV>
<DIV>I assume that i need to cross-compile mapserv to work for the unix =
server=20
using cmake or ccmake, but i'm unsuccessful at doing this method. My =
output=20
reads:</DIV>
<DIV>&nbsp;</DIV>
<DIV>CMake Error: Error: source : /usr/bin/mapserver_3.5/CMakeLists.txt<BR>=
Does=20
not match source used to generate=20
cache:<BR>/usr/bin/mapserver_3.5/CMakeLists.txt<BR>Re-run cmake with a =
different=20
source directory.<BR></DIV>
<DIV>in the first place, is this the correct method to cross-compile? =
Secondly,=20
if ccmake is the correct method, what is wrong with this picture? I =
appreciate=20
you for your time, and thank you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Brandon Plasters<BR>Graphic Design Intern<BR>734.623.2033<BR>Great=20
Lakes/Atlantic Regional Office<BR>Ducks Unlimited Inc.</DIV></BODY></HTML>

--=_CB94B4CA.264735C2--



More information about the mapserver-users mailing list