#49 ✓released
Flo

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)

    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)

    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:

    1. Which GPGTools version have you installed?
    2. Does the current beta version solve your issue: https://github.com/downloads/GPGTools/GPGTools/GPGTools-20110127_2.dmg ?
    3. 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

    Flo January 31st, 2011 @ 09:47 PM

    Oh. Forgot to add the information...

    1. GPGTools-20110125 (latest from homepage)
    2. 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!

  • Alex (via GPGTools)

    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:

    1. ls -ld /usr/local/bin
    2. 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:

    1. Install MacGPG2 from http://www.gpgtools.org/macgpg2.html
    2. Run System Preferences > GPGTools > GPG > Fix. What is the output (also from Console.app)
    3. sudo ln -s /usr/local/MacGPG2/bin/gpg2 /usr/local/bin/gpg
  • Flo

    Flo February 1st, 2011 @ 02:04 PM

    1. ls: /usr/local/bin: No such file or directory
    2. 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).

    1. Did no change (tried already)
    2. Did no change either (also tried before submitting ticket)
    3. 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).

  • Alex (via GPGTools)

    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)
  • Alex (via GPGTools)
  • steve

    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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Referenced by

Pages