commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dion Gillard" <d...@trongus.com>
Subject Re: Compiling jsvc Win32
Date Mon, 09 Jul 2007 06:00:13 GMT
Hi JsD,

I received the following from one of the daemon developers:

> Using jsvc on Windows has never been supported.  The jsvc module is only
for
> *nix systems.  Windows systems should use procrun.

Regards,
Dion

On 7/9/07, JsD <jpyobjcdude@gmail.com> wrote:
>
> After finding out that one must have the latest version of Visual Studio
> to
> build, I decided to look for another route.
>
> Finally I found JavaService (
> http://forge.objectweb.org/projects/javaservice/). This project comes
> pre-built and works like a charm. I strongly suggest this for those who do
> not wish to purchase or use Visual Studio.
>
> Cheers,
> JsD
>
> On 5/3/07, JsD <jpyobjcdude@gmail.com> wrote:
> >
> > On 4/28/07, JsD <jpyobjcdude@gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > I am trying to compile from source on Windows XP using Cygwin.
> > >
> > > I have installed the latest make, autoconf, gcc in cygwin environment.
> > >
> > > The configure runs fine.
> > >
> > > When I try to make I get the following:
> > >
> > > /cygdrive/c/_other/_s/java/daemon-1.0.1/src/native/unix
> > > $ make
> > > make -C native all
> > > make[1]: Entering directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
> > > /src/native/unix/native'
> > > gcc -g -O2 -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID -DCPU=\"i386\"
> > > -I/cygdrive/c/jdk1.5.0_11/include
> -I/cygdrive/c/jdk1.5.0_11/include/win32
> > > -Wall -Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
> > > jsvc-unix.c:229: warning: function declaration isn't a prototype
> > > jsvc-unix.c: In function `check_pid':
> > > jsvc-unix.c:279: warning: implicit declaration of function `lockf'
> > > jsvc-unix.c:279: error: `F_LOCK' undeclared (first use in this
> function)
> > > jsvc-unix.c:279: error: (Each undeclared identifier is reported only
> > > once
> > > jsvc-unix.c:279: error: for each function it appears in.)
> > > jsvc-unix.c :286: error: `F_ULOCK' undeclared (first use in this
> > > function)
> > > jsvc-unix.c: In function `get_pidf':
> > > jsvc-unix.c:321: error: `F_LOCK' undeclared (first use in this
> function)
> > > jsvc-unix.c:323: error: `F_ULOCK' undeclared (first use in this
> > > function)
> > > jsvc-unix.c: In function `wait_child':
> > > jsvc-unix.c:405: error: `F_LOCK' undeclared (first use in this
> function)
> > > jsvc-unix.c:407: error: `F_ULOCK' undeclared (first use in this
> > > function)
> > > jsvc-unix.c : In function `main':
> > > jsvc-unix.c:693: warning: implicit declaration of function `SetTerm'
> > > make[1]: *** [jsvc-unix.o] Error 1
> > > make[1]: Leaving directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
> /src/native/unix/native'
> > >
> > > make: *** [native/all] Error 2
> > > ~end~
> > >
> > > Any help is greatly appreciated. I would love to run this on *nix but
> I
> > > am unfortunately stuck with windoze at this point :(
> > >
> > > Thanks,
> > > JsD
> > >
> >
> > Following up...
> >
> > Are there any *detailed* instructions out there on how to build jsvc on
> > Win32?
> >
> > Any help is appreciated.
> >
> > JsD
> >
>



-- 
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message