[Klone-users] Compile KLone as a Windows service

Mickael Auger mickael.auger at gmail.com
Mon Nov 23 10:27:04 EST 2009


Hi Steven,

I test this "wiki-solution" and it's very good :)

But I would like compile under Linux with Windows toolchain (we work much
under Linux) as I say in this discussion :
Answer :
http://koanlogic.com/pipermail/klone-users/2009-April/000700.html
Response :
http://koanlogic.com/pipermail/klone-users/2009-April/000706.html


Thanks.

PS : please correct your small syntax fault at line 194 in entry.c (secceded
-> succeded)


-----

2009/11/23 Steven Dorigotti <dorigotti at koanlogic.com>

> Dear Mickaël,
>
>  please excuse the delay. The "kloned -i" installation option is not
> available under Cygwin because klone's build system is correctly
> fooled into thinking that you are working on a unix-based system, so
> the OS_WIN macro is undefined.
>
>  Is it possible for you to use MinGW instead? I followed the
> procedure and the service installation worked correctly:
>
> http://wiki.koanlogic.com/doku.php?id=klone_on_windows_mingw
>
>  Let us know - cheers,
> sd
>
> ps: you may need to set the Startup Type for kloned to Automatic using
> the services.msc programme.
>
>
> > To complete my question :
> > What solution do you use for your test : cygwin or mingw ? and what
> > version ?
> > Thanks.
> >
> > 2009/10/26 Mickael Auger <mickael.auger at gmail.com>
> >> Hi,
> >>
> >> today, I compile and execute KLone 2.2.0 for Windows XP and Vista with
> >> Cygwin.
> >>
> >> My KLone binary is a basic application. So to execute KLone I tape
> >> "kloned" in a MS-DOS console.
> >>
> >> But I would be execute KLone as a Windows service.
> >>
> >> I see that "src/kloned/entry.c" contains a source code about service of
> >> windows API.
> >> Do you a solution (like add a "KLONE_CONF_ARGS") to compile KLone as a
> >> service ?
> >>
> >> Thanks.
> >> --
> >> Mickaël AUGER
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>



-- 
Mickaël AUGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20091123/c003c33d/attachment.htm


More information about the klone-users mailing list