Hello,

What I really want is a Windows binary and whatever
else gets built, _not_ packaged in an installer, so I can build
my own installer.  It would be nice if OpenVPN would
release such a binary.  Absent that I'm forced to
drag out a Windows machine, torture myself
for hours with it, and pester you. :-)

(I want to make my own installer so I can, e.g., install
real keys and config files that use them.  It seems
straightforward enough to script the keymaking
process and have that script also create an
installer.  Obtaining the raw materials, a Windows
binary, turns out to involve helpings of the
pain that comes with MS Windows.)

I've followed the instructions in domake-win and am having serious problems building OpenVPN on XP.

One issue is that cryptoapi.c works around a
problem where CryptAcquireCertificatePrivateKey
is missing from MinGW.  However, I've installed
the latest stable MinGW, 5.1.4, and the function
is now in MinGW.  So, I tried commenting out the
#ifdef __MINGW32_VERSION hacks in cryptoapi.c.
This seems to have worked.  (So far)

But then I got bit by some strange windows problem:
http://forums.logitech.com/logitech/board/message?board.id=quickcam_software&message.id=897&nobounce
(MinGW is a cygwin fork.)
I get this even though I long ago uninstalled the
logitech quickcam software.

Now I get seemingly random segfaults and
very strange behavior, like running domake-win
and having it tell me there's no autoconf directory,
or that at least version 1.4 of m4 is required
even though it's installed, or getting random segfaults
while running the autoconf stuff at the top
of install-win32/makeopenvpn.

In other words XP seems totally borked.

I find that LVPrSrv program has risen from
the dead to haunt me.  I may have finally gotten
rid of it....  For the moment the compile is working....

Now I get:
!define "SF_SELECTED" already defined!
Error in script "gen/nsi/openvpn.nsi" on line 264 -- aborting creation process

This I imagine I can figure out.

If there happen to be recommended versions of all the
tools that are known to work together and avoid
all these problems, or anything else that makes
it "just work", please let me know.

Thank you for your time.

Regards,

Karl <k...@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

P.S.  If I can't have unpackaged Windows binaries
I would oh-so-love to have a cross-compiler
so I could compile for Windows on Linux.  There
seems to be one for OpenSC that compiles OpenVPN.
http://www.opensc-project.org/build/browser/trunk/build
Perhaps OpenVPN could coordinate with them and
support cross-compiling?  (Please, please, please.)

P.P.S.  It is not clear from the domake-win instructions
that the process is supposed to be undertaken on a
MS Windows machine.  A note in the instructions would
be helpful.

Reply via email to