Re: GPG2 compile problems on cygwin

2008-07-09 Thread John Clizbe
Kevin Hilton wrote:
> Perhaps the belongs in development section.

Ummm, yeah. It does.

> Again have never successfully compiled gpg2 for cygwin.  I'm trying to
> compile gnupg2 svn version 4797.  I'm getting following error (I've
> received same error with many of previous revisions also:)

You should take that as a sign. The canonical response here is that building for
Win32 is only supported on Gnu/Linux systems using the MinGW cross-compile
environment.

It took a LOT of effort on the 1.3 tree to get GnuPG 1 to build cleanly on an
MSYS hosted MinGW. Even then, there were still small nits that showed up and
were fixed later.

Before building trunk head revisions, it's best to first verify that you have a
working build environment by building a release version using release, not
development, versions of any dependent libraries.

Building from the svn head is for folks who know about the pitfalls of life on
the Bleeding Edge of software development. They also know why it's called
Bleeding and they're willing to deal/live with those reasons.

> libcommon.a(libcommon_a-convert.o): In function `do_bin2hex':
> /home/klal/temp/gnupg/gpg2/common/convert.c:120: undefined reference to
> `_gcry_malloc'

From just a cursory look, it looks like the linker isn't finding libgcrypt. Did
you build and install it? Where?

Which library is configure finding and where? If it's finding a Cygwin copy,
have you installed the dev package for it... Have you tried telling configure to
look in some other location, eg --with-=/usr/local ?

There's nothing in 2.x that I need so I haven't invested effort in getting it
built/running on any of my Windows boxen, so there's not much specific guidance
I can furnish.

AIR, There are "latest & greatest" GnuPG 2.0 Win32 binaries at the GPG4Win site

-- 
John P. Clizbe  Inet:   John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
 mailto:[EMAIL PROTECTED]
"what's the key to success?"/ "two words: good decisions."
"what's the key to good decisions?" /  "one word: experience."
"how do i get experience?"  / "two words: bad decisions."

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"



signature.asc
Description: OpenPGP digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GPG2 compile problems on cygwin

2008-07-09 Thread Robert J. Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Kevin Hilton wrote:
> Again have never successfully compiled gpg2 for cygwin.  I'm trying to
> compile gnupg2 svn version 4797.  I'm getting following error (I've
> received same error with many of previous revisions also:)

At present, the only supported way to build GnuPG on Windows is to do a
cross-compile from a UNIX running the GNU toolchain.

If you're dead-set on doing this from Cygwin (not recommended), I would
suggest beginning on an official GnuPG 2.x release.

If SVN builds fail to compile, this could be because of something you're
doing wrong, or it could be because the SVN code doesn't build.  Most
development crews try to keep SVN code in a buildable state, but
problems have been known to arise.

Learn the process for building a released version of GnuPG 2.x via
Cygwin and/or MinGW.  Once you can do that reliably, then you can apply
those same skills to the SVN branch if you want.


-BEGIN PGP SIGNATURE-

iFYEAREIAAYFAkh06DEACgkQf2XByo0Cu7OAeQDeLGBDhGOBGQ0MGzoObHNuDqNU
gH0ejK5HjelSOgDcCJ6VylE8CVcRfgN8Rq4GUSe9hz6Fab562D8AuYkBHAQBAQgA
BgUCSHToMQAKCRC3APSC/q+BCcjFB/9D+PxLhwdC0y/CcUpya23gPZubiTwq+xvU
nteXtGd2rXL92CqskK09SwY4lxZNGwyhKO5q/ZjFya+IHqhllomiZkY/u9XnFShc
GkYCobX2edPxyu7C18sW/SweUxFoQ4QUb9qsafhVlgDU2Ab2f+g5W7Xf24yFMny9
mLnu7tB1AlNgjIACAERxX60jqXDuiNuXzUF+H0gsy7GfbO5S+U4hdmLafxqqky4d
8q6+GGk4LeO7aDXWEDuuTxa4Q2GbUjDhMTBpNulFHlNOykzX6M/u0PAPJyeWeWpN
dZfXPVxLJBm3dJK7SlGfE5XaMd3KfXzdCEDm3Z0+ZkKpecbvpOeB
=Ehit
-END PGP SIGNATURE-

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


GPG2 compile problems on cygwin

2008-07-09 Thread Kevin Hilton
Perhaps the belongs in development section.

Again have never successfully compiled gpg2 for cygwin.  I'm trying to
compile gnupg2 svn version 4797.  I'm getting following error (I've received
same error with many of previous revisions also:)

libcommon.a(libcommon_a-convert.o): In function `do_bin2hex':
/home/klal/temp/gnupg/gpg2/common/convert.c:120: undefined reference to
`_gcry_m
alloc'

Is there something I can do to help with the debugging of this error?
Thanks for any suggestions.

-- 
Kevin Hilton
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users