S
Colin Davis
e1ven at e1ven.com
Sun Sep 21 18:29:49 CEST 2014
Thanks for working on this - This is much better than it was even two months ago!
I was able to compile this successfully on OSX, both in the current stable (10.9.5) and the beta (10.10 DP8)
Charles - I believe it's using gpgv to verify the downloads -
If you make sure you have an existing version of gpg installed (such as `brew install gpg`, this should work).
There were a few other small configuration issues-
As before, you need to have automake installed - It looks like it still really wants automake 1.11.
IIRC, there were some patches proposed last year to support both, but until then you'll want to manually install automake 1.11
wget http://ftp.gnu.org/gnu/automake/automake-1.11.6.tar.gz
tar -xzf automake-1.11.6.tar.gz
cd automake-1.11.6/
./configure
make
make install
AUTOMAKE_SUFFIX=1.11
You'll also want to set gl_cv_absolute_stdint_h, so that gpg picks up the version in /usr
gl_cv_absolute_stdint_h=/usr/include/stdint.h
OSX ships with "shasum", rather than "sha1sum", so you need to modify speedy to use this method
On line 726 of build-aux/speedo.mk, replace sha1sum with shasum.
Finally, we need to edit the Makefile-
edit common/Makefile.am, and go to line 194. Replace:
t_common_ldadd = libcommon.a ../gl/libgnu.a \
with
t_common_ldadd = libcommon.a libcommon_a-init.o ../gl/libgnu.a \
then run
make -f build-aux/speedo.mk native
This should provide you with a copy of gpg2 in PLAY/inst/bin/gpg2
gnupg-2.1.0-beta834 e1ven$ PLAY/inst/bin/gpg2 --version
gpg (GnuPG) 2.1.0-beta834
libgcrypt 1.6.2
NOTE: THIS IS A DEVELOPMENT VERSION!
It is only intended for test purposes and should NOT be
used in a production environment or with production keys!
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
> On Sep 19, 2014, at 11:34 AM, Charles Diza <chdiza at gmail.com> wrote:
>
> Hello,
>
> I am getting the exact same error as before.
>
> Does this beta require newer versions of {npth,libassuan,libksba,libgpg-error,libgcrypt} than the "current" released versions? I'm just building against the current releases.
>
> > To get the list of the latest versions do this
>
> > build-aux/getswdb.sh
>
> That didn't work for me. I get:
>
> build-aux/getswdb.sh: line 101: gpgv: command not found
> list of software versions is not valid!
>
> > Is there still a problem with /usr/include/stdint.h - I have lost track
> > of it.
>
> It is still the case that without a manual setting of:
>
> export gl_cv_absolute_stdint_h="/usr/include/stdint.h"
>
> building is not possible. Some package managers for Mac (e.g., Homebrew) will prepend to the value of that var a MacOS-specific SDK path, but this varies from version to version.
>
> Cheers,
> Charles
>
> On Fri, Sep 19, 2014 at 4:59 AM, Werner Koch <wk at gnupg.org> wrote:
> Hi folks,
>
> would you mind to do a test build of the new beta (see below) and report
> to gnupg-devel at gnupg.org? I'd like to have the OSX build problems fixed
> before a real release.
>
> I fixed some of the build problems and stepped other aside by not
> building some unused programs (t-http and t-helpfile).
>
> Is there still a problem with /usr/include/stdint.h - I have lost track
> of it.
>
> If you run the speedo script mentioned below (remember to use GNU make)
> it will download the required libraries and also show the latest
> versions. If you can't use gmake, you need to build it manually as
> before (which is actually better because you can then install it
> properly). To get the list of the latest versions do this
>
> build-aux/getswdb.sh
>
> it creates a file swdb.lst with versions and checksums.
>
>
> Shalom-Salam,
>
> Werner
>
>
> =====
> I just uploaded a new beta:
>
> ftp://ftp.gnupg.org/gcrypt/gnupg/unstable/gnupg-2.1.0-beta834.tar.bz2
> ftp://ftp.gnupg.org/gcrypt/gnupg/unstable/gnupg-2.1.0-beta834.tar.bz2.sig
>
> Noteworthy changes in version 2.1.0-beta834 (2014-09-18)
> --------------------------------------------------------
>
> * gpg: Improved passphrase caching.
>
> * gpg: Switched to algorithm number 22 for EdDSA.
>
> * gpg: Removed CAST5 from the default preferences.
>
> * gpg: Order SHA-1 last in the hash preferences.
>
> * gpg: Changed default cipher for --symmetric to AES-128.
>
> * gpg: Fixed export of ECC keys and import of EdDSA keys.
>
> * dirmngr: Fixed the KS_FETCH command.
>
> * speedo: Downloads related packages and works for non-Windows.
>
>
> To quickly build all required software without installing it, the
> Speedo method may be used:
>
> make -f build-aux/speedo.mk native
>
> This method downloads all required libraries and does a native build
> of GnuPG to PLAY/inst/. GNU make is required and you need to set
> LD_LIBRARY_PATH to $(pwd)/PLAY/inst/lib.
>
>
>
> --
> Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
>
>
More information about the Gnupg-devel
mailing list