[Mapserver-users] Easy Question - PC to Unix
Mark Rodrigo
mark at markrodrigo.com
Mon Feb 24 10:15:09 PST 2003
Thanks for the responses. I think I will go with the dual boot Linux
solution depending on how the following is answered:
Is there any reason why I could not develop on my Windows machine (Compile
with MSVC++), get all my scripting going on the client side and server side
and then do the Unix compile and upload? i.e. are there differences in the
components for windows/unix? I do see any.
I hope that is clear enough
Thanks Vinko/Frank.
-----Original Message-----
From: Vinko Vrsalovic [mailto:vinko at cprsig.cl]
Sent: Saturday, February 22, 2003 1:03 AM
To: Mark Rodrigo
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Easy Question - PC to Unix
On Fri, Feb 21, 2003 at 11:40:31PM -0600, Mark Rodrigo wrote:
> Hello:
>
> This should be straight forward. I just don't see this spelled out enough
> for me being a newbie compiler, and not desiring to waste obvious
> time(obvious to you guys).
>
> I have successfuly run the demo and Mapserver on my windows PC with Apache
> running. This is not the Cygwin version of Apache, but the "normal" Apache
> for Windows. I downloaded the compiled Win32 binaries, followed the read
me,
> had few issues and whalla success.
>
> Ok, so now I need to begin to port this over to my hosted website which is
> Linux and Apache, and I am reading and reading, and my instincts are
saying
> well I don't think you can do the Unix compile on that server you have
space
> on, I don't have access to a Unix box, so you probably should get Cygwin
and
> compile it with that on your PC, then port it back to your CGI-bin on your
> website. Am I thinking correctly? I do have access to MSVC++ compiler, but
> that's not going to work for a Unix deploy right?
I guess neither cygwin nor MSVC would work. You should get a cross-compiler
to build
a Unix version in Windows (which I think is hard to find), or install Linux
in
your machine (a relatively easy task nowadays) and build it there.
Remember there's no need to get rid of windows to install Linux in your
PC.
If the architecture of the machines is different you still would need a
cross-compiler, but it's probably easier to find one for Linux
between archs than in Windows between OS's (and archs).
Another option is asking your friendly admin to build it and install it
for you, and still another option is building it yourself in the hosting
machine if you have shell access.
Good luck,
--
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl
More information about the MapServer-users
mailing list