[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Bazaar 1.3 preview
From: |
John Arbash Meinel |
Subject: |
Re: [Gnu-arch-users] Bazaar 1.3 preview |
Date: |
Wed, 30 Mar 2005 19:28:06 -0600 |
User-agent: |
Mozilla Thunderbird 1.0 (Macintosh/20041206) |
John Arbash Meinel wrote:
Robert Collins wrote:
...
I'll bet you that either you don't have gpg installed, or libgpgme was
built without gpg support/incorrect. Given that you got signed
checksums, its probably libgpgme not having gpg support correctly
installed & configured. That error comes from gpgme_op_verify ();
One thing about gpgme is that it depends on a specific path to gpg - is
it possible that gpgme has the wrong path ?
Rob
...
Do you know any way to find out what path gpgme is looking at? The best
I can find is that it is looking for /opt/local/bin which would be
correct.
John
=:->
I wrote the following code:
#include <gpgme.h>
#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
gpgme_engine_info_t info;
gpgme_error_t err;
err = gpgme_get_engine_info (&info);
if (err != GPG_ERR_NO_ERROR) {
cerr << "Error: " << gpgme_strerror (err) << endl;
cerr << "Source: " << gpgme_strsource (err) << endl;
} else {
gpgme_engine_info_t cur;
for (cur = info; cur; cur = cur->next) {
cout << "protocol: " << cur->protocol << endl;
cout << "filename: " << cur->file_name << endl;
if (cur->version)
cout << "version: " << cur->version << endl;
if (cur->req_version)
cout << "req version: " << cur->req_version << endl;
}
}
}
And it output :
protocol: 0
filename: /opt/local/bin
req version: 1.2.2
So it *looks* like it is trying to use /opt/local/bin as the gpg engine.
Since it is a directory it will obviously fail.
Can you run the same code and make sure that you get a different value,
because as a path it is correct.
John
=:->
signature.asc
Description: OpenPGP digital signature
Re: [Gnu-arch-users] Bazaar 1.3 preview, Mikhael Goikhman, 2005/03/31