Interesting post.

Can you specify what the dependencies of the resulting .exe would be?
Is strawberry perl required to run the resulting executable?


On Sat, Apr 18, 2009 at 1:24 PM, Julien Picalausa <julien_picalausa@yahoo.fr> wrote:
I'm not sure if this has been done before but I haven't seen information
about it anywhere, so I though I'd share, in case someone needs to do the

I found out that there is a rather easy way to turn the fwknop client into a
windows executable directly usable from the command line (which makes it
more convenient for windows scripts than the GUI client).

On a windows computer, simply:
-Install strawberry perl (http://strawberryperl.com/)
-Use CPAN to install Crypt::CBC and Crypt::Rijndael (required by fwknop)
-Grab the fwknop sources and try to run perl fwknop -whatever options you
need, to make sure it works. Apparently, you need to provide the --Home
option since fwknop can't find home folders without it
-Use CPAN to install Module::ScanDeps, PAR::Dist, PAR, PAR::Packer.
-Run pp -c -M Crypt::Rijndael -o fwknop.exe fwknop (at least this worked for
me, not sure why I had to specify the Rijndael module manually)
-You have fwknop.exe

This may work for the server as well, but is probably more complicated and
probably would require modifications to the sources, so I haven't attempted

I hope this will be of use for someone :)

Best regards,
   Julien Picalausa

Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
Fwknop-discuss mailing list