Re: attempting to install Moto on Windows

"Cyb.org" <cyb.org-/U2jX/5RlBxWk0Htik3J/[email protected]> Sun, 16 Mar 2003 16:43:28 +0100
Newsgroups gmane.comp.lang.moto.user
Message-ID <[email protected]>
> Here is what I have been able to figure out so far. I have been
> trying to compile version 0.19 with apache and mysql support: 
> 1. need to use cygwin

You need also (partially) MinGW, because of issues in glibc.
These are changes that I have made for Moto 0.9.0e beta3

src/codex/stringbuffer.h:
#include <mingw/stdint.h>

src/codex/number.c:
#include <errno.h>

src/codex/number.h:
#include <mingw/stdint.h>

src/codex/state.h:
from:
#include <stdint.h>
to:
#include <mingw/stdint.h>

Command line "moto" works well in Cygwin shell, but not in win32
shell (stackdump).

> 2. need a 1.3.x version of apache, not 2.x!
> 3. need 3.23 version of mysql? (not 4.x)

I haven't tried compile Moto with apache/MySQL, but if you want to -
you have to have includes from them and also apxs which isn't in
apache binary windows distribution.

> I have tried installing with both apache and mysql options, only
> mysql, and neither, and have run into error messages with each try.

First try to compile stand-alone moto tool.

> Any help is appreciated. As I get more insights, I will share them.

If you want to make Win32 distribution maybe subscribe to moto-devel
list?

Cyb.org