Re: New beta

2014-09-19 Thread MFPA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi


On Thursday 18 September 2014 at 5:41:21 PM, in
mid:87r3z87ufi@vigenere.g10code.de, Werner Koch wrote:


 If you have all required tools and some extra source
 packages in ../tarballs, you may also build a Windows
 installer:

   make -f build-aux/speedo.mk  w32-installer


Does this have to be done under Linux, or can it be done under
Windows with the aid of something like MinGW or CodeBlocks?


- --
Best regards

MFPAmailto:2014-667rhzu3dc-lists-gro...@riseup.net

Gypsy Dwarf Escapes Prison: Small Medium at large
-BEGIN PGP SIGNATURE-

iPQEAQEKAF4FAlQcbXhXFIAALgAgaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldEJBMjM5QjQ2ODFGMUVGOTUxOEU2QkQ0NjQ0
N0VDQTAzAAoJEKipC46tDG5prMAD+wXCEv7vWpJpo/UVZa8c9htb3KT6JYpJfkFG
asL0byfm5dcOZl1JSaZKhwNHYAVi2DgFafR7Ls5PWKTyYiEBndaWNCYUGQQKLKGE
Dq6WrcC01MLiLkoRebypsoFTVhQw5Av2rIdH6AKaKPC4Ggtbi/kSHFNtjaLc+8qh
5E/FDNTr
=0m/q
-END PGP SIGNATURE-


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


Re: New beta

2014-09-19 Thread Robert J. Hansen
 Does this have to be done under Linux, or can it be done under 
 Windows with the aid of something like MinGW or CodeBlocks?

Unfortunately, this is not something I'd recommend for anyone except a
handful of MinGW experts.  It's technically possible, but daunting.

The approved way of building Win32 executables of GnuPG is to
cross-compile from Linux.

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


Re: New beta

2014-09-19 Thread vedaal
On 9/19/2014 at 2:18 PM, Robert J. Hansen r...@sixdemonbag.org wrote:

 Does this have to be done under Linux, or can it be done under 
 Windows with the aid of something like MinGW or CodeBlocks?

Unfortunately, this is not something I'd recommend for anyone 
except a
handful of MinGW experts.  It's technically possible, but daunting.

The approved way of building Win32 executables of GnuPG is to
cross-compile from Linux.

=

Can gnupg-2.1.0-beta834 be compiled on Cygwin ?


I tried downloading it from the ftp link WK gave, and when trying to configure 
on Cygwin, got the following errors:

configure:

*** You need libgpg-error to build this program

*** You need libassuan to build this program

*** You need libska to build this program

*** It is now required to build with support for the
*** New Portable Threads Library (nPth). Please install
*** this library first.

configure: error:

*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.


Ok,

Downloaded all the above libraries from the links provided,
started with the first one mentioned, libgpg-error,
and got as far as,

config.status: creating po/Makefile

libgpg-error-1.16 prepared for make

Revision: 8f3187f  (36657)
Platform: i686-pc-cygwin

Then after trying 'make',
got the following:

$ make
make  all-recursive
make[1]: Entering directory 
`/cygdrive/c/gnupg-2.1.0-beta834/libgpg-error-1.16/l

ibgpg-error-1.16'
Making all in m4
make[2]: Entering directory 
`/cygdrive/c/gnupg-2.1.0-beta834/libgpg-error-1.16/l

ibgpg-error-1.16/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/cygdrive/c/gnupg-2.1.0-beta834/libgpg-error-1.16/li   
 
