[Mapserver-users] Easy Question - PC to Unix

Vinko Vrsalovic vinko at cprsig.cl
Sat Feb 22 02:03:27 EST 2003


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