
Problem installing PGPMail with GPGTools Suite
Reported by Flo | January 31st, 2011 @ 05:27 PM | in 20110322
On a fresh OSX (10.6.6) installation I get the following error with GPGMail. Installation was performed with the all in one package. Keychain etc. works ok.
GPGMail cannot work. It didn't find GnuPG (/Data/Temp/GPGMail/GPGMail/Dependencies/MacGPGME/build/Release/../dist/bin/gpg) with at least version 1.4.0. Please quit Mail, install a matching GnuPG version (for example from GPGTools Project, http://gpgtools.org/), then restart Mail.
Comments and changes to this ticket
-
Alex (via GPGTools) January 31st, 2011 @ 05:53 PM
- State changed from new to open
- Assigned user set to Alex (via GPGTools)
-
Alex (via GPGTools) January 31st, 2011 @ 05:57 PM
- Milestone set to 20110322
- Importance changed from High to
Thank you for the report. Please tell us:
- Which GPGTools version have you installed?
- Does the current beta version solve your issue:
https://github.com/downloads/GPGTools/GPGTools/GPGTools-20110127_2.dmg
?
- What is the output of the following commands in the
Terminal
3.1. which gpg
3.2. which gpg2
3.3. gpg —version
3.4. gpg --gpgconf-test; echo $?
-
Flo January 31st, 2011 @ 09:47 PM
Oh. Forgot to add the information...
- GPGTools-20110125 (latest from homepage)
- No.
3.1. Nothing.
3.2. /usr/local/MacGPG2/bin/gpg2
3.3. -bash: gpg: command not found
3.4. -bash: gpg: command not found
127
Latest beta output:
GPGMail cannot work. It didn't find GnuPG (/Data/Temp/GPGMail/GPGMail/Dependencies/MacGPGME/build/Release/../dist/bin/gpg) with at least version 1.4.0. Please quit Mail, install a matching GnuPG version (for example from GPGTools Project, http://gpgtools.org/), then restart Mail.
Did I miss to install sth? Thought I only need the all in one?
Thanks for your help and of course your work!
- GPGTools-20110125 (latest from homepage)
-
Alex (via GPGTools) February 1st, 2011 @ 07:06 AM
Ok, this can be fixed. The question is: how to avoid this issue with other users. Could you please give me the output of:
- ls -ld /usr/local/bin
- ls -l /usr/local/bin/gpg*
Now try one of the following three possible solutions (start with 1.) and repeat the above mentioned step 2:
- Install MacGPG2 from http://www.gpgtools.org/macgpg2.html
- Run System Preferences > GPGTools > GPG > Fix. What is
the output (also from Console.app)
- sudo ln -s /usr/local/MacGPG2/bin/gpg2 /usr/local/bin/gpg
- ls -ld /usr/local/bin
-
Flo February 1st, 2011 @ 02:04 PM
- ls: /usr/local/bin: No such file or directory
- ls: /usr/local/bin/gpg*: No such file or directory
As there's only MacGPG2 installed and no symlink set this seems as expected. It's an almost fresh install so there's no /usr/local/bin (as shown above).
- Did no change (tried already)
- Did no change either (also tried before submitting
ticket)
- Performed as follows:
3.1. sudo mkdir /usr/local/bin
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.To proceed, enter your password, or type Ctrl-C to abort.
Password:
3.2. sudo ln -s /usr/local/MacGPG2/bin/gpg2 /usr/local/bin/gpg
This did actually work.
Thanks for your help. It seems creating /usr/local/bin (if not existing) and symlinking gpg2 to gpg is the fix for a correct out-of-the-box behavior.
Note: No MacPorts (installed but without any concrete port), Fink or similar is installed (I think these may create the directory).
- ls: /usr/local/bin: No such file or directory
-
Alex (via GPGTools) February 1st, 2011 @ 02:08 PM
It seems creating /usr/local/bin (if not existing) ... is the fix
We assumed in our scripts that /usr/local/bin does exist. Fixing it now...
-
Alex (via GPGTools) February 1st, 2011 @ 02:11 PM
- State changed from open to resolved
(from [9bfe9b6996b8f7d3c738898e9bde65bb46625f0c]) creating /usr/local/bin [#49 state:resolved] https://github.com/GPGTools/GPGTools/commit/9bfe9b6996b8f7d3c738898...
-
Alex (via GPGTools) February 1st, 2011 @ 03:28 PM
Now part of the latest GPGTools beta.
It's linked at http://www.gpgtools.org/installer.html -
steve June 18th, 2015 @ 04:30 PM
- State changed from resolved to released
- Importance cleared.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
-
49 Problem installing PGPMail with GPGTools Suite (from [9bfe9b6996b8f7d3c738898e9bde65bb46625f0c]) creatin...