bgpg-error-1.16/m4'
Making all in src
make[2]: Entering directory 
`/cygdrive/c/gnupg-2.1.0-beta834/libgpg-error-1.16/l

ibgpg-error-1.16/src'
gawk -f ./mkerrnos.awk ./errnos.in code-to-errno.h
gawk -f ./mkerrcodes1.awk ./errnos.in _mkerrcodes.h
gcc -E   _mkerrcodes.h | grep GPG_ERR_ | \
   gawk -f ./mkerrcodes.awk mkerrcodes.h
rm _mkerrcodes.h
gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
./mkerrcodes | gawk -f ./mkerrcodes2.awk code-from-errno.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
./err-sources.h.in err-sources-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
./err-codes.h.in err-codes-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
-v prefix=GPG_ERR_ -v namespace=errnos_ \
./errnos.in errnos-sym.h
gcc -g -O0 -I. -I. -o mkheader ./mkheader.c
gcc -g -O2 -Wall -Wpointer-arithgen-posix-lock-obj.c   -o gen-posix-lock-obj
gen-posix-lock-obj.c:40:3: error: #error sizeof pthread_mutex_t is not known.
gen-posix-lock-obj.c: In function ‘main’:
gen-posix-lock-obj.c:69:21: error: ‘SIZEOF_PTHREAD_MUTEX_T’ undeclared 
(first use in this function)
gen-posix-lock-obj.c:69:21: note: each undeclared identifier is reported only 
once for each function it appears in
gen-posix-lock-obj.c:99:11: error: ‘HOST_TRIPLET_STRING’ undeclared 
(first use in this function)
 
builtin: recipe for target `gen-posix-lock-obj' failed
make[2]: *** [gen-posix-lock-obj] Error 1
make[2]: Leaving directory 
`/cygdrive/c/gnupg-2.1.0-beta834/libgpg-error-1.16/li   
 
bgpg-error-1.16/src'
Makefile:402: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/cygdrive/c/gnupg-2.1.0-beta834/libgpg-error-1.16/li   
 
bgpg-error-1.16'
Makefile:333: recipe for target `all' failed
make: *** [all] Error 2


So,
can it be done on Cygwin, using other steps/commands first?

(btw, have not had any problems compiling, making, and installing gnupg 1.4.x 
on Cygwin).

TIA,

vedaal


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


Re: New beta

2014-09-19 Thread Werner Koch
On Fri, 19 Sep 2014 20:14, r...@sixdemonbag.org said:

 The approved way of building Win32 executables of GnuPG is to
 cross-compile from Linux.

and best on Debian Wheezy or Jessie.  I plan to eventually add some
checks into the Makefile to suggest what to install.

Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


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


Re: New beta

2014-09-19 Thread Robert J. Hansen
 and best on Debian Wheezy or Jessie.  I plan to eventually add some 
 checks into the Makefile to suggest what to install.

It would be nice if it could also be checked with Fedora.  CentOS/RHEL
is really big in the business world, and I know a couple of shops that
would like to be able to cross-compile their Windows GnuPG builds from
their CentOS/RHEL boxen.

However, I'm unaware of anyone who's calling this a blocker, so it's a
pretty low priority.  (See, folks?  I apply the
six-real-users-with-real-problems test even to my own requests.  ;) )


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


Re: New beta

2014-09-19 Thread Murphy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In response to vedaal's question - installation of gnupg v2.1 is
significantly different from v1.x and even v2.0.  For my Ubuntu
machine hHere is a brief summary of the steps, in order

1. Install latest libraries: npth, libgpg-error, libgcrypt, libksba,
libassuan
2. Execute the following command: sudo ln -sf /dev/null
/etc/xdg/autostart/gnome-keyring-gpg.desktop
3. sudo apt-get install libdb-dev, libdb++-dev, libbz2-dev
4. Install Openldap-2.4.39 using ./configure, make depend, make, sudo
make install
5. sudo apt-get install gtk+-2.0
6. Install pinentry, gnupg-2.1

Of course your milage may vary, machine blow up and hard drive
autowipe.  But it works for me and it is definitely worth it to play
with all the new elliptical curve modes:

me@me:~$ gpg2 --expert --gen-key
gpg (GnuPG) 2.1.0-beta834; Copyright (C) 2014 Free Software
Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
   (7) DSA (set your own capabilities)
   (8) RSA (set your own capabilities)
   (9) ECC
  (10) ECC (sign only)
  (11) ECC (set your own capabilities)
Your selection? 9
Please select which elliptic curve you want:
   (2) NIST P-256
   (3) NIST P-384
   (4) NIST P-521
   (5) Brainpool P-256
   (6) Brainpool P-384
   (7) Brainpool P-512
Your selection?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iJwEAQECAAYFAlQcxqcACgkQUVKxkWZz2Q0UlAP+IRkpjRoJ8qwaQmExBU8DUG1+
KNRi5SXTAwdDj/EEmEoSQR54s1GLv7wxEp+Rs4idQMn/Z6titfJRv0KdeBSOG3Te
V6KKqX8F2n9tB0DZucXXjzpejHEt1TcXT11c97BV6k5BhUBZ5zVcm8DWa1GhO5r6
8SszspcbBjz+xn95rLs=
=ttmO
-END PGP SIGNATURE-

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