/ Zope / Apsis / Pound Mailing List / Archive / 2010 / 2010-06 / Ported to Windows?

[ << ] [ >> ]

[ truncated binary downloads / "Andrew ... ] [ RE: [Pound Mailing List] RE: Ported to Windows? / ... ]

Ported to Windows?
"Michael Weinbergs" <Michael.Weinbergs(at)wridgways.com.au>
2010-06-16 08:53:38 [ FULL ]
I have a need to distribute a simple pound setup on a win32 machine (XP)
to solve an immediate need.

Does anyone know if pound has been compiled and where I might find it if
it has (prefer vs. 2.5 if possible)

Michael


#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by NetIQ MailMarshal
#####################################################################################

#####################################################################################
The information contained in this email communication may be confidential.
You should only read, disclose, re-transmit, copy, distribute, act in reliance
on or commercialise the information if you are authorised to do so. If you are
not
the intended recipient of this email communication, please notify us
immediately by
email to administrator(at)wridgways.com.au or reply by email direct to the
sender and 
then destroy any electronic or paper copy of this message. Any views expressed
in 
this email communication are those of the individual sender, except where the
sender 
specifically states them to be the views of Wridgways The Removalists.  Any
personal 
information in this email must be handled in accordance with the Privacy Act
1988 
(Cth). Wridgways The Removalists does not represent, warrant or guarantee that
the 
integrity of this communication has been maintained nor that the communication
is 
free of errors, virus or interference.
#####################################################################################
Attachments:  
text.html text/html 3644 Bytes

RE: Ported to Windows?
Joe Gooch <mrwizard(at)k12system.com>
2010-06-16 16:03:41 [ FULL ]
You say distribute... which in my experience is fraught with problems :)

Pound depends on libpthread, which is of *nix design.  The only way I've been
able to get it to run on Windows is using Cygwin.  MSys didn't compile right,
and I don't have the requisite knowledge to do a MSVC++ native binary,
replacing pthread with appropriate Win APIs.  So cygwin is really the only
option.

I've compiled binaries for pound on Cygwin before... They generally don't
perform as well as the Linux native ones I use, which isn't surprising given
the emulation layer.  Plus, if you have more than one different version of
cygwin.dll on the same machine you can have all sorts of stability issues. 
(for instance, openssh and pound with different dlls)

The best option is to install cygwin on the server and compile it there.  Make
sure you install the compiling tools (make, gcc, etc) and the libraries you
need (pcre, openssl, etc), and cygrunsrv if you want to run it as a service. 
Last time I compiled with ./configure --disable-super --with-ssl.

From that point on you can configure and use it normally... You can use
cygrunsrv to install it as a service.

Compiling on one machine and trying to distribute is more problematic because
of cygwin.dll collisions...  I've done it before, just copy pound.exe to a
directory on the destination server.  Run it and copy every dll it complains
about from the source system to the destination folder.  Repeat until all dlls
are copied.  Make sure no other cygwin.dll or cygwin1.dll is on the system.

I wish you luck!

Joe

[...]

MailBoxer