[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] 2.2 on windows
From: |
Daishi Kato |
Subject: |
Re: [Chicken-users] 2.2 on windows |
Date: |
Tue, 08 Nov 2005 16:57:05 +0900 |
User-agent: |
Wanderlust/2.15.1 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI) |
At Tue, 8 Nov 2005 07:43:45 +0100,
felix winkelmann wrote:
>
> On 11/8/05, Daishi Kato <address@hidden> wrote:
> > Hi,
> >
> > I have finally done compiling 2.2 on windows
> > using free MSVC toolkit an vcbuild.bat.
> > There are a few findings:
> >
> > a) chicken-setup
> > Somehow, (ensure-directory) does not work on my windows.
> > It tries to recreate an existing direcotry.
> > A workaround was just to delete (ensure-directory) and made
> > sure that the directory was created beforehand manually.
> > I'm not sure if someone else could reproduce this.
>
> But if the directory doesn't exist, would ensure-directory succeed?
Yes.
The problem was when I tried to install ssax.egg,
it calls ensure-directory several times in one chicken-setup run.
> Anyway, you could also try this patch to chicken-setup.scm:
Thanks. I'll try it later.
> > b) http.egg (http-client.scm)
> > ntohs() and getservbyname() are not supported on win32. (True?)
> > I just let (getservbyname) return 0.
> > But, there could be better error reporting.
>
> According to MSDN, both functions should be available and are
> declared in winsock2.h.
Oops, sorry. I'll double-check.
But, it is true that I got a compilation error,
complaining something like ntohs and getservbyname are missing...
> > c) spiffy.egg
> > (set-signal-handler!) is not supported in posixwin.scm,
> > and an error is raised when running.
> > I have no idea what to do with this. Please help.
>
> What kind of error do you get?
Something like set-signal-handler! is not defined.
You must know it is not implemented in posixwin.scm (at least on 2.2).
> > What I am just wondering is that if I am the first person
> > to try spiffy on Windows, or something is wrong on my side.
>
> I tried it a long while ago (and wasn't very successfull).
I assume that at that time, you didn't have set-signal-handler!
in spiffy.
Thanks anyway and I'll post any updates,
Daishi