From dshaw at jabberwocky.com Sat Oct 1 15:27:57 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Sat Oct 1 15:28:42 2005 Subject: Problem with PGP key In-Reply-To: <4334541C.3090803@pengdows.com> References: <4334541C.3090803@pengdows.com> Message-ID: <20051001132757.GB13982@jabberwocky.com> On Fri, Sep 23, 2005 at 02:14:36PM -0500, Alaric Dailey wrote: > Over at CAcert we are having problems with a user trying to get his PGP > key signed. This PGP key works properly under PGP, but fails to even be > imported with any version of GPG we have tried. Can someone tell me what > the problem is, is this a bug, is this just a bad way to form the user > ID or what? Mark Brown has explained the problem and how to resolve it, but I'm curious about the original file that didn't work. Can you tell me some things about it? First, what program created the bad key file? Second, what is the complete "Comment:" line? Specifically, was there a space character after the colon? David From dshaw at jabberwocky.com Sat Oct 1 16:04:25 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Sat Oct 1 16:05:03 2005 Subject: Problem with PGP key In-Reply-To: <20051001132757.GB13982@jabberwocky.com> References: <4334541C.3090803@pengdows.com> <20051001132757.GB13982@jabberwocky.com> Message-ID: <20051001140425.GC13982@jabberwocky.com> On Sat, Oct 01, 2005 at 09:27:57AM -0400, David Shaw wrote: > On Fri, Sep 23, 2005 at 02:14:36PM -0500, Alaric Dailey wrote: > > Over at CAcert we are having problems with a user trying to get his PGP > > key signed. This PGP key works properly under PGP, but fails to even be > > imported with any version of GPG we have tried. Can someone tell me what > > the problem is, is this a bug, is this just a bad way to form the user > > ID or what? > > Mark Brown has explained the problem and how to resolve it, but I'm > curious about the original file that didn't work. Can you tell me > some things about it? > > First, what program created the bad key file? Second, what is the > complete "Comment:" line? Specifically, was there a space character > after the colon? I should add that I do see the key file claims to be exported from "PGP 8.1". I'm making sure that it is not a different program trying to look like PGP 8 for compatibility reasons (like most web browsers claim to be Mozilla). Also, I do see that the Comment: line does not have a space in the sample key file posted to the list - I need to verify whether the original file, before being pasted into an email, had a space there. David From marcus.brinkmann at ruhr-uni-bochum.de Sat Oct 1 18:14:37 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sat Oct 1 18:15:02 2005 Subject: notation data Message-ID: <87wtkxuscy.wl%marcus.brinkmann@ruhr-uni-bochum.de> Hi, I implemented a "set notation data" function for GPGME. One can set the critical flag. Only human-readable strings are currently allowed, as GnuPG doesn't support any other. For policy URLs, the human-readable flag is of course meaningless and not set. Here a couple of points. 1. GPGME currently does pass through the notation data unchanged. This means patterns are evaluated (like %k etc). As I can convert a string with escape charactere transparently in GPGME, no action in GnuPG is required to make this behaviour optional. But I think it would be convenient to have a flag that switches it off (it can be a pseudo flag for the notation data). 2. There is no way to pass arbitrary binary data for the notation name(!) and value to GnuPG. So currently only strings are allowed. 3. There is no way to specify a notation name that starts with a '!' character without setting the critical flag (and I am not sure if "!!name@foo" will even work). GPGME could detect this and return an error, but currently it doesn't. Furthermore, if more flags are defined by the standard, names that used to work may start to trigger new behaviour unexpectedly. I would like to see a more robust way to specify flags. 4. There is no way to read out the critical flag. GnuPG should issue a NOTATION_FLAGS status message after NOTATION_DATA with the flags of the notation. 5. GnuPG automatically sets the human-readable flag. This seems to be wrong to me, as RFC2440 says: First octet: 0x80 = human-readable. This note is text, a note from one person to another, and has no meaning to software. But we don't know if the notation is a "text, a note from one person to another, and has no meaning to software". It could very well be something like an "X-Face", which arguably does not fit this definition at all. Maybe I am misreading the standard. For now, I enforce the human-readable flag via the GPGME interface, so the user has no choice. But this is only because GnuPG does not make it configurable. I think it should be configurable. Thanks, Marcus From marcus.brinkmann at ruhr-uni-bochum.de Sat Oct 1 22:54:30 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sat Oct 1 22:54:58 2005 Subject: key sig notation data in --with-colon mode? Message-ID: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> Hi, currently, gnupg does not emit any key signature notation data on the status fd (while data signature notation data _is_ output at verify). In fact, policy URL and notation data handling is suspiciously absent from list_keyblock_colon(). Are there any plans to fill that gap? This is a requirement to implement parsing of that data in GPGME, of course. Thanks, Marcus From dshaw at jabberwocky.com Sat Oct 1 23:14:49 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Sat Oct 1 23:15:19 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <20051001211449.GD13982@jabberwocky.com> On Sat, Oct 01, 2005 at 10:54:30PM +0200, Marcus Brinkmann wrote: > Hi, > > currently, gnupg does not emit any key signature notation data on the > status fd (while data signature notation data _is_ output at verify). > > In fact, policy URL and notation data handling is suspiciously absent > from list_keyblock_colon(). Are there any plans to fill that gap? It is in there. A while back there was a good bit of discussion around the problem of subpackets, including notations and policy URL. There was also some concern about future expansion and the need for adding new flags each time OpenPGP added a new packet type. It ended up as a single generic way to list any subpacket type. This lists all possible subpackets: gpg --with-colons --list-options show-sig-subpackets --list-sigs This lists notations: gpg --with-colons --list-options show-sig-subpackets=20 --list-sigs This lists policy URLs: gpg --with-colons --list-options show-sig-subpackets=26 --list-sigs This lists both notations and policy URLs: gpg --with-colons --list-options show-sig-subpackets=\"20,26\" --list-sigs The format of the "spk" record is documented in doc/DETAILS. David From marcus.brinkmann at ruhr-uni-bochum.de Sun Oct 2 00:45:07 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sun Oct 2 00:49:59 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <20051001211449.GD13982@jabberwocky.com> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> Message-ID: <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Sat, 1 Oct 2005 17:14:49 -0400, David Shaw wrote: > > On Sat, Oct 01, 2005 at 10:54:30PM +0200, Marcus Brinkmann wrote: > > Hi, > > > > currently, gnupg does not emit any key signature notation data on the > > status fd (while data signature notation data _is_ output at verify). > > > > In fact, policy URL and notation data handling is suspiciously absent > > from list_keyblock_colon(). Are there any plans to fill that gap? > > It is in there. A while back there was a good bit of discussion > around the problem of subpackets, including notations and policy URL. > There was also some concern about future expansion and the need for > adding new flags each time OpenPGP added a new packet type. It ended > up as a single generic way to list any subpacket type. This lists all > possible subpackets: If this is the case, then it should be done in a consistent manner. Which means to me at least the following: * There should be a status message SUBPACKET which outputs subpacket data for example when verifying a signature. This should replace the current status messages NOTATION_NAME and NOTATION_DATA (which could be kept for backwards compatibility). * There should be a way to set arbitrary subpackets. If I am not mistaken, only policy URL and notation data can be specified, and this using extra options which you say you want to avoid and which need to be extended in the future, etc. Adressing these issues would render the items in my mail "notation data" obsolete. However, I want to stress that I have concerns about this approach. Most certainly you have considered all this before, but I want to spell them out nevertheless. * The result will inevitably be code duplication. Different implementations could have different bugs, leading to inconsistent results. IE, the user may see some notation data with gpg at the command line, but different data in the MUA using GPGME. * It kills the level of abstraction that gnupg currently provides, which has been the base for the easy integration of gpgsm into GPGME. One solution to this is to split out the shared code into a library. The library interface would provide the necessary level of abstraction[1]. Is it easier to write extensible library interfaces than to write extensible user interfaces? I don't dare to guess at an answer. But if you have hit the limit of command lines and status messages, then going to a library is the next logical step. You seem to want to move into this direction (at least this seems to be the consequence of the approach you are taking, even if this was not your intention). The question that then comes next is: Why should I invoke gpg to dump a subpacket in percent-escaped ASCII form? Maybe we will get our libgpg after all :) Actually, I am half-serious, considering that secret key management is moving into gpg-agent. Thanks, Marcus [1] Ie, GPGME would dynamically or statically load support libraries for the supported crypto engines, which then perform the necessary work to provide abstractions around things that are not abstracted by the crypto engine command line utility. From dshaw at jabberwocky.com Sun Oct 2 01:46:32 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Sun Oct 2 01:47:22 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <20051001234632.GF13982@jabberwocky.com> On Sun, Oct 02, 2005 at 12:45:07AM +0200, Marcus Brinkmann wrote: > At Sat, 1 Oct 2005 17:14:49 -0400, > David Shaw wrote: > > > > On Sat, Oct 01, 2005 at 10:54:30PM +0200, Marcus Brinkmann wrote: > > > Hi, > > > > > > currently, gnupg does not emit any key signature notation data on the > > > status fd (while data signature notation data _is_ output at verify). > > > > > > In fact, policy URL and notation data handling is suspiciously absent > > > from list_keyblock_colon(). Are there any plans to fill that gap? > > > > It is in there. A while back there was a good bit of discussion > > around the problem of subpackets, including notations and policy URL. > > There was also some concern about future expansion and the need for > > adding new flags each time OpenPGP added a new packet type. It ended > > up as a single generic way to list any subpacket type. This lists all > > possible subpackets: > > If this is the case, then it should be done in a consistent manner. > Which means to me at least the following: > > * There should be a status message SUBPACKET which outputs subpacket > data for example when verifying a signature. This should replace > the current status messages NOTATION_NAME and NOTATION_DATA (which > could be kept for backwards compatibility). I disagree with this. The status messages are used when handling a message - verifying a signature, or decrypting a message. They are not really used when listing keys. It would be odd at best to output signature subpackets to one file descriptor, while doing every other part of the key listing to another. If nothing else, it would be difficult to reassemble the two. > * There should be a way to set arbitrary subpackets. If I am not > mistaken, only policy URL and notation data can be specified, and > this using extra options which you say you want to avoid and which > need to be extended in the future, etc. You can set arbitrary subpackets. Just specify the subpacket numbers that you are interested in, separated by commas, or specify no number to get all subpackets. I only showed policy URL and notations in the example I gave as those were the two you mentioned. > However, I want to stress that I have concerns about this approach. > Most certainly you have considered all this before, but I want to > spell them out nevertheless. > > * The result will inevitably be code duplication. Different > implementations could have different bugs, leading to inconsistent > results. IE, the user may see some notation data with gpg at the > command line, but different data in the MUA using GPGME. I'm not sure if I agree with this. Certainly there are two different ways to view notations, but they are also two different ways to USE notations: one is on a key signature (i.e. a selfsig or binding sig), and one is on a regular data signature. > One solution to this is to split out the shared code into a library. > The library interface would provide the necessary level of > abstraction[1]. Is it easier to write extensible library interfaces than > to write extensible user interfaces? I don't dare to guess at an > answer. But if you have hit the limit of command lines and status > messages, then going to a library is the next logical step. You seem > to want to move into this direction (at least this seems to be the > consequence of the approach you are taking, even if this was not your > intention). It's a good question. I do think that it is very difficult to make one program that serves all purposes: command line usage, usage from programs, library. Some of the oddities you are noting in GPG are from this effort to be all things for all usages. I would not be against an OpenPGP library. I usually avoid this question, as Werner and I respectfully disagree on the subject ;) David From marcus.brinkmann at ruhr-uni-bochum.de Sun Oct 2 03:00:50 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sun Oct 2 03:05:03 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <20051001234632.GF13982@jabberwocky.com> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> Message-ID: <8764sgrav1.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Sat, 1 Oct 2005 19:46:32 -0400, David Shaw wrote: > > * There should be a status message SUBPACKET which outputs subpacket > > data for example when verifying a signature. This should replace > > the current status messages NOTATION_NAME and NOTATION_DATA (which > > could be kept for backwards compatibility). > > I disagree with this. The status messages are used when handling a > message - verifying a signature, or decrypting a message. They are > not really used when listing keys. It would be odd at best to output > signature subpackets to one file descriptor, while doing every other > part of the key listing to another. If nothing else, it would be > difficult to reassemble the two. I think there was a misunderstanding. I said there should be a SUBPACKET status message when verifying a signature, not when keylisting. For example, this could be emit when verifying a message: SUBPACKAGE 20:1:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG and this when keylisting: spk:20:1:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG The motivation here is to have the same code for the same thing. Currently, I have to parse this for subpackets at verify: [GNUPG:] NOTATION_NAME AF@gnupg.org [GNUPG:] NOTATION_DATA ZYX Note that this does not even include all information. Notably all flags are absent. > > * There should be a way to set arbitrary subpackets. If I am not > > mistaken, only policy URL and notation data can be specified, and > > this using extra options which you say you want to avoid and which > > need to be extended in the future, etc. > > You can set arbitrary subpackets. Just specify the subpacket numbers > that you are interested in, separated by commas, or specify no number > to get all subpackets. I only showed policy URL and notations in the > example I gave as those were the two you mentioned. Sorry, I was being vague. I actually meant to "set arbitrary subpackets" as in "adding arbitrary subpackets to a signature". There must be a way to write the subpackets, and the only ways I currently know are the various policy URL and notation options to gpg, which are quite limited. For example, I can't specify arbitrary binary data, and I can't set or clear the human-readable flag. Currently, we have (I think) a mix of specific, limited commands and options, and a generic dump of the raw binary data. I think that's awkward. > > However, I want to stress that I have concerns about this approach. > > Most certainly you have considered all this before, but I want to > > spell them out nevertheless. > > > > * The result will inevitably be code duplication. Different > > implementations could have different bugs, leading to inconsistent > > results. IE, the user may see some notation data with gpg at the > > command line, but different data in the MUA using GPGME. > > I'm not sure if I agree with this. Certainly there are two different > ways to view notations, but they are also two different ways to USE > notations: one is on a key signature (i.e. a selfsig or binding sig), > and one is on a regular data signature. I believe you, but I fail to see what it has to do with what I said, but then, I was maybe not very clear to begin with. You are raising semantic questions, but I was referring to straightforward implementation bugs. For example, if a new flag is added to the standard, it must be added to each and every program parsing the notation subpacket. This is already the case, but in a top-down sort of way, while adding subpacket parsers into each program allows for a wider variety of bugs (and this is one place where I don't like a lot of variety ;) > > One solution to this is to split out the shared code into a library. > > The library interface would provide the necessary level of > > abstraction[1]. Is it easier to write extensible library interfaces than > > to write extensible user interfaces? I don't dare to guess at an > > answer. But if you have hit the limit of command lines and status > > messages, then going to a library is the next logical step. You seem > > to want to move into this direction (at least this seems to be the > > consequence of the approach you are taking, even if this was not your > > intention). > > It's a good question. I do think that it is very difficult to make > one program that serves all purposes: command line usage, usage from > programs, library. Some of the oddities you are noting in GPG are > from this effort to be all things for all usages. I would not be > against an OpenPGP library. I usually avoid this question, as Werner > and I respectfully disagree on the subject ;) Actually, I am not really ambitious about this. But it seems to me that a decision to only to import/export the raw subpacket data is quite a deviation from the "design contract" that GPGME has with GnuPG. I am not sure that is really intentional, maybe Werner can clarify this. Note that for me personally, implementing a subpacket parser is quite possibly easier and less error-prone than all the status message and option management. At the worst it is approximately the same effort. I am not really having this discussion for a trivial 8 byte packet format specifying two flags and two binary octet streams. What I am trying to do here is to look at the matter in a "down the road" sort of way. And starting to put RFC2440 parser logic into GPGME when we have come such a long way without it seems a major deviation to me, that potentially has big consequences if paradigmatized. Or maybe I am just paranoid. Thanks, Marcus From marcus.brinkmann at ruhr-uni-bochum.de Sun Oct 2 03:19:38 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sun Oct 2 03:19:58 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <20051001234632.GF13982@jabberwocky.com> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> Message-ID: <874q80r9zp.wl%marcus.brinkmann@ruhr-uni-bochum.de> Hi, I guess what I am trying to say in way too many words is the following: If this whole discussion is indeed limited to subpackets, then I think I am fine. It doesn't really matter to me if the format is SUBPACKET 20:3:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG or NOTATION_NAME MyFOO@FOO NOTATION_DATA ABCDEFG NOTATION_FLAGS Critical One is as good as the other, they convey the very same information. In fact, I prefer the first format as it is slightly more powerful. If X.509 comes up with similar features, they will probably be distinct enough to justify a different format (and name) anyway. So, at this level, the distinction seems to be strictly syntactical. My concern would then be the danger of the slippery slope, but that is not a technical argument, so it's not carrying much weight. The remainig issues I have then are simply: * How to write arbitrary subpackets. Currently, I have to do things like --sig-notation !MyFOO@FOO=ABCDEFG at the command line. Suggestion: How about --add-subpacket 20:3:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG as a command line option? * How to get at the subpacket data when not in keylisting, but in signature verification. Currently, I only get the inferior second form above, without the flags. Suggestion: As said before, adding a SUBPACKET status message would do the trick for me. Thanks, Marcus From dshaw at jabberwocky.com Sun Oct 2 05:17:46 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Sun Oct 2 05:18:22 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <8764sgrav1.wl%marcus.brinkmann@ruhr-uni-bochum.de> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> <8764sgrav1.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <20051002031746.GG13982@jabberwocky.com> On Sun, Oct 02, 2005 at 03:00:50AM +0200, Marcus Brinkmann wrote: > At Sat, 1 Oct 2005 19:46:32 -0400, > David Shaw wrote: > > > * There should be a status message SUBPACKET which outputs subpacket > > > data for example when verifying a signature. This should replace > > > the current status messages NOTATION_NAME and NOTATION_DATA (which > > > could be kept for backwards compatibility). > > > > I disagree with this. The status messages are used when handling a > > message - verifying a signature, or decrypting a message. They are > > not really used when listing keys. It would be odd at best to output > > signature subpackets to one file descriptor, while doing every other > > part of the key listing to another. If nothing else, it would be > > difficult to reassemble the two. > > I think there was a misunderstanding. I said there should be a > SUBPACKET status message when verifying a signature, not when > keylisting. For example, this could be emit when verifying a message: > > SUBPACKAGE 20:1:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG > > and this when keylisting: > > spk:20:1:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG > > The motivation here is to have the same code for the same thing. > Currently, I have to parse this for subpackets at verify: Oops - yes, a misunderstanding. There is already a SUBPACKET status tag, but it is only used for the preferred keyserver subpacket. I can pretty easily extend this for arbitrary subpackets like spk: does. > > You can set arbitrary subpackets. Just specify the subpacket numbers > > that you are interested in, separated by commas, or specify no number > > to get all subpackets. I only showed policy URL and notations in the > > example I gave as those were the two you mentioned. > > Sorry, I was being vague. I actually meant to "set arbitrary > subpackets" as in "adding arbitrary subpackets to a signature". There > must be a way to write the subpackets, and the only ways I currently > know are the various policy URL and notation options to gpg, which are > quite limited. For example, I can't specify arbitrary binary data, > and I can't set or clear the human-readable flag. Understood. Yes, I agree here as well. > Note that for me personally, implementing a subpacket parser is quite > possibly easier and less error-prone than all the status message and > option management. At the worst it is approximately the same effort. > I am not really having this discussion for a trivial 8 byte packet > format specifying two flags and two binary octet streams. What I am > trying to do here is to look at the matter in a "down the road" sort > of way. And starting to put RFC2440 parser logic into GPGME when we > have come such a long way without it seems a major deviation to me, > that potentially has big consequences if paradigmatized. Or maybe I > am just paranoid. It is a deviation, but I'm not really sure where a good dividing line is for this sort of thing. On the one hand, it's nice to be perfectly abstract, but on the other hand, it also means that GPG needs to know about all subpacket types, and needs different ways to output each type (policy URL, keyserver URL, keyserver prefs, notations, etc). I think the current system is a pretty good compromise. GPG handles the messy packet parsing and gives the data in a, well, not high-level form, but at least vaguely medium-level form. David From marcus.brinkmann at ruhr-uni-bochum.de Sun Oct 2 16:22:53 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sun Oct 2 16:24:58 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <20051002031746.GG13982@jabberwocky.com> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> <8764sgrav1.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051002031746.GG13982@jabberwocky.com> Message-ID: <873bnkq9qa.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Sat, 1 Oct 2005 23:17:46 -0400, David Shaw wrote: > Oops - yes, a misunderstanding. There is already a SUBPACKET status > tag, but it is only used for the preferred keyserver subpacket. I can > pretty easily extend this for arbitrary subpackets like spk: does. It would be nice if you would do that. I have now implemented the code to parse the spk lines, so reading key signature subpackets (type 20 and 26) is now fully supported by GPGME. It will be easy for me to utilize that for SUBPACKET status tags. The NOTATION_* status tags could then be phased out then for all I care. To make sure that this transition works nicely, the SUBPACKET status tag should come before any NOTATION_* status tags (for better automatic detection what GnuPG version we are dealing with). > > > You can set arbitrary subpackets. Just specify the subpacket numbers > > > that you are interested in, separated by commas, or specify no number > > > to get all subpackets. I only showed policy URL and notations in the > > > example I gave as those were the two you mentioned. > > > > Sorry, I was being vague. I actually meant to "set arbitrary > > subpackets" as in "adding arbitrary subpackets to a signature". There > > must be a way to write the subpackets, and the only ways I currently > > know are the various policy URL and notation options to gpg, which are > > quite limited. For example, I can't specify arbitrary binary data, > > and I can't set or clear the human-readable flag. > > Understood. Yes, I agree here as well. Thinking about it, you would probably want three options --sig-subpacket SPK, --cert-subpacket SPK, set-subpacket SPK in analogy to the existing options. Here is a suggestion for the argument value SPK. Of course, this is just the current output format, just as input format. TYPE:FLAGS:LEN:DATA TYPE: integer value, the type of the packet. FLAGS: 1: Part of hashed data (not sure if that makes sense, or if that should be assumed automatically). 2: Critical LEN: Length of data (could also be omitted, as it is implicit in DATA) DATA: The actual binary data, percent escaped. Obviously, no pattern substitution should occur on the decoded DATA. > I think the current system is a pretty good compromise. GPG handles > the messy packet parsing and gives the data in a, well, not high-level > form, but at least vaguely medium-level form. For now, I agree :) After some consideration, the differences are only syntactical anyway. Thanks, Marcus From marcus.brinkmann at ruhr-uni-bochum.de Sun Oct 2 18:46:59 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Sun Oct 2 18:49:59 2005 Subject: GnuPG w32 build po subdir fix Message-ID: <871x33rhmk.wl%marcus.brinkmann@ruhr-uni-bochum.de> Hi, this patch removes a long standing ugly hack. OK to commit? Thanks, Marcus 2005-10-02 Marcus Brinkmann * configure.ac [!$try_gettext]: Invoke AM_PO_SUBDIRS. scripts/ 2005-10-02 Marcus Brinkmann * autogen.sh (DIE): Remove ugly hack for po dir suppression. Index: scripts/autogen.sh =================================================================== --- scripts/autogen.sh (Revision 3899) +++ scripts/autogen.sh (Arbeitskopie) @@ -99,12 +99,6 @@ $tsdir/configure ${conf_CC} --build=${build} --host=${host} \ ${disable_foo_tests} $* - - # Ugly hack to overcome a gettext problem. Someone should look into - # gettext to figure out why the po directory is not ignored as it used - # to be. - [ $? = 0 ] && touch $tsdir/po/all - exit $? fi Index: configure.ac =================================================================== --- configure.ac (Revision 3899) +++ configure.ac (Arbeitskopie) @@ -708,6 +708,7 @@ AC_SUBST(USE_NLS) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(BUILD_INCLUDED_LIBINTL) + AM_PO_SUBDIRS fi if test "$try_extensions" = yes || test x"$card_support" = xyes ; then Index: ChangeLog From wk at gnupg.org Mon Oct 3 12:56:27 2005 From: wk at gnupg.org (Werner Koch) Date: Mon Oct 3 13:01:44 2005 Subject: GnuPG w32 build po subdir fix In-Reply-To: <871x33rhmk.wl%marcus.brinkmann@ruhr-uni-bochum.de> (Marcus Brinkmann's message of "Sun, 02 Oct 2005 18:46:59 +0200") References: <871x33rhmk.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <87wtku27j8.fsf@wheatstone.g10code.de> On Sun, 02 Oct 2005 18:46:59 +0200, Marcus Brinkmann said: > this patch removes a long standing ugly hack. OK to commit? Sure. An autoconf feature related RSS feed won't be too bad ;-) Shalom-Salam, Werner From wk at gnupg.org Tue Oct 4 08:53:59 2005 From: wk at gnupg.org (Werner Koch) Date: Tue Oct 4 12:34:29 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <8764sgrav1.wl%marcus.brinkmann@ruhr-uni-bochum.de> (Marcus Brinkmann's message of "Sun, 02 Oct 2005 03:00:50 +0200") References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> <8764sgrav1.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <878xx993i0.fsf@wheatstone.g10code.de> On Sun, 02 Oct 2005 03:00:50 +0200, Marcus Brinkmann said: > Actually, I am not really ambitious about this. But it seems to me > that a decision to only to import/export the raw subpacket data is > quite a deviation from the "design contract" that GPGME has with > GnuPG. I am not sure that is really intentional, maybe Werner can > clarify this. Please recall that the aim of gpgme is not to be a all purpose crypto library but to provide a mostly protocol neutral interface for encryption and signing of email and data. As such we have to take care whether a certain feature is really required. I discussed the notation thing with Marcus a few days ago and the basic reasons why we came up with it are: * To support the PKA feature (connecting keys to DNS). * CMS and OpenPGP both provide features one might want to call notation data. Thus we can conclude that this is a common property of encryption protocols. > of way. And starting to put RFC2440 parser logic into GPGME when we > have come such a long way without it seems a major deviation to me, We had the design goal that GPGME should not be aware of OpenPGP internals. Let's avoid creating another airport[1]. Salam-Shalom, Werner [1] "The code is the crypto equivalent of Heathrow Airport." - Peter Gutmann From wk at gnupg.org Tue Oct 4 08:36:35 2005 From: wk at gnupg.org (Werner Koch) Date: Tue Oct 4 12:34:39 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <20051001234632.GF13982@jabberwocky.com> (David Shaw's message of "Sat, 1 Oct 2005 19:46:32 -0400") References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> Message-ID: <87fyrh94b0.fsf@wheatstone.g10code.de> On Sat, 1 Oct 2005 19:46:32 -0400, David Shaw said: > from this effort to be all things for all usages. I would not be > against an OpenPGP library. I usually avoid this question, as Werner > and I respectfully disagree on the subject ;) With GnuPG 2 we will be able to run gpg in a server mode (like gpgsm). This allows for a more flexible interface and to write a library on top of it. gpgme is one such library but one might want to write a different one for tasks like OpenPGP message mangling and such. Eventually we will see an OpenPGP parsing library similar to libksba (the X.509/CMS library used by gpgsm). My long standing security concerns won't be valid anymore with gpg-agent taking the part of handling the more sensitive data. Shalom-Salam, Werner From wk at gnupg.org Tue Oct 4 09:01:42 2005 From: wk at gnupg.org (Werner Koch) Date: Tue Oct 4 12:35:19 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <874q80r9zp.wl%marcus.brinkmann@ruhr-uni-bochum.de> (Marcus Brinkmann's message of "Sun, 02 Oct 2005 03:19:38 +0200") References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> <874q80r9zp.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <874q7x9355.fsf@wheatstone.g10code.de> On Sun, 02 Oct 2005 03:19:38 +0200, Marcus Brinkmann said: > If X.509 comes up with similar features, they will probably be > distinct enough to justify a different format (and name) anyway. No. We can easily map signed attributes to notation data. There is actually no difference except that the name must be an OID which makes up a perfect name. I'll soon implement such an attribute for gpgsm. > Suggestion: How about > --add-subpacket 20:3:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG > as a command line option? I don't see the need for it. This puts too much OpenPGP knowledge into GPGME. For a full featured keylisting with all details, gpgme might not be the right tool. Remember the "made easy"? It is already too complicated. We do have many many details in the OpenPGP format; The majority is of no use for a user trying to encrypt/sign/verify something. Shalom-Salam, Werner From wk at gnupg.org Tue Oct 4 09:15:08 2005 From: wk at gnupg.org (Werner Koch) Date: Tue Oct 4 12:35:32 2005 Subject: notation data In-Reply-To: <87wtkxuscy.wl%marcus.brinkmann@ruhr-uni-bochum.de> (Marcus Brinkmann's message of "Sat, 01 Oct 2005 18:14:37 +0200") References: <87wtkxuscy.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <87zmpp7nyb.fsf@wheatstone.g10code.de> On Sat, 01 Oct 2005 18:14:37 +0200, Marcus Brinkmann said: > 1. GPGME currently does pass through the notation data unchanged. > This means patterns are evaluated (like %k etc). As I can convert > a string with escape charactere transparently in GPGME, no action > in GnuPG is required to make this behaviour optional. But I think > it would be convenient to have a flag that switches it off (it can > be a pseudo flag for the notation data). Makes sense to me. > 2. There is no way to pass arbitrary binary data for the notation > name(!) and value to GnuPG. So currently only strings are allowed. No problem. No such notation data has been defined and common practise for the NAME is to use an email address, so it is anyway rather limited. No need to make proliferation of binary names etc. easier using gpgme. > 3. There is no way to specify a notation name that starts with a '!' > character without setting the critical flag (and I am not sure if > "!!name@foo" will even work). GPGME could detect this and return See above. It is not a good idea to do this. > an error, but currently it doesn't. Furthermore, if more flags are > defined by the standard, names that used to work may start to If there will ever be new flags, we can change this. You might want to error out if the name starts with a '!'. > 4. There is no way to read out the critical flag. GnuPG should issue > a NOTATION_FLAGS status message after NOTATION_DATA with the flags > of the notation. Okay, we need to do something about it. NOTATION_FLAGS is probably the easiest way. > 5. GnuPG automatically sets the human-readable flag. This seems to be > wrong to me, as RFC2440 says: > First octet: 0x80 = human-readable. This note is text, a note > from one person to another, and has no > meaning to software. I recall that there was a discussion in the WG on that issue but without any concrete results. Salam-Shalom, Werner From marcus.brinkmann at ruhr-uni-bochum.de Tue Oct 4 22:57:27 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Tue Oct 4 22:59:52 2005 Subject: key sig notation data in --with-colon mode? In-Reply-To: <874q7x9355.fsf@wheatstone.g10code.de> References: <87br29q7p5.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001211449.GD13982@jabberwocky.com> <878xxcrh58.wl%marcus.brinkmann@ruhr-uni-bochum.de> <20051001234632.GF13982@jabberwocky.com> <874q80r9zp.wl%marcus.brinkmann@ruhr-uni-bochum.de> <874q7x9355.fsf@wheatstone.g10code.de> Message-ID: <87irwd6lvs.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Tue, 04 Oct 2005 09:01:42 +0200, Werner Koch wrote: > On Sun, 02 Oct 2005 03:19:38 +0200, Marcus Brinkmann said: > > Suggestion: How about > > --add-subpacket 20:3:24:%80%00%00%00%00%09%00%07MyFOO@FOOABCDEFG > > as a command line option? > > I don't see the need for it. This puts too much OpenPGP knowledge > into GPGME. I first thought so, too, but you can just as well take the same definition as OpenPGP uses as GnuPG's native interface and document it in doc/DETAILS. If you squint your eyes the right way, the differences are merely syntactical. That means that gpgsm can easily dump OpenPGP like subpackets for notation data, if so is desired. My main concern here is consistency: I should be able to read and write exactly the same notation data. If I can read a notation data, I want to be able to write it, essentially making a 1:1 copy. Reading and writing subpackets (notation data, policy URLs) should be very similar. I think that is just a sanity requirement. Currently, this is not met. David said the OpenPGP raw format is the one to go for. You seem to say the NOTATION_* format is the one to go for. I will feel better when you both agree on the subject :) Thanks, Marcus From wk at gnupg.org Wed Oct 5 14:54:49 2005 From: wk at gnupg.org (Werner Koch) Date: Wed Oct 5 15:09:47 2005 Subject: [Announce] Libgcrypt 1.2.2 released Message-ID: <87br24f7ja.fsf@wheatstone.g10code.de> Skipped content of type multipart/signed-------------- next part -------------- _______________________________________________ Gnupg-announce mailing list Gnupg-announce@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-announce From JPClizbe at comcast.net Thu Oct 6 08:27:09 2005 From: JPClizbe at comcast.net (John Clizbe) Date: Thu Oct 6 08:33:53 2005 Subject: Cygwin build error GnuPG 1.4.3-cvs rev 3902 Message-ID: <4344C3BD.9040406@comcast.net> make[2]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14/keyserver' Making all in po make[2]: Entering directory `/home/jpclizbe/gnupg-cvs/gnupg14/po' make gnupg.pot-update make[3]: Entering directory `/home/jpclizbe/gnupg-cvs/gnupg14/po' make[3]: *** No rule to make target `../g10/g10.c', needed by `gnupg.pot-update'. Stop. make[3]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14/po' make[2]: *** [gnupg.pot] Error 2 make[2]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14' make: *** [all] Error 2 Building on Cygwin worked fine two days ago with rev 3900. Building with MSYS/MinGW worked fine for both revisions. Also, all OpenPGP card functions in a Cygwin build look for libpcsclite.so as the driver lib even though winscard.dll is the driver on a Win32 system. -- John P. Clizbe Inet: JPClizbe(a)comcast DOT nyet Golden Bear Networks PGP/GPG KeyID: 0x608D2A10 "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 667 bytes Desc: OpenPGP digital signature Url : /pipermail/attachments/20051006/42f6272f/signature.pgp From marcus.brinkmann at ruhr-uni-bochum.de Sun Oct 2 00:53:37 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Thu Oct 6 11:57:28 2005 Subject: [Announce] GPGME 1.1.0 released Message-ID: <877jcwrgr2.wl%marcus.brinkmann@ruhr-uni-bochum.de> We are pleased to announce version 1.0.1 of GnuPG Made Easy, a library designed to make access to GnuPG easier for applications. It may be found in the file (about 818 KB/630 KB compressed) ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.0.tar.gz ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.0.tar.bz2 The following files are also available: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.0.tar.gz.sig ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.0.tar.bz2.sig ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.0.3-1.1.0.diff.gz It should soon appear on the mirrors listed at: http://www.gnupg.org/mirrors.html Bug reports and requests for assistance should be sent to: gnupg-devel@gnupg.org The sha1sum checksums for this distibution are 2b4f6a8eb4bbc3bc8ad049840c8cbe695ad379f9 gpgme-1.1.0.tar.gz be6a3ed597e21245f9132364ab5f7e6039069988 gpgme-1.1.0.tar.bz2 bdbeb96ba64c8c358c0885532b083659339b1258 gpgme-1.1.0.tar.gz.sig 9e074b64aa1755ae9e9dc4d4a2fd8da637711cc0 gpgme-1.1.0.tar.bz2.sig d3b04ab5708d86156f586b8fc34d0958b367e552 gpgme-1.0.3-1.1.0.diff.gz Noteworthy changes in version 1.1.0 (2005-10-01) ------------------------------------------------ * You can now configure the backend engine file name and home directory to be used, as default and per context. * Information about the recipients of an encrypted text is now available at decryption time. * New status GPGME_STATUS_PLAINTEXT. This is analyzed by the decrypt and verify handlers, the information about the plaintext filename, if available is made available in the new field file_name of the respective result structure. * The code for "automagically detecting the thread library" has been removed from libgpgme. It is deprecated since version 0.4.3. Since then, you had to link against libgpgme-pthread for applications using pthread and libgpgme-pth for applications using GNU Pth. The code was removed because it caused compilation problems on systems where the pthread.h header from GNU Pth is available in addition to the system header (FreeBSD 6 and later for example). * "./autogen.sh --build-w32" does now build gpgme.dll. * [W32] The environment variable GPGME_DEBUG now uses a semicolon as delimiter. The standard install directory is used when locating gpg or gpgsm before finally falling back to the hardwired name. * There is a new flag for keys and subkeys, is_qualified, which indicates if a key can be used for qualified signatures according to local government regulations. * You can associate a filename with a data object using the new function gpgme_data_set_file_name(). This filename will be stored in the output when encrypting or signing the data and will be returned when decrypting or verifying the output data. * You can now set notation data at signature creation with the new function gpgme_sig_notation_add(). * Interface changes relative to the 1.0.3 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpgme_set_engine_info NEW gpgme_ctx_get_engine_info NEW gpgme_ctx_set_engine_info NEW gpgme_recipient_t NEW gpgme_decrypt_result_t EXTENDED: New field recipients. gpgme_verify_result_t EXTENDED: New fields pubkey_algo, hash_algo. gpgme_decrypt_result_t EXTENDED: New field plaintext_filename. gpgme_verify_result_t EXTENDED: New field plaintext_filename. GPGME_STATUS_PLAINTEXT NEW gpgme_key_t EXTENDED: New field is_qualified. gpgme_subkey_t EXTENDED: New field is_qualified. gpgme_data_get_file_name NEW gpgme_data_set_file_name NEW gpgme_sig_notation_flags_t NEW GPGME_SIG_NOTATION_HUMAN_READABLE NEW GPGME_SIG_NOTATAION_CRITICAL NEW gpgme_sig_notation_clear NEW gpgme_sig_notation_add NEW gpgme_sig_notation_get NEW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Marcus Brinkmann mb@g10code.de _______________________________________________ Gnupg-announce mailing list Gnupg-announce@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-announce _______________________________________________ Gnupg-devel mailing list Gnupg-devel@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-devel _______________________________________________ Gnupg-announce mailing list Gnupg-announce@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-announce From jvender at owensboro.net Thu Oct 6 18:22:09 2005 From: jvender at owensboro.net (Joe Vender) Date: Thu Oct 6 18:24:06 2005 Subject: Changing key capabilities Message-ID: <200510061122090370.000CA252@216.135.2.37> Is it possible to change the capabilities on a key or subkey using GnuPG? If so, please describe how. From JPClizbe at comcast.net Fri Oct 7 06:30:19 2005 From: JPClizbe at comcast.net (John Clizbe) Date: Fri Oct 7 06:37:35 2005 Subject: Cygwni build error: 1.4.3-cvs rev 3903 Message-ID: <4345F9DB.4080509@comcast.net> Made it further today with rev 3903. Building with current Cygwin. rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po de.po:1538: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same /usr/bin/msgfmt: found 1 fatal error make[3]: *** [de.gmo] Error 1 make[3]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14/po' make[2]: *** [stamp-po] Error 2 make[2]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jpclizbe/gnupg-cvs/gnupg14' make: *** [all] Error 2 jpclizbe@Lunchbox ~/gnupg-cvs/gnupg14 $ -- John P. Clizbe Inet: JPClizbe(a)comcast DOT nyet Golden Bear Networks PGP/GPG KeyID: 0x608D2A10 "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 667 bytes Desc: OpenPGP digital signature Url : /pipermail/attachments/20051006/682a6264/signature.pgp From wk at gnupg.org Fri Oct 7 08:49:15 2005 From: wk at gnupg.org (Werner Koch) Date: Fri Oct 7 08:51:42 2005 Subject: Cygwni build error: 1.4.3-cvs rev 3903 In-Reply-To: <4345F9DB.4080509@comcast.net> (John Clizbe's message of "Thu, 06 Oct 2005 23:30:19 -0500") References: <4345F9DB.4080509@comcast.net> Message-ID: <87ek6x7rf8.fsf@wheatstone.g10code.de> On Thu, 06 Oct 2005 23:30:19 -0500, John Clizbe said: > Made it further today with rev 3903. Building with current Cygwin. > rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po > de.po:1538: format specifications in 'msgid' and 'msgstr' for argument 1 are > not the same I have already fixed that in my working copy but not commited because I try to batch up translation changes. Here is a part of the diff: msgid "NOTE: %s is not available in this version\n" -msgstr "HINWEIS: %d ist in dieser Version nicht vorhanden\n" +msgstr "HINWEIS: %s ist in dieser Version nicht vorhanden\n" (just replaced %d by %s) Salam-Shalom, Werner From gaudenz at soziologie.ch Wed Oct 12 18:31:38 2005 From: gaudenz at soziologie.ch (Gaudenz Steinlin) Date: Thu Oct 13 11:54:35 2005 Subject: pin prompt for kobil kaan advanced usb cardreader with integraded pinpad Message-ID: <20051012163138.GA22385@soziologie.ch> Hi I'd like to use a kobil kaan advanced usb cardreader with gpg. After upgrading the cardreader's firmware basic operations (like gpg --card-status) work. But whenever I want to do an operation that requires a pin I'm asked to enter the pin via my keyboard, but this cardreader has an integrated keypad. Just entering the pin on the readers keypad does not work. It however seems to work to enter the pin on the keyboard (tried with the passwd command to change the pin) How can I use the keypad with gpg? Thanks for any hints, Gaudenz -- Ever tried. Ever failed. No matter. Try again. Fail again. Fail better. ~ Samuel Beckett ~ From list at jth.net Sun Oct 16 13:16:26 2005 From: list at jth.net (Jørgen Thomsen) Date: Sun Oct 16 15:55:53 2005 Subject: Locking broken in gnupg 1.4.2 ? Message-ID: I frequently get missing signatures and I have traced it down to the fact that several instances of the program is running simultaneously: secmem usage: 2464/2464 bytes in 7/7 blocks of pool 2464/32768 gpg: fatal: can't read `/home/jth/.gnupg/random_seed': No such file or directory Shouldn't there be some locking mechanism to take care of this? I use calls like this: /usr/bin/gpg --lock-once --default-key yyyyyyyy --pgp8 --batch --passphrase-fd 0 --clearsign "inputfile" (Gaudenz Steinlin's message of "Wed, 12 Oct 2005 18:31:38 +0200") References: <20051012163138.GA22385@soziologie.ch> Message-ID: <874q7jrigd.fsf@wheatstone.g10code.de> On Wed, 12 Oct 2005 18:31:38 +0200, Gaudenz Steinlin said: > How can I use the keypad with gpg? Not yet. Driving the keypad of readers is a proprietary extension and usually requires reverse engineering to make it work. I have code ready for the SCM SPR532 but it is not yet fully integrated. Using the keyboard should alway swork because this uses the standard ISO command. Shalom-Salam, Werner From S.Krishna at ge.com Sun Oct 16 09:29:46 2005 From: S.Krishna at ge.com (Kanakadandila, Sivaramakrishna (GE Consumer & Industrial)) Date: Mon Oct 17 13:16:11 2005 Subject: gpg not running in shell script. Need Help Message-ID: Hi I need help in running gpg command through shell script in Informatica. This is what I tried I have a shell script which will decrypt the file. It is running fine when I ran the same script from $ prompt. The same is not running when I ran through Informatica as a command. I also initialized the PATH session in the script. But nothing is working. Am I missing any thing? Appreciate any help. Siva Shell Script content #!/bin/ksh . /home/apinf/.profile PATH=$PATH:/pwrctr/siva/ ; export PATH DIR=/pwrctr/siva/ cd $DIR echo "Decrypt Started" echo "Password" | gpg -v --passphrase-fd 0 /pwrctr/siva/GEINDSYS.cyc.pgp echo "Decrypt Successful" From sithtracy at yahoo.com Tue Oct 18 19:52:31 2005 From: sithtracy at yahoo.com (Tracy D. Bossong) Date: Tue Oct 18 21:55:50 2005 Subject: Automation of GPG processing In-Reply-To: Message-ID: <20051018175231.11441.qmail@web51712.mail.yahoo.com> You need to set the trust model to what works for your needs in the gpg.conf file and sign and trust the recipients key. --- Stas Rirak wrote: > > Hello, > > I need to automate an encryption process. When I > execute the command > below to process the encryption I am getting the > prompt from GPG asking > if I really sure that this key belong to the > recipient. > > gpg --output [output.gpg] --recipient > [public_key_name --encrypt > [file_to_encrypt.txt] > > After that I need to enter "Y" in order to continue. > But, it should be a > fully automated process. What should I do, so it > will not ask me any > quesions? > > Thank you in advance, > Stas > > _______________________________________________ > Gnupg-users mailing list > Gnupg-users@gnupg.org > http://lists.gnupg.org/mailman/listinfo/gnupg-users > From muede_taube at gmx.de Thu Oct 20 13:03:39 2005 From: muede_taube at gmx.de (Superfrank) Date: Thu Oct 20 14:55:50 2005 Subject: ../include/ttyio.h:49: parse error before `*' Message-ID: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> Hi to all, I?m trying to compile gnupg 1.4.2 on a linux machine but make check fails: Making check in m4 make[1]: Wechsel in das Verzeichnis Verzeichnis +/usr/local/gnupg-1.4.2/m41 make[1]: FIr das Target +check1 gibt es nichts zu tun. make[1]: Verlassen des Verzeichnisses Verzeichnis +/usr/local/gnupg-1.4.2/m41 Making check in intl make[1]: Wechsel in das Verzeichnis Verzeichnis +/usr/local/gnupg-1.4.2/intl1 make[1]: FIr das Target +check1 gibt es nichts zu tun. make[1]: Verlassen des Verzeichnisses Verzeichnis +/usr/local/gnupg-1.4.2/intl1 Making check in zlib make[1]: Wechsel in das Verzeichnis Verzeichnis +/usr/local/gnupg-1.4.2/zlib1 make[1]: FIr das Target +check1 gibt es nichts zu tun. make[1]: Verlassen des Verzeichnisses Verzeichnis +/usr/local/gnupg-1.4.2/zlib1 Making check in util make[1]: Wechsel in das Verzeichnis Verzeichnis +/usr/local/gnupg-1.4.2/util1 source='fileutil.c' object='fileutil.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../scripts/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g -O2 -Wall -c fileutil.c In file included from fileutil.c:32: ../include/ttyio.h:49: parse error before `*' make[1]: *** [fileutil.o] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis +/usr/local/gnupg-1.4.2/util1 make: *** [check-recursive] Fehler 1 I?m not really a programmer and so not able to look in the source but I like to use gnupg. Any suggstions for me? Frank From rdieter at math.unl.edu Thu Oct 20 15:45:53 2005 From: rdieter at math.unl.edu (Rex Dieter) Date: Thu Oct 20 15:44:32 2005 Subject: dirmngr info patch Message-ID: <43579F91.1020601@math.unl.edu> Here's a patch to dirmngr's .info file so that one can cleanly remove it from %_infodir/dir. -- Rex -------------- next part -------------- --- dirmngr-0.9.0/doc/dirmngr.info.fixinfo 2004-12-17 04:36:29.000000000 -0600 +++ dirmngr-0.9.0/doc/dirmngr.info 2005-01-07 08:25:26.000000000 -0600 @@ -3,8 +3,8 @@ INFO-DIR-SECTION GNU Utilities START-INFO-DIR-ENTRY -* dirmngr: (gnupg). X.509 CRL and OCSP server. -* dirmngr-client: (gnupg). X.509 CRL and OCSP client. +* dirmngr: (dirmngr). X.509 CRL and OCSP server. +* dirmngr-client: (dirmngr). X.509 CRL and OCSP client. END-INFO-DIR-ENTRY This file documents the use of dirmngr. --- dirmngr-0.9.0/doc/dirmngr.texi.fixinfo 2004-12-13 08:25:00.000000000 -0600 +++ dirmngr-0.9.0/doc/dirmngr.texi 2005-01-07 08:25:14.000000000 -0600 @@ -65,8 +65,8 @@ @ifnottex @dircategory GNU Utilities @direntry -* dirmngr: (gnupg). X.509 CRL and OCSP server. -* dirmngr-client: (gnupg). X.509 CRL and OCSP client. +* dirmngr: (dirmngr). X.509 CRL and OCSP server. +* dirmngr-client: (dirmngr). X.509 CRL and OCSP client. @end direntry This file documents the use of dirmngr. From marcus.brinkmann at ruhr-uni-bochum.de Thu Oct 20 16:04:09 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Thu Oct 20 16:04:21 2005 Subject: dirmngr info patch In-Reply-To: <43579F91.1020601@math.unl.edu> References: <43579F91.1020601@math.unl.edu> Message-ID: <87br1kcmjq.wl%marcus.brinkmann@ruhr-uni-bochum.de> Hi, I applied your fix to the repository, see the changelog entry below. It will be part of 0.9.3. Thanks! Marcus 2005-10-20 Marcus Brinkmann * doc/dirmngr.texi: Fix direntry. Thanks to Rex Dieter. From dshaw at jabberwocky.com Thu Oct 20 16:10:21 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Thu Oct 20 16:11:00 2005 Subject: ../include/ttyio.h:49: parse error before `*' In-Reply-To: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> References: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> Message-ID: <20051020141021.GA27631@jabberwocky.com> On Thu, Oct 20, 2005 at 01:03:39PM +0200, Superfrank wrote: > Hi to all, > I?m trying to compile gnupg 1.4.2 on a linux machine but make check > fails: > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g -O2 -Wall -c fileutil.c > In file included from fileutil.c:32: > ../include/ttyio.h:49: parse error before `*' Can you send your config.log file that was generated by configure? Also, do you have readline installed on your system? What Linux distribution is this? David From muede_taube at gmx.de Fri Oct 21 11:45:20 2005 From: muede_taube at gmx.de (=?ISO-8859-1?Q?m=FCde?= Taube) Date: Fri Oct 21 13:33:16 2005 Subject: ../include/ttyio.h:49: parse error before `*' In-Reply-To: <20051020141021.GA27631@jabberwocky.com> References: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> <20051020141021.GA27631@jabberwocky.com> Message-ID: <20051021112539.0B9E.MUEDE_TAUBE@gmx.de> Hi David, > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g -O2 -Wall -c fileutil.c > > In file included from fileutil.c:32: > > ../include/ttyio.h:49: parse error before `*' > > Can you send your config.log file that was generated by configure? > Also, do you have readline installed on your system? What Linux > distribution is this? It is red hat based on a 7.0 distribution, just a mail and webserver without X or something. you are right, one of the problem was missing readline lib. I installed readline and now make breaks later: . . . DEPDIR=.deps depmode=gcc /bin/sh ../scripts/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -g -O2 -Wall -c exec.c gcc -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -g -O2 -Wall -o gpg g10.o build-packet.o compress.o compress-bz2.o free-packet.o getkey.o keydb.o keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o progress.o misc.o openfile.o keyid.o parse-packet.o status.o plaintext.o sig-check.o keylist.o signal.o cardglue.o tlv.o card-util.o app-openpgp.o iso7816.o apdu.o ccid-driver.o pkclist.o skclist.o pubkey-enc.o passphrase.o seckey-cert.o encr-data.o cipher.o encode.o sign.o verify.o revoke.o decrypt.o keyedit.o dearmor.o import.o export.o trustdb.o tdbdump.o tdbio.o delkey.o keygen.o pipemode.o helptext.o keyserver.o photoid.o exec.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -lz -lbz2 -lreadline -ltermcap -ldl card-util.o: In function `card_edit_completion': /usr/local/gnupg-1.4.2/g10/card-util.c:1378: undefined reference to `rl_completion_matches' keyedit.o: In function `keyedit_completion': /usr/local/gnupg-1.4.2/g10/keyedit.c:1482: undefined reference to `rl_completion_matches' collect2: ld returned 1 exit status make[2]: *** [gpg] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis ?/usr/local/gnupg-1.4.2/g10? make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis ?/usr/local/gnupg-1.4.2? make: *** [all] Fehler 2 It looks that theres still something wrong with readline (rl means readline?). I installed redline from http://cnswww.cns.cwru.edu/~chet/readline/rltop.html and it compiled without problems. Attached you find the config log. Best Regards Frank -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: application/octet-stream Size: 180252 bytes Desc: not available Url : /pipermail/attachments/20051021/cd077d6f/config-0001.obj From muede_taube at gmx.de Fri Oct 21 13:40:01 2005 From: muede_taube at gmx.de (=?ISO-8859-1?Q?m=FCde?= Taube) Date: Fri Oct 21 13:43:19 2005 Subject: ../include/ttyio.h:49: parse error before `*' In-Reply-To: <20051020141021.GA27631@jabberwocky.com> References: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> <20051020141021.GA27631@jabberwocky.com> Message-ID: <20051021133847.0BA9.MUEDE_TAUBE@gmx.de> Its me again, config.log as text file... Best Regards Frank -------------- next part -------------- A non-text attachment was scrubbed... Name: config_log.txt Type: application/octet-stream Size: 180252 bytes Desc: not available Url : /pipermail/attachments/20051021/23195d85/config_log-0001.obj From muede_taube at gmx.de Fri Oct 21 13:50:37 2005 From: muede_taube at gmx.de (=?ISO-8859-1?Q?m=FCde?= Taube) Date: Fri Oct 21 13:52:01 2005 Subject: ../include/ttyio.h:49: parse error before `*' In-Reply-To: <20051020141021.GA27631@jabberwocky.com> References: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> <20051020141021.GA27631@jabberwocky.com> Message-ID: <20051021134829.0BAC.MUEDE_TAUBE@gmx.de> third try: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gnupg configure 1.4.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = xxxxxxxxxxxx uname -m = i686 uname -r = 2.4.25superfrank9-P4 uname -s = Linux uname -v = #1 Fre Jun 18 18:29:34 CEST 2004 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /usr/java/jdk1.3.0_02/bin PATH: /usr/sbin PATH: /usr/X11R6/bin PATH: /usr/java/jdk1.3.0_02/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1418: checking build system type configure:1436: result: i686-pc-linux-gnu configure:1444: checking host system type configure:1458: result: i686-pc-linux-gnu configure:1480: checking for a BSD-compatible install configure:1535: result: /usr/bin/install -c configure:1546: checking whether build environment is sane configure:1589: result: yes configure:1654: checking for gawk configure:1670: found /bin/gawk configure:1680: result: gawk configure:1690: checking whether make sets $(MAKE) configure:1710: result: yes configure:1888: checking which random module to use configure:1904: result: default configure:1936: checking whether use of /dev/random is requested configure:1945: result: yes configure:1950: checking whether assembler modules are requested configure:1959: result: yes configure:1962: checking whether memory guard is requested configure:1971: result: no configure:1984: checking whether non excutable stack support is requested configure:1993: result: no configure:1998: checking whether SELinux support is requested configure:2007: result: no configure:2011: checking whether the new iconv based code is requested configure:2020: result: yes configure:2023: checking whether to enable the experimental backsigs code configure:2032: result: no configure:2070: checking whether OpenPGP card support is requested configure:2077: result: yes configure:2082: checking whether gpg-agent support is requested configure:2089: result: yes configure:2093: checking whether to enable the RSA public key algorithm configure:2100: result: yes configure:2110: checking whether to enable the IDEA cipher configure:2117: result: yes configure:2131: checking for idea cipher module configure:2143: result: no configure:2147: checking whether to enable the CAST5 cipher configure:2154: result: yes configure:2164: checking whether to enable the BLOWFISH cipher configure:2171: result: yes configure:2181: checking whether to enable the AES ciphers configure:2188: result: yes configure:2198: checking whether to enable the TWOFISH cipher configure:2205: result: yes configure:2215: checking whether to enable the SHA-256 digest configure:2222: result: yes configure:2232: checking whether to enable the SHA-384 and SHA-512 digests configure:2239: result: yes configure:2242: checking whether to enable the BZIP2 compression algorithm configure:2249: result: yes configure:2252: checking whether to enable external program execution configure:2259: result: yes configure:2270: checking whether to enable photo ID viewing configure:2286: result: yes configure:2290: checking whether to use a fixed photo ID viewer configure:2308: result: no configure:2312: checking whether to enable external keyserver helpers configure:2328: result: yes configure:2332: checking whether LDAP keyserver support is requested configure:2341: result: yes configure:2344: checking whether HKP keyserver support is requested configure:2353: result: yes configure:2356: checking whether HTTP key fetching support is requested configure:2365: result: yes configure:2368: checking whether finger key fetching support is requested configure:2377: result: yes configure:2380: checking whether ftp key fetching support is requested configure:2389: result: yes configure:2392: checking whether email keyserver support is requested configure:2401: result: no configure:2405: checking whether keyserver exec-path is enabled configure:2416: result: yes configure:2420: checking whether the included zlib is requested configure:2430: result: no configure:2433: checking for the size of the key and uid cache configure:2457: result: 4096 configure:2465: checking whether use of capabilities is requested configure:2475: result: no configure:2487: checking whether to enable maintainer-specific portions of Makefiles configure:2496: result: no configure:2513: checking whether make sets $(MAKE) configure:2533: result: yes configure:2542: checking whether build environment is sane configure:2585: result: yes configure:2649: checking for gcc configure:2665: found /usr/bin/gcc configure:2675: result: gcc configure:2919: checking for C compiler version configure:2922: gcc --version &5 2.96 configure:2925: $? = 0 configure:2927: gcc -v &5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.0) configure:2930: $? = 0 configure:2932: gcc -V &5 gcc: argument to `-V' is missing configure:2935: $? = 1 configure:2958: checking for C compiler default output file name configure:2961: gcc conftest.c >&5 configure:2964: $? = 0 configure:3010: result: a.out configure:3015: checking whether the C compiler works configure:3021: ./a.out configure:3024: $? = 0 configure:3041: result: yes configure:3048: checking whether we are cross compiling configure:3050: result: no configure:3053: checking for suffix of executables configure:3055: gcc -o conftest conftest.c >&5 configure:3058: $? = 0 configure:3083: result: configure:3089: checking for suffix of object files configure:3110: gcc -c conftest.c >&5 configure:3113: $? = 0 configure:3135: result: o configure:3139: checking whether we are using the GNU C compiler configure:3163: gcc -c conftest.c >&5 configure:3169: $? = 0 configure:3172: test -z || test ! -s conftest.err configure:3175: $? = 0 configure:3178: test -s conftest.o configure:3181: $? = 0 configure:3194: result: yes configure:3200: checking whether gcc accepts -g configure:3221: gcc -c -g conftest.c >&5 configure:3227: $? = 0 configure:3230: test -z || test ! -s conftest.err configure:3233: $? = 0 configure:3236: test -s conftest.o configure:3239: $? = 0 configure:3250: result: yes configure:3267: checking for gcc option to accept ANSI C configure:3337: gcc -c -g -O2 conftest.c >&5 configure:3343: $? = 0 configure:3346: test -z || test ! -s conftest.err configure:3349: $? = 0 configure:3352: test -s conftest.o configure:3355: $? = 0 configure:3373: result: none needed configure:3391: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before `me' configure:3397: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3538: checking for style of include used by make configure:3566: result: GNU configure:3594: checking dependency style of gcc configure:3684: result: gcc configure:3706: checking how to run the C preprocessor configure:3741: gcc -E conftest.c configure:3747: $? = 0 configure:3779: gcc -E conftest.c conftest.c:21:28: ac_nonexistent.h: No such file or directory configure:3785: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | /* end confdefs.h. */ | #include configure:3824: result: gcc -E configure:3848: gcc -E conftest.c configure:3854: $? = 0 configure:3886: gcc -E conftest.c conftest.c:21:28: ac_nonexistent.h: No such file or directory configure:3892: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | /* end confdefs.h. */ | #include configure:3976: checking for ranlib configure:3992: found /usr/bin/ranlib configure:4003: result: ranlib configure:4056: checking for ar configure:4072: found /usr/bin/ar configure:4083: result: ar configure:4097: checking for perl configure:4115: found /usr/bin/perl configure:4127: result: /usr/bin/perl configure:4135: checking for library containing strerror configure:4165: gcc -o conftest -g -O2 conftest.c >&5 configure:4171: $? = 0 configure:4174: test -z || test ! -s conftest.err configure:4177: $? = 0 configure:4180: test -s conftest configure:4183: $? = 0 configure:4252: result: none required configure:4266: checking for special C compiler options needed for large files configure:4363: result: no configure:4369: checking for _FILE_OFFSET_BITS value needed for large files configure:4400: gcc -c -g -O2 conftest.c >&5 conftest.c:27: warning: left shift count >= width of type conftest.c:27: warning: left shift count >= width of type conftest.c:29: size of array `off_t_is_large' is negative configure:4406: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:4452: gcc -c -g -O2 conftest.c >&5 configure:4458: $? = 0 configure:4461: test -z || test ! -s conftest.err configure:4464: $? = 0 configure:4467: test -s conftest.o configure:4470: $? = 0 configure:4482: result: 64 configure:4492: checking for _LARGE_FILES value needed for large files configure:4523: gcc -c -g -O2 conftest.c >&5 configure:4529: $? = 0 configure:4532: test -z || test ! -s conftest.err configure:4535: $? = 0 configure:4538: test -s conftest.o configure:4541: $? = 0 configure:4605: result: no configure:4630: checking for a BSD-compatible install configure:4685: result: /usr/bin/install -c configure:4700: checking for gawk configure:4726: result: gawk configure:4738: checking for docbook-to-man configure:4765: result: no configure:4782: checking for faqprog.pl configure:4791: result: no configure:4809: checking for docbook2texi configure:4836: result: no configure:4843: checking for sgml to texi tools configure:4851: result: no configure:4984: checking for BSD-compatible nm configure:5016: result: /usr/bin/nm -B configure:5021: checking command to parse /usr/bin/nm -B output configure:5085: gcc -c -g -O2 conftest.c >&5 configure:5088: $? = 0 configure:5092: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.* [ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' \> conftest.nm configure:5095: $? = 0 configure:5154: gcc -o conftest -g -O2 conftest.c conftestm.o >&5 configure:5157: $? = 0 configure:5191: result: yes configure:5209: checking for _ prefix in compiled symbols configure:5219: gcc -c -g -O2 conftest.c >&5 configure:5222: $? = 0 configure:5226: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.* [ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' \> conftest.nm configure:5229: $? = 0 configure:5256: result: no configure:5278: checking for gethostbyname configure:5335: gcc -o conftest -g -O2 conftest.c >&5 configure:5341: $? = 0 configure:5344: test -z || test ! -s conftest.err configure:5347: $? = 0 configure:5350: test -s conftest configure:5353: $? = 0 configure:5365: result: yes configure:5439: checking for setsockopt configure:5496: gcc -o conftest -g -O2 conftest.c >&5 configure:5502: $? = 0 configure:5505: test -z || test ! -s conftest.err configure:5508: $? = 0 configure:5511: test -s conftest configure:5514: $? = 0 configure:5526: result: yes configure:5614: checking for library containing res_query configure:5644: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccsXzV9w.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:33: undefined reference to `res_query' collect2: ld returned 1 exit status configure:5650: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char res_query (); | int | main () | { | res_query (); | ; | return 0; | } configure:5698: gcc -o conftest -g -O2 conftest.c -lresolv >&5 configure:5704: $? = 0 configure:5707: test -z || test ! -s conftest.err configure:5710: $? = 0 configure:5713: test -s conftest configure:5716: $? = 0 configure:5731: result: -lresolv configure:5865: checking for library containing dn_expand configure:5895: gcc -o conftest -g -O2 conftest.c -lresolv >&5 configure:5901: $? = 0 configure:5904: test -z || test ! -s conftest.err configure:5907: $? = 0 configure:5910: test -s conftest configure:5913: $? = 0 configure:5982: result: none required configure:6116: checking for library containing dn_skipname configure:6146: gcc -o conftest -g -O2 conftest.c -lresolv >&5 /tmp/ccDFyUsk.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:33: undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure:6152: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char dn_skipname (); | int | main () | { | dn_skipname (); | ; | return 0; | } configure:6200: gcc -o conftest -g -O2 conftest.c -lresolv -lresolv >&5 /tmp/cc9amZhG.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:33: undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure:6206: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char dn_skipname (); | int | main () | { | dn_skipname (); | ; | return 0; | } configure:6200: gcc -o conftest -g -O2 conftest.c -lbind -lresolv >&5 /usr/bin/ld: cannot find -lbind collect2: ld returned 1 exit status configure:6206: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char dn_skipname (); | int | main () | { | dn_skipname (); | ; | return 0; | } configure:6233: result: no configure:6239: checking for library containing __dn_skipname configure:6269: gcc -o conftest -g -O2 conftest.c -lresolv >&5 configure:6275: $? = 0 configure:6278: test -z || test ! -s conftest.err configure:6281: $? = 0 configure:6284: test -s conftest configure:6287: $? = 0 configure:6356: result: none required configure:6393: gcc -o conftest -g -O2 conftest.c -lresolv >&5 configure:6399: $? = 0 configure:6402: test -z || test ! -s conftest.err configure:6405: $? = 0 configure:6408: test -s conftest configure:6411: $? = 0 configure:6464: checking whether LDAP via "-lldap" is present and sane configure:6489: gcc -o conftest -g -O2 conftest.c -lldap >&5 conftest.c:28:18: ldap.h: No such file or directory configure:6495: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | | #ifdef _WIN32 | #include | #include | #else | #include | #endif | | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6518: result: no configure:6522: checking whether I can make LDAP be sane with lber.h configure:6541: gcc -o conftest -g -O2 conftest.c -lldap >&5 conftest.c:23:18: lber.h: No such file or directory conftest.c:24:18: ldap.h: No such file or directory configure:6547: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6570: result: no configure:6464: checking whether LDAP via "-lldap -llber" is present and sane configure:6489: gcc -o conftest -g -O2 conftest.c -lldap -llber >&5 conftest.c:28:18: ldap.h: No such file or directory configure:6495: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | | #ifdef _WIN32 | #include | #include | #else | #include | #endif | | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6518: result: no configure:6522: checking whether I can make LDAP be sane with lber.h configure:6541: gcc -o conftest -g -O2 conftest.c -lldap -llber >&5 conftest.c:23:18: lber.h: No such file or directory conftest.c:24:18: ldap.h: No such file or directory configure:6547: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6570: result: no configure:6464: checking whether LDAP via "-lldap -llber -lresolv" is present and sane configure:6489: gcc -o conftest -g -O2 conftest.c -lldap -llber -lresolv >&5 conftest.c:28:18: ldap.h: No such file or directory configure:6495: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | | #ifdef _WIN32 | #include | #include | #else | #include | #endif | | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6518: result: no configure:6522: checking whether I can make LDAP be sane with lber.h configure:6541: gcc -o conftest -g -O2 conftest.c -lldap -llber -lresolv >&5 conftest.c:23:18: lber.h: No such file or directory conftest.c:24:18: ldap.h: No such file or directory configure:6547: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6570: result: no configure:6464: checking whether LDAP via "-lwldap32" is present and sane configure:6489: gcc -o conftest -g -O2 conftest.c -lwldap32 >&5 conftest.c:28:18: ldap.h: No such file or directory configure:6495: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | | #ifdef _WIN32 | #include | #include | #else | #include | #endif | | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6518: result: no configure:6522: checking whether I can make LDAP be sane with lber.h configure:6541: gcc -o conftest -g -O2 conftest.c -lwldap32 >&5 conftest.c:23:18: lber.h: No such file or directory conftest.c:24:18: ldap.h: No such file or directory configure:6547: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | ldap_open("foobar",1234); | ; | return 0; | } configure:6570: result: no configure:7445: checking whether NLS is requested configure:7454: result: yes configure:7492: checking for msgfmt configure:7523: result: /usr/bin/msgfmt configure:7532: checking for gmsgfmt configure:7563: result: /usr/bin/msgfmt configure:7602: checking for xgettext configure:7636: result: no configure:7673: checking for msgmerge configure:7706: result: no configure:7739: checking for egrep configure:7749: result: grep -E configure:7754: checking for ANSI C header files configure:7779: gcc -c -g -O2 conftest.c >&5 configure:7785: $? = 0 configure:7788: test -z || test ! -s conftest.err configure:7791: $? = 0 configure:7794: test -s conftest.o configure:7797: $? = 0 configure:7883: gcc -o conftest -g -O2 conftest.c >&5 configure:7886: $? = 0 configure:7888: ./conftest configure:7891: $? = 0 configure:7906: result: yes configure:7916: checking for an ANSI C-conforming const configure:7983: gcc -c -g -O2 conftest.c >&5 configure:7989: $? = 0 configure:7992: test -z || test ! -s conftest.err configure:7995: $? = 0 configure:7998: test -s conftest.o configure:8001: $? = 0 configure:8012: result: yes configure:8023: checking for signed configure:8044: gcc -c -g -O2 conftest.c >&5 configure:8050: $? = 0 configure:8053: test -z || test ! -s conftest.err configure:8056: $? = 0 configure:8059: test -s conftest.o configure:8062: $? = 0 configure:8073: result: yes configure:8083: checking for inline configure:8104: gcc -c -g -O2 conftest.c >&5 configure:8110: $? = 0 configure:8113: test -z || test ! -s conftest.err configure:8116: $? = 0 configure:8119: test -s conftest.o configure:8122: $? = 0 configure:8134: result: inline configure:8167: checking for sys/types.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for sys/stat.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for stdlib.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for string.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for memory.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for strings.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for inttypes.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for stdint.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8167: checking for unistd.h configure:8183: gcc -c -g -O2 conftest.c >&5 configure:8189: $? = 0 configure:8192: test -z || test ! -s conftest.err configure:8195: $? = 0 configure:8198: test -s conftest.o configure:8201: $? = 0 configure:8212: result: yes configure:8224: checking for off_t configure:8248: gcc -c -g -O2 conftest.c >&5 configure:8254: $? = 0 configure:8257: test -z || test ! -s conftest.err configure:8260: $? = 0 configure:8263: test -s conftest.o configure:8266: $? = 0 configure:8277: result: yes configure:8289: checking for size_t configure:8313: gcc -c -g -O2 conftest.c >&5 configure:8319: $? = 0 configure:8322: test -z || test ! -s conftest.err configure:8325: $? = 0 configure:8328: test -s conftest.o configure:8331: $? = 0 configure:8342: result: yes configure:8355: checking for long long configure:8377: gcc -o conftest -g -O2 conftest.c >&5 configure:8383: $? = 0 configure:8386: test -z || test ! -s conftest.err configure:8389: $? = 0 configure:8392: test -s conftest configure:8395: $? = 0 configure:8407: result: yes configure:8418: checking for long double configure:8477: result: yes configure:8488: checking for wchar_t configure:8510: gcc -c -g -O2 conftest.c >&5 configure:8516: $? = 0 configure:8519: test -z || test ! -s conftest.err configure:8522: $? = 0 configure:8525: test -s conftest.o configure:8528: $? = 0 configure:8539: result: yes configure:8550: checking for wint_t configure:8572: gcc -c -g -O2 conftest.c >&5 configure:8578: $? = 0 configure:8581: test -z || test ! -s conftest.err configure:8584: $? = 0 configure:8587: test -s conftest.o configure:8590: $? = 0 configure:8601: result: yes configure:8612: checking for inttypes.h configure:8634: gcc -c -g -O2 conftest.c >&5 configure:8640: $? = 0 configure:8643: test -z || test ! -s conftest.err configure:8646: $? = 0 configure:8649: test -s conftest.o configure:8652: $? = 0 configure:8663: result: yes configure:8674: checking for stdint.h configure:8696: gcc -c -g -O2 conftest.c >&5 configure:8702: $? = 0 configure:8705: test -z || test ! -s conftest.err configure:8708: $? = 0 configure:8711: test -s conftest.o configure:8714: $? = 0 configure:8725: result: yes configure:8738: checking for intmax_t configure:8768: gcc -c -g -O2 conftest.c >&5 configure:8774: $? = 0 configure:8777: test -z || test ! -s conftest.err configure:8780: $? = 0 configure:8783: test -s conftest.o configure:8786: $? = 0 configure:8797: result: yes configure:8809: checking whether printf() supports POSIX/XSI format strings configure:8859: gcc -o conftest -g -O2 conftest.c >&5 configure:8862: $? = 0 configure:8864: ./conftest configure:8867: $? = 0 configure:8882: result: yes configure:8896: checking for working alloca.h configure:8917: gcc -o conftest -g -O2 conftest.c >&5 configure:8923: $? = 0 configure:8926: test -z || test ! -s conftest.err configure:8929: $? = 0 configure:8932: test -s conftest configure:8935: $? = 0 configure:8947: result: yes configure:8957: checking for alloca configure:8998: gcc -o conftest -g -O2 conftest.c >&5 configure:9004: $? = 0 configure:9007: test -z || test ! -s conftest.err configure:9010: $? = 0 configure:9013: test -s conftest configure:9016: $? = 0 configure:9028: result: yes configure:9256: checking for stdlib.h configure:9261: result: yes configure:9256: checking for unistd.h configure:9261: result: yes configure:9404: checking for getpagesize configure:9461: gcc -o conftest -g -O2 conftest.c >&5 configure:9467: $? = 0 configure:9470: test -z || test ! -s conftest.err configure:9473: $? = 0 configure:9476: test -s conftest configure:9479: $? = 0 configure:9491: result: yes configure:9501: checking for working mmap configure:9643: gcc -o conftest -g -O2 conftest.c >&5 configure:9646: $? = 0 configure:9648: ./conftest configure:9651: $? = 0 configure:9665: result: yes configure:9677: checking whether we are using the GNU C Library 2.1 or newer configure:9708: result: yes configure:9716: checking whether integer division by zero raises SIGFPE configure:9778: gcc -o conftest -g -O2 conftest.c >&5 configure:9781: $? = 0 configure:9783: ./conftest configure:9786: $? = 0 configure:9801: result: yes configure:9814: checking for unsigned long long configure:9836: gcc -o conftest -g -O2 conftest.c >&5 configure:9842: $? = 0 configure:9845: test -z || test ! -s conftest.err configure:9848: $? = 0 configure:9851: test -s conftest configure:9854: $? = 0 configure:9866: result: yes configure:9898: checking for inttypes.h configure:9921: gcc -c -g -O2 conftest.c >&5 configure:9927: $? = 0 configure:9930: test -z || test ! -s conftest.err configure:9933: $? = 0 configure:9936: test -s conftest.o configure:9939: $? = 0 configure:9951: result: yes configure:9964: checking whether the inttypes.h PRIxNN macros are broken configure:9990: gcc -c -g -O2 conftest.c >&5 configure:9996: $? = 0 configure:9999: test -z || test ! -s conftest.err configure:10002: $? = 0 configure:10005: test -s conftest.o configure:10008: $? = 0 configure:10020: result: no configure:10037: checking for stdint.h configure:10042: result: yes configure:10181: checking for SIZE_MAX configure:11228: result: yes configure:11245: checking for stdint.h configure:11250: result: yes configure:11430: checking for ld used by GCC configure:11494: result: /usr/bin/ld configure:11503: checking if the linker (/usr/bin/ld) is GNU ld configure:11516: result: yes configure:11522: checking for shared library run path origin configure:11535: result: done configure:11941: checking for ptrdiff_t configure:11965: gcc -c -g -O2 conftest.c >&5 configure:11971: $? = 0 configure:11974: test -z || test ! -s conftest.err configure:11977: $? = 0 configure:11980: test -s conftest.o configure:11983: $? = 0 configure:11994: result: yes configure:12031: checking argz.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking argz.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for argz.h configure:12153: result: yes configure:12031: checking limits.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking limits.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for limits.h configure:12153: result: yes configure:12031: checking locale.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking locale.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for locale.h configure:12153: result: yes configure:12031: checking nl_types.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking nl_types.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for nl_types.h configure:12153: result: yes configure:12031: checking malloc.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking malloc.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for malloc.h configure:12153: result: yes configure:12031: checking stddef.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking stddef.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for stddef.h configure:12153: result: yes configure:12022: checking for stdlib.h configure:12027: result: yes configure:12022: checking for string.h configure:12027: result: yes configure:12022: checking for unistd.h configure:12027: result: yes configure:12031: checking sys/param.h usability configure:12043: gcc -c -g -O2 conftest.c >&5 configure:12049: $? = 0 configure:12052: test -z || test ! -s conftest.err configure:12055: $? = 0 configure:12058: test -s conftest.o configure:12061: $? = 0 configure:12071: result: yes configure:12075: checking sys/param.h presence configure:12085: gcc -E conftest.c configure:12091: $? = 0 configure:12111: result: yes configure:12146: checking for sys/param.h configure:12153: result: yes configure:12195: checking for asprintf configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for fwprintf configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for getcwd configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for getegid configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for geteuid configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for getgid configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for getuid configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for mempcpy configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for munmap configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for putenv configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for setenv configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for setlocale configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for snprintf configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for stpcpy configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for strcasecmp configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for strdup configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for strtoul configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for tsearch configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for wcslen configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for __argz_count configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for __argz_stringify configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for __argz_next configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12195: checking for __fsetlocking configure:12252: gcc -o conftest -g -O2 conftest.c >&5 configure:12258: $? = 0 configure:12261: test -z || test ! -s conftest.err configure:12264: $? = 0 configure:12267: test -s conftest configure:12270: $? = 0 configure:12282: result: yes configure:12294: checking whether _snprintf is declared configure:12319: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:95: `_snprintf' undeclared (first use in this function) conftest.c:95: (Each undeclared identifier is reported only once conftest.c:95: for each function it appears in.) configure:12325: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | /* end confdefs.h. */ | #include | int | main () | { | | #ifndef _snprintf | char *p = (char *) _snprintf; | #endif | | ; | return 0; | } configure:12348: result: no configure:12362: checking whether _snwprintf is declared configure:12387: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:96: `_snwprintf' undeclared (first use in this function) conftest.c:96: (Each undeclared identifier is reported only once conftest.c:96: for each function it appears in.) configure:12393: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | /* end confdefs.h. */ | #include | int | main () | { | | #ifndef _snwprintf | char *p = (char *) _snwprintf; | #endif | | ; | return 0; | } configure:12416: result: no configure:12431: checking whether feof_unlocked is declared configure:12456: gcc -c -g -O2 conftest.c >&5 configure:12462: $? = 0 configure:12465: test -z || test ! -s conftest.err configure:12468: $? = 0 configure:12471: test -s conftest.o configure:12474: $? = 0 configure:12485: result: yes configure:12499: checking whether fgets_unlocked is declared configure:12524: gcc -c -g -O2 conftest.c >&5 configure:12530: $? = 0 configure:12533: test -z || test ! -s conftest.err configure:12536: $? = 0 configure:12539: test -s conftest.o configure:12542: $? = 0 configure:12553: result: yes configure:12567: checking whether getc_unlocked is declared configure:12592: gcc -c -g -O2 conftest.c >&5 configure:12598: $? = 0 configure:12601: test -z || test ! -s conftest.err configure:12604: $? = 0 configure:12607: test -s conftest.o configure:12610: $? = 0 configure:12621: result: yes configure:12689: checking for iconv configure:12716: gcc -o conftest -g -O2 conftest.c >&5 configure:12722: $? = 0 configure:12725: test -z || test ! -s conftest.err configure:12728: $? = 0 configure:12731: test -s conftest configure:12734: $? = 0 configure:12799: result: yes configure:12822: checking for iconv declaration configure:12856: gcc -c -g -O2 conftest.c >&5 configure:12862: $? = 0 configure:12865: test -z || test ! -s conftest.err configure:12868: $? = 0 configure:12871: test -s conftest.o configure:12874: $? = 0 configure:12889: result: extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure:12900: checking for nl_langinfo and CODESET configure:12921: gcc -o conftest -g -O2 conftest.c >&5 configure:12927: $? = 0 configure:12930: test -z || test ! -s conftest.err configure:12933: $? = 0 configure:12936: test -s conftest configure:12939: $? = 0 configure:12952: result: yes configure:12964: checking for LC_MESSAGES configure:12985: gcc -o conftest -g -O2 conftest.c >&5 configure:12991: $? = 0 configure:12994: test -z || test ! -s conftest.err configure:12997: $? = 0 configure:13000: test -s conftest configure:13003: $? = 0 configure:13015: result: yes configure:13031: checking for bison configure:13047: found /usr/bin/bison configure:13057: result: bison configure:13070: checking version of bison configure:13079: result: 1.28, ok configure:13101: checking whether NLS is requested configure:13110: result: yes configure:13126: checking whether included gettext is requested configure:13136: result: no configure:13147: checking for GNU gettext in libc configure:13171: gcc -o conftest -g -O2 conftest.c >&5 configure:13177: $? = 0 configure:13180: test -z || test ! -s conftest.err configure:13183: $? = 0 configure:13186: test -s conftest configure:13189: $? = 0 configure:13201: result: yes configure:13752: checking whether to use NLS configure:13754: result: yes configure:13757: checking where the gettext function comes from configure:13768: result: libc configure:13866: checking for strchr configure:13923: gcc -o conftest -g -O2 conftest.c >&5 configure:13929: $? = 0 configure:13932: test -z || test ! -s conftest.err configure:13935: $? = 0 configure:13938: test -s conftest configure:13941: $? = 0 configure:13953: result: yes configure:13976: checking for library containing dlopen configure:14006: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cc5Bc9tQ.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:113: undefined reference to `dlopen' collect2: ld returned 1 exit status configure:14012: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char dlopen (); | int | main () | { | dlopen (); | ; | return 0; | } configure:14060: gcc -o conftest -g -O2 conftest.c -ldl >&5 configure:14066: $? = 0 configure:14069: test -z || test ! -s conftest.err configure:14072: $? = 0 configure:14075: test -s conftest configure:14078: $? = 0 configure:14093: result: -ldl configure:14195: checking for ANSI C header files configure:14347: result: yes configure:14366: checking for unistd.h configure:14371: result: yes configure:14375: checking langinfo.h usability configure:14387: gcc -c -g -O2 conftest.c >&5 configure:14393: $? = 0 configure:14396: test -z || test ! -s conftest.err configure:14399: $? = 0 configure:14402: test -s conftest.o configure:14405: $? = 0 configure:14415: result: yes configure:14419: checking langinfo.h presence configure:14429: gcc -E conftest.c configure:14435: $? = 0 configure:14455: result: yes configure:14490: checking for langinfo.h configure:14497: result: yes configure:14375: checking termio.h usability configure:14387: gcc -c -g -O2 conftest.c >&5 configure:14393: $? = 0 configure:14396: test -z || test ! -s conftest.err configure:14399: $? = 0 configure:14402: test -s conftest.o configure:14405: $? = 0 configure:14415: result: yes configure:14419: checking termio.h presence configure:14429: gcc -E conftest.c configure:14435: $? = 0 configure:14455: result: yes configure:14490: checking for termio.h configure:14497: result: yes configure:14366: checking for locale.h configure:14371: result: yes configure:14375: checking getopt.h usability configure:14387: gcc -c -g -O2 conftest.c >&5 configure:14393: $? = 0 configure:14396: test -z || test ! -s conftest.err configure:14399: $? = 0 configure:14402: test -s conftest.o configure:14405: $? = 0 configure:14415: result: yes configure:14419: checking getopt.h presence configure:14429: gcc -E conftest.c configure:14435: $? = 0 configure:14455: result: yes configure:14490: checking for getopt.h configure:14497: result: yes configure:14515: checking for an ANSI C-conforming const configure:14611: result: yes configure:14621: checking for inline configure:14672: result: inline configure:14691: checking for working volatile configure:14714: gcc -c -g -O2 conftest.c >&5 configure:14720: $? = 0 configure:14723: test -z || test ! -s conftest.err configure:14726: $? = 0 configure:14729: test -s conftest.o configure:14732: $? = 0 configure:14743: result: yes configure:14753: checking for size_t configure:14806: result: yes configure:14818: checking for mode_t configure:14842: gcc -c -g -O2 conftest.c >&5 configure:14848: $? = 0 configure:14851: test -z || test ! -s conftest.err configure:14854: $? = 0 configure:14857: test -s conftest.o configure:14860: $? = 0 configure:14871: result: yes configure:14883: checking return type of signal handlers configure:14914: gcc -c -g -O2 conftest.c >&5 configure:14920: $? = 0 configure:14923: test -z || test ! -s conftest.err configure:14926: $? = 0 configure:14929: test -s conftest.o configure:14932: $? = 0 configure:14943: result: void configure:14951: checking whether sys_siglist is declared configure:14981: gcc -c -g -O2 conftest.c >&5 configure:14987: $? = 0 configure:14990: test -z || test ! -s conftest.err configure:14993: $? = 0 configure:14996: test -s conftest.o configure:14999: $? = 0 configure:15010: result: yes configure:15043: checking endianess configure:15070: gcc -c -g -O2 conftest.c >&5 configure:15076: $? = 0 configure:15079: test -z || test ! -s conftest.err configure:15082: $? = 0 configure:15085: test -s conftest.o configure:15088: $? = 0 configure:15111: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:122: `not' undeclared (first use in this function) conftest.c:122: (Each undeclared identifier is reported only once conftest.c:122: for each function it appears in.) conftest.c:122: parse error before `big' configure:15117: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | ; | return 0; | } configure:15193: result: little configure:15210: checking for byte typedef configure:15236: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:124: `byte' undeclared (first use in this function) conftest.c:124: (Each undeclared identifier is reported only once conftest.c:124: for each function it appears in.) configure:15242: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | /* end confdefs.h. */ | #define _GNU_SOURCE 1 | #include | #include | int | main () | { | | #undef byte | int a = sizeof(byte); | | ; | return 0; | } configure:15266: result: no configure:15276: checking for ushort typedef configure:15302: gcc -c -g -O2 conftest.c >&5 configure:15308: $? = 0 configure:15311: test -z || test ! -s conftest.err configure:15314: $? = 0 configure:15317: test -s conftest.o configure:15320: $? = 0 configure:15332: result: yes configure:15342: checking for ulong typedef configure:15368: gcc -c -g -O2 conftest.c >&5 configure:15374: $? = 0 configure:15377: test -z || test ! -s conftest.err configure:15380: $? = 0 configure:15383: test -s conftest.o configure:15386: $? = 0 configure:15398: result: yes configure:15408: checking for u16 typedef configure:15434: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:126: `u16' undeclared (first use in this function) conftest.c:126: (Each undeclared identifier is reported only once conftest.c:126: for each function it appears in.) configure:15440: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | /* end confdefs.h. */ | #define _GNU_SOURCE 1 | #include | #include | int | main () | { | | #undef u16 | int a = sizeof(u16); | | ; | return 0; | } configure:15464: result: no configure:15474: checking for u32 typedef configure:15500: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:126: `u32' undeclared (first use in this function) conftest.c:126: (Each undeclared identifier is reported only once conftest.c:126: for each function it appears in.) configure:15506: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | /* end confdefs.h. */ | #define _GNU_SOURCE 1 | #include | #include | int | main () | { | | #undef u32 | int a = sizeof(u32); | | ; | return 0; | } configure:15530: result: no configure:15541: checking for unsigned short configure:15565: gcc -c -g -O2 conftest.c >&5 configure:15571: $? = 0 configure:15574: test -z || test ! -s conftest.err configure:15577: $? = 0 configure:15580: test -s conftest.o configure:15583: $? = 0 configure:15594: result: yes configure:15597: checking size of unsigned short configure:15909: gcc -o conftest -g -O2 conftest.c >&5 configure:15912: $? = 0 configure:15914: ./conftest configure:15917: $? = 0 configure:15940: result: 2 configure:15947: checking for unsigned int configure:15971: gcc -c -g -O2 conftest.c >&5 configure:15977: $? = 0 configure:15980: test -z || test ! -s conftest.err configure:15983: $? = 0 configure:15986: test -s conftest.o configure:15989: $? = 0 configure:16000: result: yes configure:16003: checking size of unsigned int configure:16315: gcc -o conftest -g -O2 conftest.c >&5 configure:16318: $? = 0 configure:16320: ./conftest configure:16323: $? = 0 configure:16346: result: 4 configure:16353: checking for unsigned long configure:16377: gcc -c -g -O2 conftest.c >&5 configure:16383: $? = 0 configure:16386: test -z || test ! -s conftest.err configure:16389: $? = 0 configure:16392: test -s conftest.o configure:16395: $? = 0 configure:16406: result: yes configure:16409: checking size of unsigned long configure:16721: gcc -o conftest -g -O2 conftest.c >&5 configure:16724: $? = 0 configure:16726: ./conftest configure:16729: $? = 0 configure:16752: result: 4 configure:16759: checking for unsigned long long configure:16812: result: yes configure:16815: checking size of unsigned long long configure:17127: gcc -o conftest -g -O2 conftest.c >&5 configure:17130: $? = 0 configure:17132: ./conftest configure:17135: $? = 0 configure:17158: result: 8 configure:17168: checking for inttypes.h configure:17221: result: yes configure:17231: checking for UINT64_C configure:17253: gcc -c -g -O2 conftest.c >&5 conftest.c:124: parse error before `foo' conftest.c:124: initializer element is not constant conftest.c:124: warning: data definition has no type or storage class configure:17259: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | /* end confdefs.h. */ | | uint64_t foo=UINT64_C(42); | int | main () | { | | ; | return 0; | } configure:17282: result: no configure:17719: checking for _LARGEFILE_SOURCE value needed for large files configure:17742: gcc -c -g -O2 conftest.c >&5 configure:17748: $? = 0 configure:17751: test -z || test ! -s conftest.err configure:17754: $? = 0 configure:17757: test -s conftest.o configure:17760: $? = 0 configure:17816: result: no configure:17830: checking for fseeko configure:17851: gcc -o conftest -g -O2 conftest.c >&5 configure:17857: $? = 0 configure:17860: test -z || test ! -s conftest.err configure:17863: $? = 0 configure:17866: test -s conftest configure:17869: $? = 0 configure:17881: result: yes configure:17895: checking for vprintf configure:17952: gcc -o conftest -g -O2 conftest.c >&5 configure:17958: $? = 0 configure:17961: test -z || test ! -s conftest.err configure:17964: $? = 0 configure:17967: test -s conftest configure:17970: $? = 0 configure:17982: result: yes configure:17989: checking for _doprnt configure:18046: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cczHjbd7.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:166: undefined reference to `_doprnt' /usr/local/gnupg-1.4.2/conftest.c:166: undefined reference to `_doprnt' collect2: ld returned 1 exit status configure:18052: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | /* end confdefs.h. */ | /* Define _doprnt to an innocuous variant, in case declares _doprnt. | For example, HP-UX 11i declares gettimeofday. */ | #define _doprnt innocuous__doprnt | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _doprnt (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _doprnt | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char _doprnt (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub__doprnt) || defined (__stub____doprnt) | choke me | #else | char (*f) () = _doprnt; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != _doprnt; | ; | return 0; | } configure:18076: result: no configure:18090: checking for pid_t configure:18114: gcc -c -g -O2 conftest.c >&5 configure:18120: $? = 0 configure:18123: test -z || test ! -s conftest.err configure:18126: $? = 0 configure:18129: test -s conftest.o configure:18132: $? = 0 configure:18143: result: yes configure:18161: checking for unistd.h configure:18166: result: yes configure:18170: checking vfork.h usability configure:18182: gcc -c -g -O2 conftest.c >&5 conftest.c:161:19: vfork.h: No such file or directory configure:18188: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:18210: result: no configure:18214: checking vfork.h presence configure:18224: gcc -E conftest.c conftest.c:127:19: vfork.h: No such file or directory configure:18230: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:18250: result: no configure:18285: checking for vfork.h configure:18292: result: no configure:18310: checking for fork configure:18367: gcc -o conftest -g -O2 conftest.c >&5 configure:18373: $? = 0 configure:18376: test -z || test ! -s conftest.err configure:18379: $? = 0 configure:18382: test -s conftest configure:18385: $? = 0 configure:18397: result: yes configure:18310: checking for vfork configure:18367: gcc -o conftest -g -O2 conftest.c >&5 configure:18373: $? = 0 configure:18376: test -z || test ! -s conftest.err configure:18379: $? = 0 configure:18382: test -s conftest configure:18385: $? = 0 configure:18397: result: yes configure:18408: checking for working fork configure:18431: gcc -o conftest -g -O2 conftest.c >&5 configure:18434: $? = 0 configure:18436: ./conftest configure:18439: $? = 0 configure:18453: result: yes configure:18474: checking for working vfork configure:18607: result: yes configure:18648: checking for strerror configure:18705: gcc -o conftest -g -O2 conftest.c >&5 configure:18711: $? = 0 configure:18714: test -z || test ! -s conftest.err configure:18717: $? = 0 configure:18720: test -s conftest configure:18723: $? = 0 configure:18735: result: yes configure:18648: checking for stpcpy configure:18735: result: yes configure:18648: checking for strsep configure:18705: gcc -o conftest -g -O2 conftest.c >&5 configure:18711: $? = 0 configure:18714: test -z || test ! -s conftest.err configure:18717: $? = 0 configure:18720: test -s conftest configure:18723: $? = 0 configure:18735: result: yes configure:18648: checking for strlwr configure:18705: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cc1o0dvg.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:174: undefined reference to `strlwr' /usr/local/gnupg-1.4.2/conftest.c:174: undefined reference to `strlwr' collect2: ld returned 1 exit status configure:18711: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | /* end confdefs.h. */ | /* Define strlwr to an innocuous variant, in case declares strlwr. | For example, HP-UX 11i declares gettimeofday. */ | #define strlwr innocuous_strlwr | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char strlwr (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef strlwr | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char strlwr (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_strlwr) || defined (__stub___strlwr) | choke me | #else | char (*f) () = strlwr; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != strlwr; | ; | return 0; | } configure:18735: result: no configure:18648: checking for tcgetattr configure:18705: gcc -o conftest -g -O2 conftest.c >&5 configure:18711: $? = 0 configure:18714: test -z || test ! -s conftest.err configure:18717: $? = 0 configure:18720: test -s conftest configure:18723: $? = 0 configure:18735: result: yes configure:18648: checking for strtoul configure:18735: result: yes configure:18648: checking for mmap configure:18705: gcc -o conftest -g -O2 conftest.c >&5 configure:18711: $? = 0 configure:18714: test -z || test ! -s conftest.err configure:18717: $? = 0 configure:18720: test -s conftest configure:18723: $? = 0 configure:18735: result: yes configure:18753: checking for strcasecmp configure:18840: result: yes configure:18753: checking for strncasecmp configure:18810: gcc -o conftest -g -O2 conftest.c >&5 configure:18816: $? = 0 configure:18819: test -z || test ! -s conftest.err configure:18822: $? = 0 configure:18825: test -s conftest configure:18828: $? = 0 configure:18840: result: yes configure:18753: checking for ctermid configure:18810: gcc -o conftest -g -O2 conftest.c >&5 configure:18816: $? = 0 configure:18819: test -z || test ! -s conftest.err configure:18822: $? = 0 configure:18825: test -s conftest configure:18828: $? = 0 configure:18840: result: yes configure:18753: checking for times configure:18810: gcc -o conftest -g -O2 conftest.c >&5 configure:18816: $? = 0 configure:18819: test -z || test ! -s conftest.err configure:18822: $? = 0 configure:18825: test -s conftest configure:18828: $? = 0 configure:18840: result: yes configure:18753: checking for unsetenv configure:18810: gcc -o conftest -g -O2 conftest.c >&5 configure:18816: $? = 0 configure:18819: test -z || test ! -s conftest.err configure:18822: $? = 0 configure:18825: test -s conftest configure:18828: $? = 0 configure:18840: result: yes configure:18858: checking for memmove configure:18915: gcc -o conftest -g -O2 conftest.c >&5 configure:18921: $? = 0 configure:18924: test -z || test ! -s conftest.err configure:18927: $? = 0 configure:18930: test -s conftest configure:18933: $? = 0 configure:18945: result: yes configure:18858: checking for gettimeofday configure:18915: gcc -o conftest -g -O2 conftest.c >&5 configure:18921: $? = 0 configure:18924: test -z || test ! -s conftest.err configure:18927: $? = 0 configure:18930: test -s conftest configure:18933: $? = 0 configure:18945: result: yes configure:18858: checking for getrusage configure:18915: gcc -o conftest -g -O2 conftest.c >&5 configure:18921: $? = 0 configure:18924: test -z || test ! -s conftest.err configure:18927: $? = 0 configure:18930: test -s conftest configure:18933: $? = 0 configure:18945: result: yes configure:18858: checking for setrlimit configure:18915: gcc -o conftest -g -O2 conftest.c >&5 configure:18921: $? = 0 configure:18924: test -z || test ! -s conftest.err configure:18927: $? = 0 configure:18930: test -s conftest configure:18933: $? = 0 configure:18945: result: yes configure:18858: checking for clock_gettime configure:18915: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cc9McCWX.o: In function `main': /usr/local/gnupg-1.4.2/conftest.c:186: undefined reference to `clock_gettime' /usr/local/gnupg-1.4.2/conftest.c:186: undefined reference to `clock_gettime' collect2: ld returned 1 exit status configure:18921: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | /* end confdefs.h. */ | /* Define clock_gettime to an innocuous variant, in case declares clock_gettime. | For example, HP-UX 11i declares gettimeofday. */ | #define clock_gettime innocuous_clock_gettime | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char clock_gettime (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef clock_gettime | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char clock_gettime (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_clock_gettime) || defined (__stub___clock_gettime) | choke me | #else | char (*f) () = clock_gettime; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != clock_gettime; | ; | return 0; | } configure:18945: result: no configure:18964: checking for atexit configure:19021: gcc -o conftest -g -O2 conftest.c >&5 configure:19027: $? = 0 configure:19030: test -z || test ! -s conftest.err configure:19033: $? = 0 configure:19036: test -s conftest configure:19039: $? = 0 configure:19051: result: yes configure:18964: checking for raise configure:19021: gcc -o conftest -g -O2 conftest.c >&5 configure:19027: $? = 0 configure:19030: test -z || test ! -s conftest.err configure:19033: $? = 0 configure:19036: test -s conftest configure:19039: $? = 0 configure:19051: result: yes configure:18964: checking for getpagesize configure:19051: result: yes configure:18964: checking for strftime configure:19021: gcc -o conftest -g -O2 conftest.c >&5 configure:19027: $? = 0 configure:19030: test -z || test ! -s conftest.err configure:19033: $? = 0 configure:19036: test -s conftest configure:19039: $? = 0 configure:19051: result: yes configure:18964: checking for nl_langinfo configure:19021: gcc -o conftest -g -O2 conftest.c >&5 configure:19027: $? = 0 configure:19030: test -z || test ! -s conftest.err configure:19033: $? = 0 configure:19036: test -s conftest configure:19039: $? = 0 configure:19051: result: yes configure:18964: checking for setlocale configure:19051: result: yes configure:19072: checking for waitpid configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for wait4 configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for sigaction configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for sigprocmask configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for rand configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for pipe configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for stat configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19072: checking for getaddrinfo configure:19129: gcc -o conftest -g -O2 conftest.c >&5 configure:19135: $? = 0 configure:19138: test -z || test ! -s conftest.err configure:19141: $? = 0 configure:19144: test -s conftest configure:19147: $? = 0 configure:19159: result: yes configure:19176: checking for mkdtemp configure:19233: gcc -o conftest -g -O2 conftest.c >&5 configure:19239: $? = 0 configure:19242: test -z || test ! -s conftest.err configure:19245: $? = 0 configure:19248: test -s conftest configure:19251: $? = 0 configure:19263: result: yes configure:19176: checking for timegm configure:19233: gcc -o conftest -g -O2 conftest.c >&5 configure:19239: $? = 0 configure:19242: test -z || test ! -s conftest.err configure:19245: $? = 0 configure:19248: test -s conftest configure:19251: $? = 0 configure:19263: result: yes configure:19176: checking for isascii configure:19233: gcc -o conftest -g -O2 conftest.c >&5 configure:19239: $? = 0 configure:19242: test -z || test ! -s conftest.err configure:19245: $? = 0 configure:19248: test -s conftest configure:19251: $? = 0 configure:19263: result: yes configure:19176: checking for memrchr configure:19233: gcc -o conftest -g -O2 conftest.c >&5 configure:19239: $? = 0 configure:19242: test -z || test ! -s conftest.err configure:19245: $? = 0 configure:19248: test -s conftest configure:19251: $? = 0 configure:19263: result: yes configure:19284: checking for struct sigaction configure:19309: gcc -c -g -O2 conftest.c >&5 configure:19315: $? = 0 configure:19318: test -z || test ! -s conftest.err configure:19321: $? = 0 configure:19324: test -s conftest.o configure:19327: $? = 0 configure:19338: result: yes configure:19348: checking for sigset_t configure:19373: gcc -c -g -O2 conftest.c >&5 configure:19379: $? = 0 configure:19382: test -z || test ! -s conftest.err configure:19385: $? = 0 configure:19388: test -s conftest.o configure:19391: $? = 0 configure:19402: result: yes configure:19418: checking for getopt configure:19475: gcc -o conftest -g -O2 conftest.c >&5 configure:19481: $? = 0 configure:19484: test -z || test ! -s conftest.err configure:19487: $? = 0 configure:19490: test -s conftest configure:19493: $? = 0 configure:19505: result: yes configure:19586: checking for gethrtime configure:19610: gcc -o conftest -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:171: `hrtime_t' undeclared (first use in this function) conftest.c:171: (Each undeclared identifier is reported only once conftest.c:171: for each function it appears in.) conftest.c:171: parse error before `tv' conftest.c:172: `tv' undeclared (first use in this function) configure:19616: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_ATEXIT 1 | #define HAVE_RAISE 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_STRFTIME 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WAITPID 1 | #define HAVE_WAIT4 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_RAND 1 | #define HAVE_PIPE 1 | #define HAVE_STAT 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_MKDTEMP 1 | #define HAVE_TIMEGM 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRUCT_SIGACTION 1 | #define HAVE_SIGSET_T 1 | /* end confdefs.h. */ | #include | int | main () | { | | hrtime_t tv; | tv = gethrtime(); | | ; | return 0; | } configure:19641: result: no configure:19711: checking for mlock configure:19768: gcc -o conftest -g -O2 conftest.c >&5 configure:19774: $? = 0 configure:19777: test -z || test ! -s conftest.err configure:19780: $? = 0 configure:19783: test -s conftest configure:19786: $? = 0 configure:19798: result: yes configure:20114: checking whether mlock is broken configure:20158: gcc -o conftest -g -O2 conftest.c >&5 configure:20161: $? = 0 configure:20163: ./conftest configure:20166: $? = 0 configure:20293: result: no configure:20309: checking for sys/stat.h configure:20314: result: yes configure:20309: checking for unistd.h configure:20314: result: yes configure:20318: checking direct.h usability configure:20330: gcc -c -g -O2 conftest.c >&5 conftest.c:203:20: direct.h: No such file or directory configure:20336: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_ATEXIT 1 | #define HAVE_RAISE 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_STRFTIME 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WAITPID 1 | #define HAVE_WAIT4 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_RAND 1 | #define HAVE_PIPE 1 | #define HAVE_STAT 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_MKDTEMP 1 | #define HAVE_TIMEGM 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRUCT_SIGACTION 1 | #define HAVE_SIGSET_T 1 | #define HAVE_MLOCK 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:20358: result: no configure:20362: checking direct.h presence configure:20372: gcc -E conftest.c conftest.c:169:20: direct.h: No such file or directory configure:20378: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_ATEXIT 1 | #define HAVE_RAISE 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_STRFTIME 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WAITPID 1 | #define HAVE_WAIT4 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_RAND 1 | #define HAVE_PIPE 1 | #define HAVE_STAT 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_MKDTEMP 1 | #define HAVE_TIMEGM 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRUCT_SIGACTION 1 | #define HAVE_SIGSET_T 1 | #define HAVE_MLOCK 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:20398: result: no configure:20433: checking for direct.h configure:20440: result: no configure:20453: checking if mkdir takes one argument configure:20484: gcc -c -g -O2 conftest.c >&5 configure:20490: $? = 0 configure:20493: test -z || test ! -s conftest.err configure:20496: $? = 0 configure:20499: test -s conftest.o configure:20502: $? = 0 configure:20513: result: no configure:20804: checking sys/ipc.h usability configure:20816: gcc -c -g -O2 conftest.c >&5 configure:20822: $? = 0 configure:20825: test -z || test ! -s conftest.err configure:20828: $? = 0 configure:20831: test -s conftest.o configure:20834: $? = 0 configure:20844: result: yes configure:20848: checking sys/ipc.h presence configure:20858: gcc -E conftest.c configure:20864: $? = 0 configure:20884: result: yes configure:20919: checking for sys/ipc.h configure:20926: result: yes configure:20804: checking sys/shm.h usability configure:20816: gcc -c -g -O2 conftest.c >&5 configure:20822: $? = 0 configure:20825: test -z || test ! -s conftest.err configure:20828: $? = 0 configure:20831: test -s conftest.o configure:20834: $? = 0 configure:20844: result: yes configure:20848: checking sys/shm.h presence configure:20858: gcc -E conftest.c configure:20864: $? = 0 configure:20884: result: yes configure:20919: checking for sys/shm.h configure:20926: result: yes configure:20940: checking whether IPC_RMID allowes subsequent attaches configure:20979: gcc -o conftest -g -O2 conftest.c >&5 configure:20982: $? = 0 configure:20984: ./conftest configure:20987: $? = 0 configure:21009: result: yes configure:21021: checking whether SHM_LOCK is available configure:21047: gcc -c -g -O2 conftest.c >&5 configure:21053: $? = 0 configure:21056: test -z || test ! -s conftest.err configure:21059: $? = 0 configure:21062: test -s conftest.o configure:21065: $? = 0 configure:21085: result: yes configure:21102: checking for random device configure:21110: result: yes configure:21208: checking for mpi assembler functions configure:21217: result: done configure:21240: checking whether regular expression support is requested configure:21249: result: yes configure:21253: checking whether the included regex lib is requested configure:21263: result: no configure:21268: checking for regcomp configure:21325: gcc -o conftest -g -O2 conftest.c >&5 configure:21331: $? = 0 configure:21334: test -z || test ! -s conftest.err configure:21337: $? = 0 configure:21340: test -s conftest configure:21343: $? = 0 configure:21355: result: yes configure:21366: checking whether your system's regexp library is broken configure:21386: gcc -o conftest -g -O2 conftest.c >&5 configure:21389: $? = 0 configure:21391: ./conftest configure:21394: $? = 0 configure:21408: result: no configure:21465: checking zlib.h usability configure:21477: gcc -c -g -O2 conftest.c >&5 configure:21483: $? = 0 configure:21486: test -z || test ! -s conftest.err configure:21489: $? = 0 configure:21492: test -s conftest.o configure:21495: $? = 0 configure:21505: result: yes configure:21509: checking zlib.h presence configure:21519: gcc -E conftest.c configure:21525: $? = 0 configure:21545: result: yes configure:21580: checking for zlib.h configure:21587: result: yes configure:21592: checking for deflateInit2_ in -lz configure:21622: gcc -o conftest -g -O2 conftest.c -lz >&5 configure:21628: $? = 0 configure:21631: test -z || test ! -s conftest.err configure:21634: $? = 0 configure:21637: test -s conftest configure:21640: $? = 0 configure:21653: result: yes configure:21718: checking for bzlib.h configure:21734: gcc -c -g -O2 conftest.c >&5 configure:21740: $? = 0 configure:21743: test -z || test ! -s conftest.err configure:21746: $? = 0 configure:21749: test -s conftest.o configure:21752: $? = 0 configure:21763: result: yes configure:21766: checking for BZ2_bzCompressInit in -lbz2 configure:21796: gcc -o conftest -g -O2 conftest.c -lbz2 >&5 configure:21802: $? = 0 configure:21805: test -z || test ! -s conftest.err configure:21808: $? = 0 configure:21811: test -s conftest configure:21814: $? = 0 configure:21827: result: yes configure:21883: checking whether libusb is present and sane configure:21904: gcc -o conftest -g -O2 conftest.c -lusb >&5 conftest.c:177:17: usb.h: No such file or directory configure:21910: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_ATEXIT 1 | #define HAVE_RAISE 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_STRFTIME 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WAITPID 1 | #define HAVE_WAIT4 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_RAND 1 | #define HAVE_PIPE 1 | #define HAVE_STAT 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_MKDTEMP 1 | #define HAVE_TIMEGM 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRUCT_SIGACTION 1 | #define HAVE_SIGSET_T 1 | #define HAVE_MLOCK 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define IPC_RMID_DEFERRED_RELEASE 1 | #define IPC_HAVE_SHM_LOCK 1 | #define USE_SHM_COPROCESSING 1 | #define HAVE_DEV_RANDOM 1 | #define USE_RNDLINUX 1 | #define HAVE_BZIP2 1 | /* end confdefs.h. */ | #include | int | main () | { | | usb_bulk_write(NULL,0,NULL,0,0); | | ; | return 0; | } configure:21934: result: no configure:22077: checking whether readline via "-lreadline" is present and sane configure:22105: gcc -o conftest -g -O2 conftest.c -lreadline >&5 /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tgoto' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `BC' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tputs' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `PC' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tgetent' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `UP' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status configure:22111: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_ATEXIT 1 | #define HAVE_RAISE 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_STRFTIME 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WAITPID 1 | #define HAVE_WAIT4 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_RAND 1 | #define HAVE_PIPE 1 | #define HAVE_STAT 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_MKDTEMP 1 | #define HAVE_TIMEGM 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRUCT_SIGACTION 1 | #define HAVE_SIGSET_T 1 | #define HAVE_MLOCK 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define IPC_RMID_DEFERRED_RELEASE 1 | #define IPC_HAVE_SHM_LOCK 1 | #define USE_SHM_COPROCESSING 1 | #define HAVE_DEV_RANDOM 1 | #define USE_RNDLINUX 1 | #define HAVE_BZIP2 1 | /* end confdefs.h. */ | | #include | #include | #include | | int | main () | { | | add_history("foobar"); | rl_catch_signals=0; | rl_inhibit_completion=0; | rl_attempted_completion_function=NULL; | | ; | return 0; | } configure:22135: result: no configure:22077: checking whether readline via "-lreadline -ltermcap" is present and sane configure:22105: gcc -o conftest -g -O2 conftest.c -lreadline -ltermcap >&5 configure:22111: $? = 0 configure:22114: test -z || test ! -s conftest.err configure:22117: $? = 0 configure:22120: test -s conftest configure:22123: $? = 0 configure:22135: result: yes configure:22213: checking if gcc supports -Wno-pointer-sign configure:22235: gcc -c -Wno-pointer-sign conftest.c >&5 cc1: Unrecognized option `-Wno-pointer-sign' configure:22241: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "gnupg" | #define PACKAGE_TARNAME "gnupg" | #define PACKAGE_VERSION "1.4.2" | #define PACKAGE_STRING "gnupg 1.4.2" | #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" | #define PACKAGE "gnupg" | #define VERSION "1.4.2" | #define _GNU_SOURCE 1 | #define EGD_SOCKET_NAME "" | #define USE_RSA 1 | #define USE_IDEA 1 | #define USE_CAST5 1 | #define USE_BLOWFISH 1 | #define USE_AES 1 | #define USE_TWOFISH 1 | #define USE_SHA256 1 | #define PK_UID_CACHE_SIZE 4096 | #define _FILE_OFFSET_BITS 64 | #define USE_DNS_SRV 1 | #define PRINTABLE_OS_NAME "GNU/Linux" | #define NAME_OF_DEV_RANDOM "/dev/random" | #define NAME_OF_DEV_URANDOM "/dev/urandom" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LONG_LONG 1 | #define HAVE_LONG_DOUBLE 1 | #define HAVE_WCHAR_T 1 | #define HAVE_WINT_T 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_POSIX_PRINTF 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define INTDIV0_RAISES_SIGFPE 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_ARGZ_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NL_TYPES_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_ASPRINTF 1 | #define HAVE_FWPRINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_GETEGID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETGID 1 | #define HAVE_GETUID 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MUNMAP 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STPCPY 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRTOUL 1 | #define HAVE_TSEARCH 1 | #define HAVE_WCSLEN 1 | #define HAVE___ARGZ_COUNT 1 | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 1 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_STRCHR 1 | #define HAVE_DL_DLOPEN 1 | #define ENABLE_CARD_SUPPORT 1 | #define ENABLE_AGENT_SUPPORT 1 | #define USE_DYNAMIC_LINKING 1 | #define USE_GNUPG_ICONV 1 | #define STDC_HEADERS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_GETOPT_H 1 | #define RETSIGTYPE void | #define HAVE_DECL_SYS_SIGLIST 1 | #define LITTLE_ENDIAN_HOST 1 | #define HAVE_USHORT_TYPEDEF 1 | #define HAVE_ULONG_TYPEDEF 1 | #define SIZEOF_UNSIGNED_SHORT 2 | #define SIZEOF_UNSIGNED_INT 4 | #define SIZEOF_UNSIGNED_LONG 4 | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define HAVE_INTTYPES_H 1 | #define USE_SHA512 1 | #define HAVE_FSEEKO 1 | #define HAVE_VPRINTF 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_STRERROR 1 | #define HAVE_STPCPY 1 | #define HAVE_STRSEP 1 | #define HAVE_TCGETATTR 1 | #define HAVE_STRTOUL 1 | #define HAVE_MMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_CTERMID 1 | #define HAVE_TIMES 1 | #define HAVE_UNSETENV 1 | #define HAVE_MEMMOVE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_ATEXIT 1 | #define HAVE_RAISE 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_STRFTIME 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WAITPID 1 | #define HAVE_WAIT4 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_RAND 1 | #define HAVE_PIPE 1 | #define HAVE_STAT 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_MKDTEMP 1 | #define HAVE_TIMEGM 1 | #define HAVE_ISASCII 1 | #define HAVE_MEMRCHR 1 | #define HAVE_STRUCT_SIGACTION 1 | #define HAVE_SIGSET_T 1 | #define HAVE_MLOCK 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define IPC_RMID_DEFERRED_RELEASE 1 | #define IPC_HAVE_SHM_LOCK 1 | #define USE_SHM_COPROCESSING 1 | #define HAVE_DEV_RANDOM 1 | #define USE_RNDLINUX 1 | #define HAVE_BZIP2 1 | #define HAVE_LIBREADLINE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:22263: result: no configure:22527: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by gnupg config.status 1.4.2, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on xxxxxxxxxx config.status:863: creating Makefile config.status:863: creating m4/Makefile config.status:863: creating intl/Makefile config.status:863: creating po/Makefile.in config.status:863: creating util/Makefile config.status:863: creating mpi/Makefile config.status:863: creating cipher/Makefile config.status:863: creating g10/Makefile config.status:863: creating keyserver/Makefile config.status:863: creating keyserver/gpgkeys_mailto config.status:863: creating keyserver/gpgkeys_test config.status:863: creating doc/Makefile config.status:863: creating tools/Makefile config.status:863: creating zlib/Makefile config.status:863: creating checks/Makefile config.status:929: creating config.h config.status:1419: config.h is unchanged config.status:1498: linking ./mpi/i386/mpih-add1.S to mpi/mpih-add1.S config.status:1498: linking ./mpi/i386/mpih-mul1.S to mpi/mpih-mul1.S config.status:1498: linking ./mpi/i386/mpih-mul2.S to mpi/mpih-mul2.S config.status:1498: linking ./mpi/i386/mpih-mul3.S to mpi/mpih-mul3.S config.status:1498: linking ./mpi/i386/mpih-lshift.S to mpi/mpih-lshift.S config.status:1498: linking ./mpi/i386/mpih-rshift.S to mpi/mpih-rshift.S config.status:1498: linking ./mpi/i386/mpih-sub1.S to mpi/mpih-sub1.S config.status:1498: linking ./mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h config.status:1735: executing depfiles commands config.status:1735: executing default-1 commands config.status:1735: executing g10defs.h commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_c_volatile=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_func___argz_count=yes ac_cv_func___argz_next=yes ac_cv_func___argz_stringify=yes ac_cv_func___fsetlocking=yes ac_cv_func__doprnt=no ac_cv_func_alloca_works=yes ac_cv_func_asprintf=yes ac_cv_func_atexit=yes ac_cv_func_clock_gettime=no ac_cv_func_ctermid=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_fseeko=yes ac_cv_func_fwprintf=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getcwd=yes ac_cv_func_getegid=yes ac_cv_func_geteuid=yes ac_cv_func_getgid=yes ac_cv_func_gethostbyname=yes ac_cv_func_getopt=yes ac_cv_func_getpagesize=yes ac_cv_func_getrusage=yes ac_cv_func_gettimeofday=yes ac_cv_func_getuid=yes ac_cv_func_isascii=yes ac_cv_func_memmove=yes ac_cv_func_mempcpy=yes ac_cv_func_memrchr=yes ac_cv_func_mkdtemp=yes ac_cv_func_mlock=yes ac_cv_func_mmap=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_munmap=yes ac_cv_func_nl_langinfo=yes ac_cv_func_pipe=yes ac_cv_func_putenv=yes ac_cv_func_raise=yes ac_cv_func_rand=yes ac_cv_func_regcomp=yes ac_cv_func_setenv=yes ac_cv_func_setlocale=yes ac_cv_func_setrlimit=yes ac_cv_func_setsockopt=yes ac_cv_func_sigaction=yes ac_cv_func_sigprocmask=yes ac_cv_func_snprintf=yes ac_cv_func_stat=yes ac_cv_func_stpcpy=yes ac_cv_func_strcasecmp=yes ac_cv_func_strchr=yes ac_cv_func_strdup=yes ac_cv_func_strerror=yes ac_cv_func_strftime=yes ac_cv_func_strlwr=no ac_cv_func_strncasecmp=yes ac_cv_func_strsep=yes ac_cv_func_strtoul=yes ac_cv_func_tcgetattr=yes ac_cv_func_timegm=yes ac_cv_func_times=yes ac_cv_func_tsearch=yes ac_cv_func_unsetenv=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_func_vprintf=yes ac_cv_func_wait4=yes ac_cv_func_waitpid=yes ac_cv_func_wcslen=yes ac_cv_gnu_library_2_1=yes ac_cv_have_decl__snprintf=no ac_cv_have_decl__snwprintf=no ac_cv_have_decl_feof_unlocked=yes ac_cv_have_decl_fgets_unlocked=yes ac_cv_have_decl_getc_unlocked=yes ac_cv_have_decl_sys_siglist=yes ac_cv_have_dev_random=yes ac_cv_header_argz_h=yes ac_cv_header_bzlib_h=yes ac_cv_header_direct_h=no ac_cv_header_getopt_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_langinfo_h=yes ac_cv_header_limits_h=yes ac_cv_header_locale_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_nl_types_h=yes ac_cv_header_stdc=yes ac_cv_header_stddef_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_ipc_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_shm_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_termio_h=yes ac_cv_header_unistd_h=yes ac_cv_header_vfork_h=no ac_cv_header_zlib_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_lib_bz2_BZ2_bzCompressInit=yes ac_cv_lib_z_deflateInit2_=yes ac_cv_mpi_config_done=yes ac_cv_mpi_extra_asm_modules= ac_cv_mpi_sflags= ac_cv_objext=o ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=: ac_cv_path_NM='/usr/bin/nm -B' ac_cv_path_PERL=/usr/bin/perl ac_cv_path_XGETTEXT=: ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_DOCBOOK_TO_MAN=no ac_cv_prog_DOCBOOK_TO_TEXI=no ac_cv_prog_INTLBISON=bison ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes ac_cv_search___dn_skipname='none required' ac_cv_search_dlopen=-ldl ac_cv_search_dn_expand='none required' ac_cv_search_dn_skipname=no ac_cv_search_res_query=-lresolv ac_cv_search_strerror='none required' ac_cv_sizeof_unsigned_int=4 ac_cv_sizeof_unsigned_long=4 ac_cv_sizeof_unsigned_long_long=8 ac_cv_sizeof_unsigned_short=2 ac_cv_sys_file_offset_bits=64 ac_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.* [ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p'\''' ac_cv_sys_large_files=no ac_cv_sys_largefile_CC=no ac_cv_sys_largefile_source=no ac_cv_sys_symbol_underscore=no ac_cv_type_long_long=yes ac_cv_type_mode_t=yes ac_cv_type_off_t=yes ac_cv_type_pid_t=yes ac_cv_type_ptrdiff_t=yes ac_cv_type_signal=void ac_cv_type_sigset_t=yes ac_cv_type_size_t=yes ac_cv_type_struct_sigaction=yes ac_cv_type_unsigned_int=yes ac_cv_type_unsigned_long=yes ac_cv_type_unsigned_long_long=yes ac_cv_type_unsigned_short=yes ac_cv_working_alloca_h=yes acl_cv_hardcode_direct=no acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libext=a acl_cv_path_LD=/usr/bin/ld acl_cv_prog_gnu_ld=yes acl_cv_rpath=done acl_cv_shlibext=so acl_cv_wl=-Wl, am_cv_CC_dependencies_compiler_type=gcc am_cv_func_iconv=yes am_cv_langinfo_codeset=yes am_cv_lib_iconv=no am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);' am_cv_proto_iconv_arg1= am_cv_val_LC_MESSAGES=yes bh_cv_c_signed=yes gnupg_cv_c_endian=little gnupg_cv_enable_keyserver_helpers=yes gnupg_cv_enable_photo_viewers=yes gnupg_cv_func_gethrtime=no gnupg_cv_func_ldap_init=no gnupg_cv_func_ldaplber_init=no gnupg_cv_have_broken_mlock=no gnupg_cv_included_regex=no gnupg_cv_ipc_have_shm_lock=yes gnupg_cv_ipc_rmid_deferred_release=yes gnupg_cv_mkdir_takes_one_arg=no gnupg_cv_regex_broken=no gnupg_cv_typedef_byte=no gnupg_cv_typedef_u16=no gnupg_cv_typedef_u32=no gnupg_cv_typedef_ulong=yes gnupg_cv_typedef_ushort=yes gnupg_cv_uint64_c_works=no gt_cv_c_intmax_t=yes gt_cv_c_long_double=yes gt_cv_c_wchar_t=yes gt_cv_c_wint_t=yes gt_cv_func_gnugettext2_libc=yes gt_cv_func_printf_posix=yes gt_cv_header_inttypes_h=yes gt_cv_int_divbyzero_sigfpe=yes gt_cv_inttypes_pri_broken=no jm_ac_cv_header_inttypes_h=yes jm_ac_cv_header_stdint_h=yes nls_cv_force_use_gnu_gettext=no nls_cv_header_intl= nls_cv_header_libgt= nls_cv_use_gnu_gettext=no ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/local/gnupg-1.4.2/scripts/missing --run aclocal-1.9' ALLOCA='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/local/gnupg-1.4.2/scripts/missing --run tar' AR='ar' AUTOCONF='${SHELL} /usr/local/gnupg-1.4.2/scripts/missing --run autoconf' AUTOHEADER='${SHELL} /usr/local/gnupg-1.4.2/scripts/missing --run autoheader' AUTOMAKE='${SHELL} /usr/local/gnupg-1.4.2/scripts/missing --run automake-1.9' AWK='gawk' BUILD_INCLUDED_LIBINTL='no' CAPLIBS='' CATOBJEXT='.gmo' CC='gcc' CCDEPMODE='depmode=gcc' CFLAGS='-g -O2 -Wall' CPP='gcc -E' CPPFLAGS='' CROSS_COMPILING_FALSE='' CROSS_COMPILING_TRUE='#' CYGPATH_W='echo' DATADIRNAME='share' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLIBS='-ldl ' DOCBOOK_TO_MAN='no' DOCBOOK_TO_TEXI='no' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' ENABLE_AGENT_SUPPORT_FALSE='#' ENABLE_AGENT_SUPPORT_TRUE='' ENABLE_BZIP2_SUPPORT_FALSE='#' ENABLE_BZIP2_SUPPORT_TRUE='' ENABLE_CARD_SUPPORT_FALSE='#' ENABLE_CARD_SUPPORT_TRUE='' ENABLE_LOCAL_ZLIB_FALSE='' ENABLE_LOCAL_ZLIB_TRUE='#' EXEEXT='' FAKE_CURL_FALSE='' FAKE_CURL_TRUE='#' FAQPROG=': ' GENCAT='gencat' GETOPT='' GLIBC21='yes' GMSGFMT='/usr/bin/msgfmt' GPGKEYS_CURL='' GPGKEYS_FINGER='gpgkeys_finger' GPGKEYS_HKP='gpgkeys_hkp' GPGKEYS_HTTP='gpgkeys_http' GPGKEYS_LDAP='' GPGKEYS_MAILTO='' HAVE_ASPRINTF='1' HAVE_DOCBOOK_TO_MAN_FALSE='' HAVE_DOCBOOK_TO_MAN_TRUE='#' HAVE_DOCBOOK_TO_TEXI_FALSE='' HAVE_DOCBOOK_TO_TEXI_TRUE='#' HAVE_DOSISH_SYSTEM_FALSE='' HAVE_DOSISH_SYSTEM_TRUE='#' HAVE_POSIX_PRINTF='1' HAVE_SNPRINTF='1' HAVE_WPRINTF='0' IDEA_O='idea-stub.o' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' INSTOBJEXT='.mo' INTLBISON='bison' INTLLIBS='' INTLOBJS='' INTL_LIBTOOL_SUFFIX_PREFIX='' LDAPLIBS='' LDFLAGS='' LIBCURL='' LIBCURL_CPPFLAGS='' LIBICONV='' LIBINTL='' LIBOBJS='' LIBREADLINE='-lreadline -ltermcap' LIBS='' LIBUSB='' LTLIBICONV='' LTLIBINTL='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/local/gnupg-1.4.2/scripts/missing --run makeinfo' MKINSTALLDIRS='$(top_builddir)/scripts/mkinstalldirs' MPI_EXTRA_ASM_OBJS='' MPI_OPT_FLAGS='' MPI_SFLAGS='' MSGFMT='/usr/bin/msgfmt' MSGMERGE=':' NETLIBS='' NM='/usr/bin/nm -B' NOEXECSTACK_FLAGS='' OBJEXT='o' PACKAGE='gnupg' PACKAGE_BUGREPORT='bug-gnupg@gnu.org' PACKAGE_NAME='gnupg' PACKAGE_STRING='gnupg 1.4.2' PACKAGE_TARNAME='gnupg' PACKAGE_VERSION='1.4.2' PATH_SEPARATOR=':' PERL='/usr/bin/perl' POSUB='po' RANLIB='ranlib' REGEX_O='' SENDMAIL='' SET_MAKE='' SHA512_O='sha512.o' SHELL='/bin/sh' SRVLIBS='-lresolv ' STRIP='' USE_INCLUDED_LIBINTL='no' USE_NLS='yes' VERSION='1.4.2' W32LIBS='' WITH_CURL_FALSE='' WITH_CURL_TRUE='#' WORKING_FAQPROG_FALSE='' WORKING_FAQPROG_TRUE='#' XGETTEXT=':' ZLIBS='-lz -lbz2' _libcurl_config='' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_RANLIB='ranlib' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${prefix}/share' exec_prefix='${prefix}' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/usr/local/gnupg-1.4.2/scripts/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='/usr/local' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define EGD_SOCKET_NAME "" #define ENABLE_AGENT_SUPPORT 1 #define ENABLE_CARD_SUPPORT 1 #define ENABLE_NLS 1 #define HAVE_ALLOCA 1 #define HAVE_ALLOCA_H 1 #define HAVE_ARGZ_H 1 #define HAVE_ASPRINTF 1 #define HAVE_ATEXIT 1 #define HAVE_BZIP2 1 #define HAVE_CTERMID 1 #define HAVE_DCGETTEXT 1 #define HAVE_DECL_FEOF_UNLOCKED 1 #define HAVE_DECL_FGETS_UNLOCKED 1 #define HAVE_DECL_GETC_UNLOCKED 1 #define HAVE_DECL_SYS_SIGLIST 1 #define HAVE_DECL__SNPRINTF 0 #define HAVE_DECL__SNWPRINTF 0 #define HAVE_DEV_RANDOM 1 #define HAVE_DL_DLOPEN 1 #define HAVE_FORK 1 #define HAVE_FSEEKO 1 #define HAVE_FWPRINTF 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETCWD 1 #define HAVE_GETEGID 1 #define HAVE_GETEUID 1 #define HAVE_GETGID 1 #define HAVE_GETOPT_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETTEXT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETUID 1 #define HAVE_ICONV 1 #define HAVE_INTMAX_T 1 #define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H_WITH_UINTMAX 1 #define HAVE_ISASCII 1 #define HAVE_LANGINFO_CODESET 1 #define HAVE_LANGINFO_H 1 #define HAVE_LC_MESSAGES 1 #define HAVE_LIBREADLINE 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_LOCALE_H 1 #define HAVE_LONG_DOUBLE 1 #define HAVE_LONG_LONG 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 #define HAVE_MEMPCPY 1 #define HAVE_MEMRCHR 1 #define HAVE_MKDTEMP 1 #define HAVE_MLOCK 1 #define HAVE_MMAP 1 #define HAVE_MMAP 1 #define HAVE_MUNMAP 1 #define HAVE_NL_LANGINFO 1 #define HAVE_NL_TYPES_H 1 #define HAVE_PIPE 1 #define HAVE_POSIX_PRINTF 1 #define HAVE_PUTENV 1 #define HAVE_RAISE 1 #define HAVE_RAND 1 #define HAVE_SETENV 1 #define HAVE_SETLOCALE 1 #define HAVE_SETLOCALE 1 #define HAVE_SETRLIMIT 1 #define HAVE_SIGACTION 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGSET_T 1 #define HAVE_SNPRINTF 1 #define HAVE_STAT 1 #define HAVE_STDDEF_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDINT_H_WITH_UINTMAX 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STPCPY 1 #define HAVE_STPCPY 1 #define HAVE_STRCASECMP 1 #define HAVE_STRCASECMP 1 #define HAVE_STRCHR 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRFTIME 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRING_H 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRSEP 1 #define HAVE_STRTOUL 1 #define HAVE_STRTOUL 1 #define HAVE_STRUCT_SIGACTION 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_TCGETATTR 1 #define HAVE_TERMIO_H 1 #define HAVE_TIMEGM 1 #define HAVE_TIMES 1 #define HAVE_TSEARCH 1 #define HAVE_UINTMAX_T 1 #define HAVE_ULONG_TYPEDEF 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSETENV 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define HAVE_USHORT_TYPEDEF 1 #define HAVE_VFORK 1 #define HAVE_VPRINTF 1 #define HAVE_WAIT4 1 #define HAVE_WAITPID 1 #define HAVE_WCHAR_T 1 #define HAVE_WCSLEN 1 #define HAVE_WINT_T 1 #define HAVE_WORKING_FORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE___ARGZ_COUNT 1 #define HAVE___ARGZ_NEXT 1 #define HAVE___ARGZ_STRINGIFY 1 #define HAVE___FSETLOCKING 1 #define ICONV_CONST #define INTDIV0_RAISES_SIGFPE 1 #define IPC_HAVE_SHM_LOCK 1 #define IPC_RMID_DEFERRED_RELEASE 1 #define LITTLE_ENDIAN_HOST 1 #define NAME_OF_DEV_RANDOM "/dev/random" #define NAME_OF_DEV_URANDOM "/dev/urandom" #define PACKAGE "gnupg" #define PACKAGE_BUGREPORT "bug-gnupg@gnu.org" #define PACKAGE_NAME "gnupg" #define PACKAGE_STRING "gnupg 1.4.2" #define PACKAGE_TARNAME "gnupg" #define PACKAGE_VERSION "1.4.2" #define PK_UID_CACHE_SIZE 4096 #define PRINTABLE_OS_NAME "GNU/Linux" #define RETSIGTYPE void #define SIZEOF_UNSIGNED_INT 4 #define SIZEOF_UNSIGNED_LONG 4 #define SIZEOF_UNSIGNED_LONG_LONG 8 #define SIZEOF_UNSIGNED_SHORT 2 #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define USE_AES 1 #define USE_BLOWFISH 1 #define USE_CAST5 1 #define USE_DNS_SRV 1 #define USE_DYNAMIC_LINKING 1 #define USE_GNUPG_ICONV 1 #define USE_IDEA 1 #define USE_RNDLINUX 1 #define USE_RSA 1 #define USE_SHA256 1 #define USE_SHA512 1 #define USE_SHM_COPROCESSING 1 #define USE_TWOFISH 1 #define VERSION "1.4.2" #define _FILE_OFFSET_BITS 64 #define _GNU_SOURCE 1 configure: exit 0 Best Regards Frank From dshaw at jabberwocky.com Fri Oct 21 16:36:17 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Fri Oct 21 16:36:42 2005 Subject: /include/ttyio.h:49: parse error before `*' In-Reply-To: <20051021112539.0B9E.MUEDE_TAUBE@gmx.de> References: <20051020125712.1B35.MUEDE_TAUBE@gmx.de> <20051020141021.GA27631@jabberwocky.com> <20051021112539.0B9E.MUEDE_TAUBE@gmx.de> Message-ID: <20051021143617.GA30745@jabberwocky.com> On Fri, Oct 21, 2005 at 11:45:20AM +0200, m?de Taube wrote: > Hi David, > > > > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl -g -O2 -Wall -c fileutil.c > > > In file included from fileutil.c:32: > > > ../include/ttyio.h:49: parse error before `*' > > > > Can you send your config.log file that was generated by configure? > > Also, do you have readline installed on your system? What Linux > > distribution is this? > > It is red hat based on a 7.0 distribution, just a mail and webserver > without X or something. > > you are right, one of the problem was missing readline lib. I installed > readline and now make breaks later: I think you'll need to build with configure --without-readline. The readline you have looks good enough for configure to include it, but isn't good enough to actually work with GPG. I've added some autoconf checks to make sure the readline library has all the necessary requirements for the next GPG release. Thanks! David From muede_taube at gmx.de Fri Oct 21 16:51:59 2005 From: muede_taube at gmx.de (=?ISO-8859-1?Q?m=FCde?= Taube) Date: Fri Oct 21 16:51:52 2005 Subject: /include/ttyio.h:49: parse error before `*' In-Reply-To: <20051021143617.GA30745@jabberwocky.com> References: <20051021112539.0B9E.MUEDE_TAUBE@gmx.de> <20051021143617.GA30745@jabberwocky.com> Message-ID: <20051021164731.0BAF.MUEDE_TAUBE@gmx.de> Hi David, > I think you'll need to build with configure --without-readline. The > readline you have looks good enough for configure to include it, but > isn't good enough to actually work with GPG. That was it! I did configure --without-readline and it compiled without problems. Many thanks for your help and sorry to the mailing list for my three postings regarding config_log.txt ;-) Frank From ssrini at linuxmail.org Mon Oct 24 15:15:45 2005 From: ssrini at linuxmail.org (Srinivasan S) Date: Mon Oct 24 16:55:52 2005 Subject: Cross compilation of gpgme on Fedora Core 4 Message-ID: <20051024131545.9786723D02@ws5-3.us4.outblaze.com> Hello I installed the Ming cross compiler via sources from mingw.org and the build script from mingw wiki. The cross compiler compiled and installed without any incident. I then did a cross compilation of GnuPG 1.4.2 with ./autogen.sh --build-w32 followed by make and this worked flawlessly. I then tried the compilation of gpgme 1.0.3 and this aborted at the first file itself with errors. The only additional step I did was to copy the autogen.sh script and the scripts directory from GnuPG sources to the gpgme directory since I did not find a autogen script within the gpgme tar file. The error messages are pasted below for reference: make all-recursive make[1]: Entering directory `/home/ssrini/temp/gpgme' Making all in gpgme make[2]: Entering directory `/home/ssrini/temp/gpgme/gpgme' make all-am make[3]: Entering directory `/home/ssrini/temp/gpgme/gpgme' if /bin/sh ../libtool --tag=CC --mode=compile i586-mingw32-gcc -DHAVE_CONFIG_H -I. -I/home/ssrini/temp/gpgme/gpgme -I.. -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT ath-compat.lo -MD -MP -MF ".deps/ath-compat.Tpo" -c -o ath-compat.lo ath-compat.c; \ then mv -f ".deps/ath-compat.Tpo" ".deps/ath-compat.Plo"; else rm -f ".deps/ath-compat.Tpo"; exit 1; fi i586-mingw32-gcc -DHAVE_CONFIG_H -I. -I/home/ssrini/temp/gpgme/gpgme -I.. -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT ath-compat.lo -MD -MP -MF .deps/ath-compat.Tpo -c ath-compat.c -DDLL_EXPORT -DPIC -o .libs/ath-compat.o In file included from /usr/local/mingw/lib/gcc/i586-mingw32/3.4.4/../../../../i586-mingw32/include/unistd.h:10, from ath-compat.c:25: ./io.h:45: error: syntax error before "size_t" ./io.h:46: error: syntax error before "size_t" ./io.h:61: error: syntax error before "size_t" In file included from ath-compat.c:36: ath.h:30:24: sys/socket.h: No such file or directory In file included from ath-compat.c:36: ath.h:69: error: syntax error before "fd_set" ath.h:70: warning: function declaration isn't a prototype ath.h:72: error: syntax error before "socklen_t" ath.h:72: warning: function declaration isn't a prototype ath.h:73: error: syntax error before "socklen_t" ath.h:73: warning: function declaration isn't a prototype ath.h:74: warning: "struct msghdr" declared inside parameter list ath.h:74: warning: its scope is only this definition or declaration, which is probably not what you want ath.h:75: warning: "struct msghdr" declared inside parameter list ath.h:87: error: syntax error before "fd_set" ath.h:88: warning: function declaration isn't a prototype ath.h:90: error: syntax error before "socklen_t" ath.h:90: warning: function declaration isn't a prototype ath.h:91: error: syntax error before "socklen_t" ath.h:91: warning: function declaration isn't a prototype ath.h:92: warning: "struct msghdr" declared inside parameter list ath.h:93: warning: "struct msghdr" declared inside parameter list ath-compat.c: In function `_gpgme_ath_read': ath-compat.c:113: warning: implicit declaration of function `read' ath-compat.c: In function `_gpgme_ath_write': ath-compat.c:123: warning: implicit declaration of function `write' ath-compat.c: At top level: ath-compat.c:128: error: syntax error before "fd_set" ath-compat.c:130: warning: function declaration isn't a prototype ath-compat.c: In function `_gpgme_ath_select': ath-compat.c:132: error: `nfd' undeclared (first use in this function) ath-compat.c:132: error: (Each undeclared identifier is reported only once ath-compat.c:132: error: for each function it appears in.) ath-compat.c:132: error: `rset' undeclared (first use in this function) ath-compat.c:132: error: `wset' undeclared (first use in this function) ath-compat.c:132: error: `eset' undeclared (first use in this function) ath-compat.c:132: error: `timeout' undeclared (first use in this function) ath-compat.c:134: warning: implicit declaration of function `select' ath-compat.c: In function `_gpgme_ath_waitpid': ath-compat.c:144: warning: implicit declaration of function `waitpid' ath-compat.c: At top level: ath-compat.c:149: error: syntax error before "socklen_t" ath-compat.c:150: warning: function declaration isn't a prototype ath-compat.c: In function `_gpgme_ath_accept': ath-compat.c:152: error: `s' undeclared (first use in this function) ath-compat.c:152: error: `addr' undeclared (first use in this function) ath-compat.c:152: error: `length_ptr' undeclared (first use in this function) ath-compat.c:154: warning: implicit declaration of function `accept' ath-compat.c: At top level: ath-compat.c:159: error: syntax error before "socklen_t" ath-compat.c:160: warning: function declaration isn't a prototype ath-compat.c: In function `_gpgme_ath_connect': ath-compat.c:162: error: `s' undeclared (first use in this function) ath-compat.c:162: error: `addr' undeclared (first use in this function) ath-compat.c:162: error: `length' undeclared (first use in this function) ath-compat.c:164: warning: implicit declaration of function `connect' ath-compat.c: At top level: ath-compat.c:169: warning: "struct msghdr" declared inside parameter list ath-compat.c:170: error: conflicting types for '_gpgme_ath_sendmsg' ath.h:74: error: previous declaration of '_gpgme_ath_sendmsg' was here ath-compat.c:170: error: conflicting types for '_gpgme_ath_sendmsg' ath.h:74: error: previous declaration of '_gpgme_ath_sendmsg' was here ath-compat.c: In function `_gpgme_ath_sendmsg': ath-compat.c:172: warning: passing arg 2 of pointer to function from incompatible pointer type ath-compat.c:174: warning: implicit declaration of function `sendmsg' ath-compat.c: At top level: ath-compat.c:179: warning: "struct msghdr" declared inside parameter list ath-compat.c:180: error: conflicting types for '_gpgme_ath_recvmsg' ath.h:75: error: previous declaration of '_gpgme_ath_recvmsg' was here ath-compat.c:180: error: conflicting types for '_gpgme_ath_recvmsg' ath.h:75: error: previous declaration of '_gpgme_ath_recvmsg' was here ath-compat.c: In function `_gpgme_ath_recvmsg': ath-compat.c:182: warning: passing arg 2 of pointer to function from incompatible pointer type ath-compat.c:184: warning: implicit declaration of function `recvmsg' make[3]: *** [ath-compat.lo] Error 1 make[3]: Leaving directory `/home/ssrini/temp/gpgme/gpgme' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/ssrini/temp/gpgme/gpgme' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ssrini/temp/gpgme' make: *** [all] Error 2 --------------------------- I just dont understand how to proceed now. All help is appreciated Regards Srini -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From wk at gnupg.org Mon Oct 24 17:19:37 2005 From: wk at gnupg.org (Werner Koch) Date: Mon Oct 24 17:21:43 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051024131545.9786723D02@ws5-3.us4.outblaze.com> (Srinivasan S.'s message of "Mon, 24 Oct 2005 21:15:45 +0800") References: <20051024131545.9786723D02@ws5-3.us4.outblaze.com> Message-ID: <87pspv7xiu.fsf@wheatstone.g10code.de> On Mon, 24 Oct 2005 21:15:45 +0800, Srinivasan S said: > I then tried the compilation of gpgme 1.0.3 and this aborted at the > first file itself with errors. The only additional step I did was You need to use the current Subversion trunk. svn co svn://cvs.gnupg.org/gpgme/trunk gpgme Shalom-Salam, Werner From ssrini at linuxmail.org Tue Oct 25 19:02:37 2005 From: ssrini at linuxmail.org (Srinivasan S) Date: Tue Oct 25 19:03:10 2005 Subject: Cross compilation of gpgme on Fedora Core 4 Message-ID: <20051025170237.DF52D23D02@ws5-3.us4.outblaze.com> Hi Werner With the svn trunk the compilation goes through fine .. I now get the following error: ------------------ make all-recursive make[1]: Entering directory `/home/ssrini/temp/cvs/gpgme' Making all in gpgme make[2]: Entering directory `/home/ssrini/temp/cvs/gpgme/gpgme' make all-am make[3]: Entering directory `/home/ssrini/temp/cvs/gpgme/gpgme' /bin/sh ../libtool --mode=compile no `echo -DHAVE_CONFIG_H -I. -I. -I.. | sed -e 's/-I/--include-dir /g;s/-D/--define /g'` -i versioninfo.rc -o versioninfo.lo no --define HAVE_CONFIG_H --include-dir . --include-dir . --include-dir .. -i versioninfo.rc -o versioninfo.o ../libtool: line 1170: no: command not found make[3]: *** [versioninfo.lo] Error 1 make[3]: Leaving directory `/home/ssrini/temp/cvs/gpgme/gpgme' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/ssrini/temp/cvs/gpgme/gpgme' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ssrini/temp/cvs/gpgme' make: *** [all] Error 2 -------------------- I tried to manually edit the Makefile and set the proper libtool command but failed. the versioninfo.rc is not compiling .. Your help is greatly appreciated Regards Srini ----- Original Message ----- From: "Werner Koch" To: "Srinivasan S" Subject: Re: Cross compilation of gpgme on Fedora Core 4 Date: Mon, 24 Oct 2005 17:19:37 +0200 > > On Mon, 24 Oct 2005 21:15:45 +0800, Srinivasan S said: > > > I then tried the compilation of gpgme 1.0.3 and this aborted at the > > first file itself with errors. The only additional step I did was > > You need to use the current Subversion trunk. > > svn co svn://cvs.gnupg.org/gpgme/trunk gpgme > > > > Shalom-Salam, > > Werner -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From marcus.brinkmann at ruhr-uni-bochum.de Tue Oct 25 19:16:12 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Tue Oct 25 19:19:12 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051025170237.DF52D23D02@ws5-3.us4.outblaze.com> References: <20051025170237.DF52D23D02@ws5-3.us4.outblaze.com> Message-ID: <87irvl4iw3.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Wed, 26 Oct 2005 01:02:37 +0800, "Srinivasan S" wrote: > > Hi Werner > > With the svn trunk the compilation goes through fine .. I now get the following error: > /bin/sh ../libtool --mode=compile no `echo -DHAVE_CONFIG_H -I. -I. -I.. | sed -e 's/-I/--include-dir /g;s/-D/--define /g'` -i versioninfo.rc -o versioninfo.lo > no --define HAVE_CONFIG_H --include-dir . --include-dir . --include-dir .. -i versioninfo.rc -o versioninfo.o > ../libtool: line 1170: no: command not found You need windres. Your mingw installation is broken. Marcus From ssrini at linuxmail.org Tue Oct 25 19:26:48 2005 From: ssrini at linuxmail.org (Srinivasan S) Date: Tue Oct 25 19:27:12 2005 Subject: Cross compilation of gpgme on Fedora Core 4 Message-ID: <20051025172648.007452040B@ws5-1.us4.outblaze.com> Hi Marcus How I got Mingw was by following the wiki on Mingw.org I downloaded the following : binutils gcc-core gcc-g++ mingw-runtime w32api Then compiled using the script provided on the wiki. (The only additional step was to manually fix autogen.sh to the correct binaries as they were not automatically being picked up) Are there any other files I need to also include in the Mingw compiler .. (For me the precompiled rpms on the web didnt work) Regards Srini ----- Original Message ----- From: "Marcus Brinkmann" To: "Srinivasan S" Subject: Re: Cross compilation of gpgme on Fedora Core 4 Date: Tue, 25 Oct 2005 19:16:12 +0200 > > At Wed, 26 Oct 2005 01:02:37 +0800, > "Srinivasan S" wrote: > > > > Hi Werner > > > > With the svn trunk the compilation goes through fine .. I now get > > the following error: > > > /bin/sh ../libtool --mode=compile no `echo -DHAVE_CONFIG_H -I. > > -I. -I.. | sed -e 's/-I/--include-dir /g;s/-D/--define /g'` -i > > versioninfo.rc -o versioninfo.lo > > no --define HAVE_CONFIG_H --include-dir . --include-dir . > > --include-dir .. -i versioninfo.rc -o versioninfo.o > > ../libtool: line 1170: no: command not found > > You need windres. Your mingw installation is broken. > > Marcus -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From marcus.brinkmann at ruhr-uni-bochum.de Tue Oct 25 19:34:10 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Tue Oct 25 19:34:12 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051025172648.007452040B@ws5-1.us4.outblaze.com> References: <20051025172648.007452040B@ws5-1.us4.outblaze.com> Message-ID: <87hdb54i25.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Wed, 26 Oct 2005 01:26:48 +0800, "Srinivasan S" wrote: > > Hi Marcus > > How I got Mingw was by following the wiki on Mingw.org > I downloaded the following : > binutils > gcc-core > gcc-g++ > mingw-runtime > w32api > > Then compiled using the script provided on the wiki. (The only additional step was to manually fix autogen.sh to the correct binaries as they were not automatically being picked up) > > Are there any other files I need to also include in the Mingw compiler .. (For me the precompiled rpms on the web didnt work) If your mingw compilation is OK, then you probably invoked configure in the wrong way. Did you do everything required? Set the PATH variable etc? Really, cross compilation requires some fiddling around, _especially_ if you are going for a customized setup. We use Debian GNU/Linux for development and all the standard packages. If you follow the same way, you will have less trouble. Thanks, Marcus From ssrini at linuxmail.org Tue Oct 25 19:38:18 2005 From: ssrini at linuxmail.org (Srinivasan S) Date: Tue Oct 25 19:38:58 2005 Subject: Cross compilation of gpgme on Fedora Core 4 Message-ID: <20051025173819.2985223D02@ws5-3.us4.outblaze.com> Hi Marcus Infact my gnupg compilation went fine. Also I find a i586-mingw32-windres binary in my ming installation Path is set. I got the svn, then did a ./autogen.sh (this was mentioned as a reqd step prior to configure). Then I repeated a ./autogen.sh --build-w32 and then a make Anything else I need to do ? Tschuss Srini ----- Original Message ----- From: "Marcus Brinkmann" To: "Srinivasan S" Subject: Re: Cross compilation of gpgme on Fedora Core 4 Date: Tue, 25 Oct 2005 19:34:10 +0200 > > At Wed, 26 Oct 2005 01:26:48 +0800, > "Srinivasan S" wrote: > > > > Hi Marcus > > > > How I got Mingw was by following the wiki on Mingw.org > > I downloaded the following : > > binutils gcc-core gcc-g++ mingw-runtime w32api Then compiled > > using the script provided on the wiki. (The only additional step > > was to manually fix autogen.sh to the correct binaries as they > > were not automatically being picked up) > > > > Are there any other files I need to also include in the Mingw > > compiler .. (For me the precompiled rpms on the web didnt work) > > If your mingw compilation is OK, then you probably invoked configure > in the wrong way. Did you do everything required? Set the PATH > variable etc? > > Really, cross compilation requires some fiddling around, _especially_ > if you are going for a customized setup. We use Debian GNU/Linux for > development and all the standard packages. If you follow the same > way, you will have less trouble. > > Thanks, > Marcus -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From marcus.brinkmann at ruhr-uni-bochum.de Tue Oct 25 19:48:51 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Tue Oct 25 19:49:12 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051025173819.2985223D02@ws5-3.us4.outblaze.com> References: <20051025173819.2985223D02@ws5-3.us4.outblaze.com> Message-ID: <87fyqp4hdo.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Wed, 26 Oct 2005 01:38:18 +0800, "Srinivasan S" wrote: > > Hi Marcus > > Infact my gnupg compilation went fine. > > Also I find a i586-mingw32-windres binary in my ming installation > > Path is set. I got the svn, then did a ./autogen.sh (this was mentioned as a reqd step prior to configure). Then I repeated a ./autogen.sh --build-w32 and then a make > > Anything else I need to do ? Send me your config.log file, please. Marcus From marcus.brinkmann at ruhr-uni-bochum.de Wed Oct 26 09:16:53 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Wed Oct 26 09:19:11 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051026055751.C0138CA0A3@ws5-11.us4.outblaze.com> References: <20051026055751.C0138CA0A3@ws5-11.us4.outblaze.com> Message-ID: <87k6g0zr16.wl%marcus.brinkmann@ruhr-uni-bochum.de> Hi, as I suspected, although your cross compiler can be found, your associated tools can not. These are the programs that were found: gcc, ar, ranlib These are the ones that were NOT found: strip, dlltool, objdump, windres etc Please verify your cross compiler suite, your PATH setting, etc. Thanks, Marcus From ssrini at linuxmail.org Wed Oct 26 18:00:55 2005 From: ssrini at linuxmail.org (Srinivasan S) Date: Wed Oct 26 19:12:42 2005 Subject: Cross compilation of gpgme on Fedora Core 4 Message-ID: <20051026160056.0487623D24@ws5-3.us4.outblaze.com> Hi Marcus Thanks for pointing me to the right direction. I found that all my ming binaries had the prefix i586-mingw32 whereas the compile script was looking for i586-mingw32msvc and was not finding it. I edited autogen.sh to call ./configure with the parameter --host set to i586-mingw32 THis fixed everything and the compilation was successful. Thanks a lot. One final question .. the output of this build seems to be the gpgme.a file in the .libs directory. Is that it ? Or do I get a dll ? DO i need to build with any other parameters. Your attention and help to this matter is greatly appreciated. Danke Srini ----- Original Message ----- From: "Marcus Brinkmann" To: "Srinivasan S" Subject: Re: Cross compilation of gpgme on Fedora Core 4 Date: Wed, 26 Oct 2005 09:16:53 +0200 > > Hi, > > as I suspected, although your cross compiler can be found, your > associated tools can not. > > These are the programs that were found: gcc, ar, ranlib > > These are the ones that were NOT found: strip, dlltool, objdump, windres > > etc > > Please verify your cross compiler suite, your PATH setting, etc. > > Thanks, > Marcus -- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From marcus.brinkmann at ruhr-uni-bochum.de Wed Oct 26 20:42:08 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Wed Oct 26 20:44:10 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051026160056.0487623D24@ws5-3.us4.outblaze.com> References: <20051026160056.0487623D24@ws5-3.us4.outblaze.com> Message-ID: <87d5lsyvb3.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Thu, 27 Oct 2005 00:00:55 +0800, "Srinivasan S" wrote: > Thanks for pointing me to the right direction. I found that all my ming binaries had the prefix i586-mingw32 whereas the compile script was looking for i586-mingw32msvc and was not finding it. > > I edited autogen.sh to call ./configure with the parameter --host set to i586-mingw32 THis fixed everything and the compilation was successful. Thanks a lot. > One final question .. the output of this build seems to be the gpgme.a file in the .libs directory. Is that it ? Or do I get a dll ? DO i need to build with any other parameters. > > Your attention and help to this matter is greatly appreciated. If you use --build-w32, you get only a static DLL. Frankly, I think --build-w32 should only be used by Werner ;) Everybody else should just invoke configure with the right --host option and any other options they want to use, taking standard cross compilation configuration into account. Since I went through our packages and applied some small patches, there is absolutely nothing unusual about cross compiling for a ming target. --build-w32 might work for you, or you may use it as a start for your own experiments, but my personal recommendation is to just do it the conventional way. Thanks, Marcus From wk at gnupg.org Wed Oct 26 22:00:45 2005 From: wk at gnupg.org (Werner Koch) Date: Wed Oct 26 22:06:44 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <87d5lsyvb3.wl%marcus.brinkmann@ruhr-uni-bochum.de> (Marcus Brinkmann's message of "Wed, 26 Oct 2005 20:42:08 +0200") References: <20051026160056.0487623D24@ws5-3.us4.outblaze.com> <87d5lsyvb3.wl%marcus.brinkmann@ruhr-uni-bochum.de> Message-ID: <87psps3v6a.fsf@wheatstone.g10code.de> On Wed, 26 Oct 2005 20:42:08 +0200, Marcus Brinkmann said: > Frankly, I think --build-w32 should only be used by Werner ;) I have to jump in here ;-) Aside from being a more convenient way of specify that long host string, --build-w32 has other adavantages if you are going to build several related projects for W32: * There is a standard install target directory: $w32root which defaults to ~/w32root. This is required because the usual /usr/local default is obviously not suitable for cross compiling. * For some projects (e.g. GnuPG 1.9) you need to use several --disable-foo or --with-bar configure options. Maybe I am too to remember all options, thus I use autogen.sh a convenient place to collect this information. * There are several cross-compiler kist available, all with different features and requirements. It is not sure whether i586--mingw32msvc will be the --host name of choice for all times. Having a way to detect the available kit is a Good Thing and really helped once when I started to switch frok mingw/cpd to Debian's cross compiler. Having said this, I believe that the ./autogen.sh --build-w32 convention is a pretty solid one for developers having to work with a lot of W32 ports. For certain projects like gpg4win it does not make sense if these projects intrinsically define their environment. Salam-Shalom, Werner From cam at mathematica.scientia.net Thu Oct 27 01:29:27 2005 From: cam at mathematica.scientia.net (Christoph Anton Mitterer) Date: Thu Oct 27 01:29:23 2005 Subject: Lots of questions Message-ID: <43601157.7090803@mathematica.scientia.net> Hi everybody. (First of all sorry for crossposting to *devel and *users,.. I supposed users list would be the appropriate,.. but Werner supposed *devel,.. so I took both) I have lots of general and specific questions about OpenPGP/GnuPG. First of all I'd like to say that I've already read most of the available material on the GnuPG website and even other resources on the Internet. I've also searced the GnuPG mailing list, so if I ask a question that had been asked before, I do this because I think the status might have changed in the meantime. Until now I've always used a plain DSA/ElG key... for about some years now, but recently I've revoked it and I'm going to set up a new key and create new keyrings and a new personal web of trust. Ok,.. for all questions: I want the most possible security and it wouldn't matter if an algorithm is patented or if computation takes very long or so ;-) I also assume that my system itself is perfectly secure,... so please don't tell me that this or that security consideration or key size is stupid because everyone could much easier break in my house and steal my harddisk (btw: the disc is encryptet with AES ;-) ). (btw: I'm using solely Linux so I don't have those fancy GUIs f?r GnuPG) Of I think I'm going to have three kinds of questions: I) Questions about GnuPG itself II) Questions about the OpenPGP standard, i.e. the key format, weboftrust, etc III Questions about the used algorithms I'd be glad if you could give me exact answers, but also answers that I understand,... ok I study computer science but my last cryptography lecture is some years ago ;-) ------------------------------------------------------------------------ I) GnuPG specific questions: 1) There are two development brances stable (1.4.x) and experimental (1.9.x). a) Are there any differences in these two brances, for example in the key format, the key generation, security or so, expect the main difference: S/MIME support and more card reader support? b) When creating a new key, that I want to use at least the next 10 years or so (expect somone breaks asymmetric-key-algorithms): Should I create it with 1.4.x or 1.9.x? For security reasons an so on? 2) GnuPG (and I think OpenPGP specifies that, too?) uses hybrid algortihm, meaning that when encrypting data, it's first encryptet using a symmetric algorithm (e.g. AES) with a random sessions key and then the session key is encryptet using the asymmetric algorithm. Same thing with signatures: The data is first hashed and then the hash (and not the data itself) is encrypted with the private key, correct? Are there ways to change this behavior? I mean can I use GnuPG to only use the asymmetric algortihms? That should be more secure, shouldn't it? Of course I'd be probably no longer compatible to OpenPGP (RFC 2440). 3) When GnuPG does encryption and signing. Does it encrypt first or sign first? If it would sign first, no one could use the signature to find out who it signed... 4) When using GnuPG with the standard compliance settings ( --gnupg). Are my keys and messages/signatures fully compatible to OpenPGP/RFC2440? If not: Is this only the case when communicating with non-OpenPGP-compatible users? 5) When creating a new key. What is the best random number source I can use,.. and are there ways to tune the configuration of random number generation? 6) In the GnuPG interface there is that "usage" field: "E" is for encryption only keys, "S" for signing only. What does "CS" and "CSA" mean? 7) Why doesn't GnuPG larger keys than 4096 bit (please don't answer nobody would need that ;-P )? 8) Does it make any difference wheter creating keys with 32-bit OS or 64-bit OS? 9) What is that "--set-notation" option? ------------------------------------------------------------------------ ------------------------------------------------------------------------ II) OpenPGP/Key specific questions: Ok, as told above I'd like to use as much security as possible, and I'd like to keep my key as long as possible =) So I'll try to explain how keysystem work as far as I understood it and ask my questions on the fly. If I miss something please correct me!! -First, you allways have one primary key (which is always a signing-only key) (this might be an DSA or RSA-S key, only) -Then, you have several subkeys, used for signing only (RSA-S, DSA) or encrypting only (ElGamal, RSA-E) -Then, there are one or more User ID's So you can make the following Key types: Primary: DSA // Secondary: ElGamal (and perhaps other RSA-x or DSA or ElGamal-E keys) or Primary: RSA // Secondary: and perhaps other RSA-x or DSA or ElGamal-E keys 1) What is about RSA and ElGamal keys that can both, sign and encrypt? Why can't I use them? Any security reasons? 2) Is ElGamal the same as Diffie/Hellman? -Each public key connected to it's secret key? How? -The keys (primary and secondary) are signed with a self-signature. This ensures that no one modified the key, correct? Does it also assure that a subkey belongs to a primary key and thus to the UIDs? If so: How (e.g. contains the sub-key-self-signature the fingerprint of the primary key or so)? -The keys (primary and secondary) self are only signed with the self-signature, not with signatures from other users. -The key signatures don't contain information like preferred algorithms or user identifiers and so. -Are there other reasons for primary/secondary key signatures? -The User IDs are self-signed to. This assures that the signed UID(s) is from the user that has the private key (from that specific public key) and that nobody changed the UID, correct? Any other reasons? -All self signatures (to my keys and UIDs) and signatures to other UIDs (I think I can't sign other users primary/subkeys at all) are generated using the primary (sign-only) key. 3) Why can't I use a (signing) subkey for self-signatures or signing other UIDs? Would this make sense at all? 4) How are my secondary keys connected to the primary? I know that the UID are connected by something like the fingerprint in the UID. And the UID is self-signed so nobody can change this (expect the owner of course) 5) All signatures (those that I make and that I receive) are ONLY connected to the Key-ID of the signing key and NOT to (one of) the UID of signing key, correct? a) Thus when I change my primary UID from e.g. old@email.example to new@email.example all signatures that I made to other keys automatically show the new UID (new@email.example), correct? The same thing sould apply to the things on keyservers, correct? The same thing sould apply of course when others change ther UIDs. 6) Is this (that keyservers and software know which UID they should show on signatures) the only reason for making on UID the "default-UID"? -Ok, as far as I understood there should be three types of signatures: a) Signatures to "normal" data like an email. This should consist solely of the encrypted hash (by the private key) the used hashing algorithm and the KeyID of the signing key, correct? b) Self-Signatures to primary/secondary keys. This should consist solely of the encrypted hash (by the private PRIMARY key) the used hashing algorithm and the KeyID of the signing key, correct? c) Signatures to UIDs ... ok now it gets complicated? 7) Is there a difference between self-signatures to UIDs and Signatures to other UIDs? Which? 8) What is stored in a UID-signature? a) It should contain the used hash-algorithm and the hash itself (of course) and the KeyID of the signing key (think that should be always primary keys), too? b) It contains also name, email and comment, correct? (btw: Would RFC2440 allow other fields like address, phone, etc.?) c) Prefered algorithms (symmetric, hash, compression). Only with self-signatures or with signatures to other UIDs, too? d) The features "MDC" or "Keyserver no-modify". Are there other such features? Where can I find a documentation to these features? Which should I select for maximum security? Are those (for maximum security) compliant with RFC2440? e) Other things stored in the UIDs? f) What is about things like policy URL or photo or so? Ok,.. now it gets even worse, I think: When other people "sign my key" they do not sign my key, but rather one (or all) of my UIDs, correct? Thus they tell everybody, that this UID belongs to the key AND that the settings in the UID are true (more questions about the different kinds of signatures from others to my UIDs later) Ok,.. I told you I'd use my key as long as possible. But sometimes my email address changes, so I'll defenitely have more than one UID. Big problem: When I change my UID all signatures that I received until that would not count for the new ID and thus other people wouldn't recognise my new UID as true, correct.? I think the best solution would be that my default UID is always "Christoph Anton Mitterer" without an email at all. So I could ask other people to sign only my default UID and (solely) because I sign my other UIDs with a self-signature, they would trust those UIDs, too. Correct? Or can you think of a better model for my needs? btw: The same thing should work with new subkeys: Only primary keys can be used to sign other UIDs (I asked that above). So when someone signed (one of) my UIDs he trusts them and also the key that is specified in the UID (should be always the primary key). So if I add a subkey (and self-sign it) that someone should also trust my subkey, correct? 9) Another big problem: There are those things like prefered algorithms or features or signing policy or . What is if I change these things in one of my UIDs? Are oll signatures (by other people) on that UID invaildated? (If not: why not?) If so: I should from the beginning set these things to final values,.. so perhaps once againg the question: What are the most secure settings? :-D 10) Ok I know they secret key itself is encrypted (symetricallay) with a passphrase... What do those s2k-x options have to do with that,.. an most important,.. if I decide later to change them,.. would I loose my signatures (from other people) 11) Are there any other options you can think of,.. that are stored in the key/UID that I might change later and that would lead to loosing signatures? 12) When creating more that one encryption subkey... What could be a reason for doing so? 13) Same question with signing subkeys? 14) Ok,... I've got also a lot of questions to revokation, trust, validity the different kinds of signatures that I can make to other UIDs (like non-revokable and so on) but I'll ask them in a seperate email. ------------------------------------------------------------------------ ------------------------------------------------------------------------ III) Algortihm specific questions: Ok these questions are probably asked very often, but I risk flaming and ask again ;-) 1) Asymmetric algorithms: GnuPG only supports RSA-E, RSA-S, ElGamal-E and DSA, correct? (I'd love to see ECC =P~ btw: is ECC only used for encryption or for (primary) signing keys too?) Ok,.. I've read lots of sources,.. e.g. http://www.scramdisk.clara.net/pgpfaq.html What should I use? *G* ok,.. uhm I think DSA has one big problem,.. it's limited to 1024 bit (please don't say that is enough,.. I'm paranoid ;-) ) and even NIST seems to think about a reimplementation of DSS... So I'd say,... for primary (signature only) key RSA-S would be the best, correct? Secondary (encryption, I think at first I won't need additiona encryption or signing keys) key,.. in reference to the URL above,... they said that ElGamal is a very tiny little bit more secure than RSA-S.... So should I use the following: Primary RSA-S,... secondary ElGamal?????? I know that the default is DSA/ElGamal,.. so that RSA-S/ElGamal sounds a bit strange to me *g* btw: I've read that one can create RSA keys with any fingerprint the attacker wants to have (but different key-size),.. does this only work with RSA-E or also with RSA-S,.. I mean is this a reason not to use RSA-S as primary key? Does it work with ElGamal, too? 2) Symmetric algorithms GnuPG supports: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH I think the best preference order should be the following (from the best to the worst): a) AES256 b) AES192 c) AES d) TWOFISH e) BLOWFISH f) CAST5 g) 3DES Correct? 3) Hashing algorithms GnuPG supports: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512 I think the best preference order should be the following (from the best to the worst): a) SHA512 b) SHA384 c) SHA256 d) RIPEMD160 (no sure if SHA-1 should be before this because of that chinese team that found collisions and so on) e) SHA1 f) MD5 Correct? 3) Compression algorithms GnuPG supports: Uncompressed, ZIP, ZLIB, BZIP2 I think the best preference order should be the following (from the best to the worst): a) BZIP2 (I don't bother if there are Windows users or so that "can't" support bzip2 *g* ) b) ZLIB c) ZIP d) Uncompressed Correct? ------------------------------------------------------------------------ ------------------------------------------------------------------------ IV) How to create my new key the best way? Ok these days the "Systems" is in Munich and there's the c't Magazine that signs keys and so on.... :-D So I'd like to make a new key asap.... and have it signed,.. ;-) Ok,.. now I wonder how I should do this the best and cleanest way. I suppose my assumtions above are correct and RSA-R/ElGamal would be the best and that the algorithm preference is also the best, if one could say so... And I suppose that the default random settings in Linux (normally I use debian, but I think I'll boot from a Knoppix CD to create the key,.. hope the include the latest version of GnuPG) are already the best, correct? My ~/.gnupg looks: ------------------------------------------------------------------------ openpgp #to be fully compliant to OpenPGP/RFC2440 AND to create v4 keys no-force-v3-sigs #do I need this when I've already "openpgp" charset utf-8 #yes my terminal uses UTF-8 :-D // or is the option display-charset ??? keyserver hkp://subkeys.pgp.net #not important for key generation list-options show-photos # " " " " verify-options show-photos # " " " " verbose verbose verbose z 9 #9 should be the value for best compression compress-level 9 # " " " " " " bzip2-compress-level 9 # " " " " " " #sig-notation #shoudl I set one of these for better security of my new keys? #cert-notation # " " " " " " " " #sig-policy-url #Will add this later ot my UIDs (hope it doens't invalidate all sigantures) #cert-policy-url # " " " " " " " " " " #set-policy-url # " " " " " " " " " " #sig-keyserver-url # " " " " " " " " " " #s2k-cipher-algo #What is the best here? AES256? #s2k-digest-algo #What is the best here? SHA384? #s2k-mode #What is the best here? 3? #simple-sk-checksum #Shouldn't be used I think,.. ? force-mdc personal-cipher-preferences S9 S8 S7 S10 S4 S3 S2 S1 #Do these also set my prefered settings in my key? personal-digest-preferences H10 H9 H8 H3 H2 H1 #Do these also set my prefered settings in my key? personal-compress-preferences Z3 Z2 Z1 Z0 #Do these also set my prefered settings in my key? #cipher-algo #Should be already set via personal-XXX, correct? #digest-algo # " " " " " " #compress-algo # " " " " " " #cert-digest-algo # " " " " " " ------------------------------------------------------------------------ $ gpg --gen-key $ gpg --edit-key adduid (Add user id "Christoph Anton Mitterer ") showpref (verify if preferences from config file are correct) store $ Ok the following should now apply: -Having a default UID "Christoph Anton Mitterer" -Havin a secondary UID "Christoph Anton Mitterer " -private key encryptet with ??? algorithm? (Can I change this later, without loosing signatures?) -all UIDs have the following settings: S9 S8 S7 S10 S4 S3 S2 S1 H10 H9 H8 H3 H2 H1 Z3 Z2 Z1 Z0 [mdc] [no-ks-modify] -The key have newest format (v4)? Can I change that "sig-policy-url", "cert-policy-url", "set-policy-url" and "sig-keyserver-url" later without loosing signatures on the UID? Ok,.. later I'm going to play with Smartcards, too :-) ------------------------------------------------------------------------ Ok,.. that's it for the moment,... *puhh* Lots of thanks and hugs for any help. :-) Best wishes, Chris. From JPClizbe at comcast.net Thu Oct 27 02:42:23 2005 From: JPClizbe at comcast.net (John Clizbe) Date: Thu Oct 27 02:44:18 2005 Subject: OpenPGP Card patch for Cygwin Message-ID: <4360226F.2080805@comcast.net> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 667 bytes Desc: OpenPGP digital signature Url : /pipermail/attachments/20051026/43dbb9a9/signature.pgp From marcus.brinkmann at ruhr-uni-bochum.de Thu Oct 27 09:11:30 2005 From: marcus.brinkmann at ruhr-uni-bochum.de (Marcus Brinkmann) Date: Thu Oct 27 09:14:10 2005 Subject: Cross compilation of gpgme on Fedora Core 4 In-Reply-To: <20051027025118.AB6717B4E4@ws5-10.us4.outblaze.com> References: <20051027025118.AB6717B4E4@ws5-10.us4.outblaze.com> Message-ID: <87zmovxwm5.wl%marcus.brinkmann@ruhr-uni-bochum.de> At Thu, 27 Oct 2005 10:51:18 +0800, "Srinivasan S" wrote: > > [1 ] > Hi Werner, Marcus > > Build is successful, unfortunately I do not get a dll but only a > libgpgme.a file. > Attached my config.log file. .. please let me know if I need to > change anything else to get the DLL. --enable-shared. Or rather, remove --disable-shared from autogen.sh (line 79). Marcus From wk at gnupg.org Thu Oct 27 10:42:54 2005 From: wk at gnupg.org (Werner Koch) Date: Thu Oct 27 10:46:40 2005 Subject: OpenPGP Card patch for Cygwin In-Reply-To: <4360226F.2080805@comcast.net> (John Clizbe's message of "Wed, 26 Oct 2005 19:42:23 -0500") References: <4360226F.2080805@comcast.net> Message-ID: <87ek674agh.fsf@wheatstone.g10code.de> On Wed, 26 Oct 2005 19:42:23 -0500, John Clizbe said: > The attached patch enables Cygwin builds to properly handle OpenPGP cards. Applied. Thanks. Salam-Shalom, Werner From jvender at owensboro.net Fri Oct 28 06:09:45 2005 From: jvender at owensboro.net (Joe Vender) Date: Fri Oct 28 06:11:31 2005 Subject: Question about signing subkeys Message-ID: <200510272309450520.00191E37@216.135.2.37> For what reasons would someone use a subkey as the signing key instead of using the primary key as the signing key? In other words, what are the advantages and disadvantages, if any, of using a subkey instead of a primary key for signing? Joe Vender From dshaw at jabberwocky.com Fri Oct 28 18:13:24 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Fri Oct 28 18:14:29 2005 Subject: Question about signing subkeys In-Reply-To: <200510272309450520.00191E37@216.135.2.37> References: <200510272309450520.00191E37@216.135.2.37> Message-ID: <20051028161324.GA26684@jabberwocky.com> On Thu, Oct 27, 2005 at 11:09:45PM -0500, Joe Vender wrote: > For what reasons would someone use a subkey as the signing key > instead of using the primary key as the signing key? In other words, > what are the advantages and disadvantages, if any, of using a subkey > instead of a primary key for signing? Advantages: * Allows you to keep your primary key offline (a key that isn't there is really difficult to compromise either accidentally or not). * Allows you to roll your signing key (via expiry or revocation) every now and then without losing signatures on your key from other people. * Allows you to use a different algorithm for signing than you use for certification/identity. For example, using a big RSA key is annoying for clearsigning since the signatures are large... but many people like using a big RSA key for their primary key because it's large. Using a signing DSA subkey and a big RSA primary is the best of both worlds. Disadvantages: * Some keyservers can't handle it. This isn't too much of a problem these days. David From jvender at owensboro.net Fri Oct 28 21:06:09 2005 From: jvender at owensboro.net (Joe Vender) Date: Fri Oct 28 21:07:50 2005 Subject: GnuPG key capabilities Message-ID: <000501c5dbf2$aaa78100$d81387d8@net> Is it possible, in GnuPG, to change the key and subkey capabilities after the keys are generated? If so, how? From dshaw at jabberwocky.com Fri Oct 28 21:11:29 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Fri Oct 28 21:16:15 2005 Subject: GnuPG key capabilities In-Reply-To: <000501c5dbf2$aaa78100$d81387d8@net> References: <000501c5dbf2$aaa78100$d81387d8@net> Message-ID: <20051028191129.GA27024@jabberwocky.com> On Fri, Oct 28, 2005 at 02:06:09PM -0500, Joe Vender wrote: > Is it possible, in GnuPG, to change the key and subkey capabilities after > the keys are generated? If so, how? Theoretically possible, but not currently possible in GnuPG. David From cam at mathematica.scientia.net Sun Oct 30 14:46:21 2005 From: cam at mathematica.scientia.net (Christoph Anton Mitterer) Date: Sun Oct 30 14:46:11 2005 Subject: Lots of questions In-Reply-To: <43601157.7090803@mathematica.scientia.net> References: <43601157.7090803@mathematica.scientia.net> Message-ID: <4364CEAD.5000302@mathematica.scientia.net> Hi again. First of all: Sorry for those many writing mistakes I've made in my initial post,... my English is better indeed, but it was pretty late when I wrote that mail ;-) Ok,.. In the meantime I've received several replys,... most of them haven't been posted to the list. I'll do that as soon as I got permission from the authors. I'll also post everything to "gnupg-users" only. Everybody at gnupg-devel who wants to follow that topics and/or continue in helping me should have look there. But it could take some time until I'll continue that topics,.. because first of all I think I should read RFC2440, and I'm also planning a Keysigning party at my university; so I've a lot to do next week. Still, if anybody has good answers to my questions from my initial post,... do not hesitate to help me. Regards, Chris. From stephane at sente.ch Sun Oct 30 13:00:02 2005 From: stephane at sente.ch (=?ISO-8859-1?Q?St=E9phane_Corth=E9sy?=) Date: Sun Oct 30 14:55:48 2005 Subject: Bug in gpgme 1.1 - gpgme_engine_check_version() Message-ID: <6FF527B4-B062-48C3-9DD5-654D063C2055@sente.ch> Hi, The call to gpgme_engine_check_version() will not return correct results if, just before, you call gpgme_set_engine_info() with an executable path not pointing to gpg: gpgme_engine_check_version() returns 0 (if /usr/local/bin/gpg is OK), whereas it should return a GPG_ERR_INV_ENGINE error, according to documentation. Here's a test case. St?phane /* gcc -o test test.c `gpgme-config --cflags --libs` */ #include #include #include int main(int argc, char **argv){ gpgme_error_t anError; setlocale (LC_ALL, ""); printf("Checking version\n"); gpgme_check_version (NULL); gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL)); gpgme_set_locale (NULL, LC_MESSAGES, setlocale (LC_MESSAGES, NULL)); printf("Checking default configuration\n"); anError = gpgme_engine_check_version(GPGME_PROTOCOL_OpenPGP); if(anError != GPG_ERR_NO_ERROR) return anError; printf("Changing executable path\n"); anError = gpgme_set_engine_info(GPGME_PROTOCOL_OpenPGP, "/dummy/ path", NULL); if(anError != GPG_ERR_NO_ERROR) return anError; printf("Checking new configuration: "); anError = gpgme_engine_check_version(GPGME_PROTOCOL_OpenPGP); printf("%d\n", anError); /* anError should be GPG_ERR_INV_ENGINE */ return 0; } From dirk.traulsen at lypso.de Mon Oct 31 00:56:54 2005 From: dirk.traulsen at lypso.de (Dirk Traulsen) Date: Mon Oct 31 02:56:04 2005 Subject: Code for 'clean total' Message-ID: <43656BD6.12658.AFFA8E6@localhost> Hi David! I'm the one who started the thread "Feature request: expand 'clean' to 'clean total'" at gnupg-users. Unfortunately you didn't comment on the issue, in spite being the one who wrote the clean options. If you didn't see it, here is the main point again: ----snip---- > So here is my feature request: Please make an option to delete > signatures, for which there is no corresponding signing key on > the local keyring. ----snip---- As you can see in the thread, there are, me aside, other people who would appreciate a function 'clean total'. Ok, what's the standard, if a users wants a feature and the developers don't react? Right, it's show me the code... So for me there were today a lot of first times: Learning the basics of C, fetching source code from a version control system, trying to find my way through the jungle of files, trying to implement the wanted function and make diffs to trunk to send it to you. I can tell you, this was a hard day! But very interesting, too! I think, what I did could be the basis for the implementation of 'clean total'. I really tried to understand how you implemented 'clean' and now I hope that I got it right. As I'm an extreme beginner with C (until today only did scripts and naturally some BASIC at school a good time ago), I'm not in any way sure, that the code is correct or complete (or 'beautiful' :) ). My hope is, that you could take it and make something good from it. As it is the first time for me, I was not sure, what is the correct way to send you the diffs. I decided to put them in here. I'm really excited what you will say to this. Dirk Comments and diffs =============== I fetched the relevant GnuPG trunk revision 3918 files as text: -.txt and named my versions --Dirk.txt. The diffs are called diff_-.txt. When I am correct, then the main function acting as 'clean sigs' is clean_sigs_from_uid() in trustdb.c, which is declared in trustdb.h. Until now, mark_usable_uid_certs() would classify the signatures without a signing key with flag 12 and clean_sigs_from_uid() would keep them. This function is called directly and indirectly from keyedit.c, export.c and import.c. My idea was to add a 'clean total' to the existing 'clean sigs' and 'clean uids', which would do both like 'clean' alone, but additionally sort out the signatures with flag 12 from mark_usable_uid_certs(). Every time the 'clean' function is called, I made a test for 'clean total'. Mostly it is just an addition to 'clean sigs' everywhere necessary. To do this, I added a new variable clean-total and new (what is it called?) IMPORT_CLEAN_TOTAL and EXPORT_CLEAN_TOTAL to options.h and import.c and export.c. Is it correct, that this are 'variables', where flags are set? I hope so or there is nonsense in import.c and export.c! I do not know where is the best place to declare a normal integer variable like clean-total, which is used by several files. I decided to put it in trustdb.h, as every file included it. (If it is only declared, but gets no definitive value in the trustdb.h, do I need to set it to 0 in every file xxx.c, which uses the variable? I chose to set it to zero before and after using it.) In export.c and import.c I changed texts, which seem to be send to the user. I don't know if I should have compensated for the changes at other places. I also edited the man-page file and chose gpg.sgml, because I thought this to be the mother of all formats. If you have some time could you please tell me what you think of my work. It may be really miserable, but I hope it convinces you to implement the function correctly. Ok, here is the code: ########################## --- options.h-3909.txt 2005-10-30 22:05:49.000000000 +0100 +++ options.h-3909-Dirk.txt 2005-10-30 22:05:49.000000000 +0100 @@ -267,6 +267,7 @@ struct { #define IMPORT_MERGE_ONLY (1<<4) #define IMPORT_CLEAN_SIGS (1<<5) #define IMPORT_CLEAN_UIDS (1<<6) +#define IMPORT_CLEAN_TOTAL (1<<7) #define EXPORT_LOCAL_SIGS (1<<0) #define EXPORT_ATTRIBUTES (1<<1) @@ -275,6 +276,7 @@ struct { #define EXPORT_CLEAN_SIGS (1<<4) #define EXPORT_CLEAN_UIDS (1<<5) #define EXPORT_RESET_SUBKEY_PASSWD (1<<6) +#define EXPORT_CLEAN_TOTAL (1<<7) #define LIST_SHOW_PHOTOS (1<<0) #define LIST_SHOW_POLICY_URLS (1<<1) ########################## ########################## --- trustdb.h-3775.txt 2005-10-30 21:37:13.000000000 +0100 +++ trustdb.h-3775-Dirk.txt 2005-10-30 21:37:13.000000000 +0100 @@ -84,6 +84,7 @@ int clear_ownertrusts (PKT_public_key *p int clean_sigs_from_uid(KBNODE keyblock,KBNODE uidnode,int noisy); int clean_uids_from_key(KBNODE keyblock,int noisy); +int clean-total; /*-- tdbdump.c --*/ void list_trustdb(const char *username); ########################## ########################## --- trustdb.c-3841.txt 2005-10-30 21:37:13.000000000 +0100 +++ trustdb.c-3841-Dirk.txt 2005-10-30 21:37:12.000000000 +0100 @@ -1615,8 +1615,16 @@ clean_sigs_from_uid(KBNODE keyblock,KBNO if(node->flag & (1<<11)) continue; - /* ... and sigs from unavailable keys. */ - if(node->flag & (1<<12)) + /* ... but delete sigs from unavailable keys, + if option 'clean-total' is set. */ + if((node->flag & (1<<12)) && clean-total) + {if(noisy) + log_info("removing signature from %s on uid \"%s\": %s\n", + keystr(node->pkt->pkt.signature->keyid), + uidnode->pkt->pkt.user_id->name,"Key unavailable"); + } + delete_kbnode(node); + deleted++; continue; /* Everything else we delete */ ########################## ########################## --- import.c-3892.txt 2005-10-30 21:37:10.000000000 +0100 +++ import.c-3892-Dirk.txt 2005-10-30 21:37:10.000000000 +0100 @@ -102,11 +102,17 @@ parse_import_options(char *str,unsigned {"merge-only",IMPORT_MERGE_ONLY,NULL, N_("only accept updates to existing keys")}, {"import-clean-sigs",IMPORT_CLEAN_SIGS,NULL, - N_("remove unusable signatures after import")}, + N_("remove only superceded or broken signatures after import")}, {"import-clean-uids",IMPORT_CLEAN_UIDS,NULL, N_("remove unusable user IDs after import")}, {"import-clean",IMPORT_CLEAN_SIGS|IMPORT_CLEAN_UIDS,NULL, - N_("all import-clean-* options from above")}, + N_("combines import-clean-uid and import-clean-sigs")}, + + /*The following line should set IMPORT_CLEAN_SIGS and IMPORT_CLEAN_UIDS too. + Does it function like this?*/ + + {"import-clean- total",IMPORT_CLEAN_TOTAL|IMPORT_CLEAN_SIGS|IMPORT_CLEAN_UIDS,NULL, + N_("remove unusable signatures and UIDs after import")}, /* Aliases for backward compatibility */ {"allow-local-sigs",IMPORT_LOCAL_SIGS,NULL,NULL}, {"repair-hkp-subkey- bug",IMPORT_REPAIR_PKS_SUBKEY_BUG,NULL,NULL}, @@ -672,10 +678,15 @@ clean_sigs_from_all_uids(KBNODE keyblock KBNODE uidnode; int deleted=0; + if(options&IMPORT_CLEAN_TOTAL) + clean-total = 1; + else clean-total = 0; + for(uidnode=keyblock->next;uidnode;uidnode=uidnode->next) if(uidnode->pkt->pkttype==PKT_USER_ID) deleted+=clean_sigs_from_uid(keyblock,uidnode,opt.verbose); + clean-total = 0; return deleted; } ########################## ########################## --- export.c-3912.txt 2005-10-30 21:37:09.000000000 +0100 +++ export.c-3912-Dirk.txt 2005-10-30 21:37:08.000000000 +0100 @@ -65,11 +65,17 @@ parse_export_options(char *str,unsigned {"export-sensitive-revkeys",EXPORT_SENSITIVE_REVKEYS,NULL, N_("export revocation keys that are marked as \"sensitive\"")}, {"export-clean-sigs",EXPORT_CLEAN_SIGS,NULL, - N_("remove unusable signatures during export")}, + N_("remove only superceded and broken signatures during export")}, {"export-clean-uids",EXPORT_CLEAN_UIDS,NULL, N_("remove unusable user IDs during export")}, {"export-clean",EXPORT_CLEAN_SIGS|EXPORT_CLEAN_UIDS,NULL, - N_("all export-clean-* options from above")}, + N_("combines export-clean-uid and export-clean-sigs")}, + + /*The following line should set EXPORT_CLEAN_SIGS and EXPORT_CLEAN_UIDS too. + Does it function like this?*/ + + {"export-clean- total",EXPORT_CLEAN_TOTAL|EXPORT_CLEAN_SIGS|EXPORT_CLEAN_UIDS,NULL, + N_("remove unusable signatures and UIDs during export")}, {"export-minimal", EXPORT_MINIMAL|EXPORT_CLEAN_SIGS|EXPORT_CLEAN_UIDS,NULL, N_("export the smallest key possible")}, @@ -466,8 +472,15 @@ do_export_stream( IOBUF out, STRLIST use /* Run clean_sigs_from_uid against each uid if export-clean-sigs is on. */ if(options&EXPORT_CLEAN_SIGS) - clean_sigs_from_uid(keyblock,node,opt.verbose); + { + if(options&EXPORT_CLEAN_TOTAL) + clean-total = 1; + else clean-total = 0; + + clean_sigs_from_uid(keyblock,node,opt.verbose); + clean-total = 0; } + } else if(node->pkt->pkttype==PKT_SIGNATURE) { /* If we have export-minimal turned on, do not include ########################## ########################## --- keyedit.c-3917.txt 2005-10-30 22:38:54.000000000 +0100 +++ keyedit.c-3917-Dirk.txt 2005-10-30 23:14:32.000000000 +0100 @@ -2176,7 +2176,13 @@ keyedit_menu( const char *username, STRL { if(*arg_string) { - if(ascii_strcasecmp(arg_string,"sigs")==0 + if(ascii_strcasecmp(arg_string,"total")==0 + int clean-total = 1; + modified=menu_clean_sigs_from_uids(keyblock); + clean-total = 0; + modified+=menu_clean_uids_from_key(keyblock); + redisplay=modified; + else if(ascii_strcasecmp(arg_string,"sigs")==0 || ascii_strcasecmp(arg_string,"signatures")==0 || ascii_strcasecmp(arg_string,"certs")==0 || ascii_strcasecmp(arg_string,"certificates")==0) ########################## ########################## --- gpg.sgml-3918.txt 2005-10-30 21:56:38.000000000 +0100 +++ gpg.sgml-3918-Dirk.txt 2005-10-30 21:56:38.000000000 +0100 @@ -547,10 +547,10 @@ keep keys neat and clean, and it has no sigs -Remove any signatures that are not usable by the trust calculations. -For example, this removes any signature that does not validate. It -also removes any signature that is superceded by a later signature, or -signatures that were revoked. +Remove signatures that are not usable by the trust calculations, but keep +signatures which could not be verified because the signing key is missing. +It removes any signature that is superceded by a later signature, broken +or revoked. @@ -560,9 +560,18 @@ Compact (by removing all signatures exce that is no longer usable (e.g. revoked, or expired). + +total + +Remove like above any unusable signature +and UID, but also remove any signature +for which the signing key is not present. + -If invoked with no arguments, both `sigs' and `uids' are cleaned. +If invoked with no arguments, both `sigs' and `uids' are +cleaned, but only signatures for which the signing key is +present can be evaluted. ########################## From dshaw at jabberwocky.com Mon Oct 31 05:06:21 2005 From: dshaw at jabberwocky.com (David Shaw) Date: Mon Oct 31 05:06:53 2005 Subject: Code for 'clean total' In-Reply-To: <43656BD6.12658.AFFA8E6@localhost> References: <43656BD6.12658.AFFA8E6@localhost> Message-ID: <20051031040621.GA20494@jabberwocky.com> On Mon, Oct 31, 2005 at 12:56:54AM +0100, Dirk Traulsen wrote: > Hi David! > > I'm the one who started the thread "Feature request: expand 'clean' > to 'clean total'" at gnupg-users. Unfortunately you didn't comment on > the issue, in spite being the one who wrote the clean options. > If you didn't see it, here is the main point again: > > ----snip---- > > So here is my feature request: Please make an option to delete > > signatures, for which there is no corresponding signing key on > > the local keyring. > ----snip---- > > As you can see in the thread, there are, me aside, other people who > would appreciate a function 'clean total'. I have no problem with the function concept. I have to confess my problem with this is the name ;) Right now we have "import-clean-sigs" and "import-clean-uids". To get both, you can either use both, or use "import-clean". Adding something called "import-clean-total" looks like it should mean the same thing as "import-clean" (i.e. all possible import-clean-xxx values). I think it would confuse people. The thesaurus lists these verbs for 'clean': absterge, bath, bathe, blot, blow, brush, cauterize, clarify, cleanse, clear up, deodorize, depurate, deterge, disinfect, do up, dredge, dust, edulcorate, elutriate, erase, expunge, expurgate, flush, hackle, launder, lave, mop, neaten, pick, pick up, polish, purge, purify, rake, rasp, refine, rinse, rout out, sanitize, scald, scour, scrape, scrub, shake out, shampoo, soak, soap, sponge, spruce up, sterilize, straighten up, swab, sweep, tidy up, vacuum, wash, whisk, winnow, wipe Most of these are silly, but some are not too bad: purge perhaps, or neaten. Maybe even wipe. What do you think? David From dirk.traulsen at lypso.de Mon Oct 31 09:15:30 2005 From: dirk.traulsen at lypso.de (Dirk Traulsen) Date: Mon Oct 31 09:14:45 2005 Subject: Code for 'clean total' In-Reply-To: <20051031040621.GA20494@jabberwocky.com> References: <43656BD6.12658.AFFA8E6@localhost> Message-ID: <4365E0B2.13111.CC8255F@localhost> Am 30 Oct 2005 um 23:06 hat David Shaw geschrieben: > I have no problem with the function concept. I'm delighted to hear that. > I have to confess my problem with this is the name ;) > Right now we have "import-clean-sigs" and "import-clean-uids". To get > both, you can either use both, or use "import-clean". Adding > something called "import-clean-total" looks like it should mean the > same thing as "import-clean" (i.e. all possible import-clean-xxx > values). I think it would confuse people. > > The thesaurus lists these verbs for 'clean': > > absterge, bath, bathe, blot, blow, brush, cauterize, clarify, cleanse, > clear up, deodorize, depurate, deterge, disinfect, do up, dredge, > dust, edulcorate, elutriate, erase, expunge, expurgate, flush, hackle, > launder, lave, mop, neaten, pick, pick up, polish, purge, purify, > rake, rasp, refine, rinse, rout out, sanitize, scald, scour, scrape, > scrub, shake out, shampoo, soak, soap, sponge, spruce up, sterilize, > straighten up, swab, sweep, tidy up, vacuum, wash, whisk, winnow, wipe > > Most of these are silly, but some are not too bad: purge perhaps, or > neaten. Maybe even wipe. What do you think? 'shampoo' sounds nice... :) No, all three are fitting ('wipe' maybe being too near to 'minimal' and as a german I first had to look up 'neaten', so maybe 'purge' would be the best of the three.), but the idea was to not take a completely new name for a function which does what 'clean' does according to the man-page: ("clean Cleans keys by removing unusable pieces. ... clean sigs: Remove any signatures that are not usable by the trust calculations. ..."), I was sure that the signatures with no available signing key would be meant too, as they are not usable by the trust calculations. I think that the current implementation/man-page is misleading. 'clean' does not remove all unusable pieces, which are not part of the trust calculation. I think this confuses people. Well, maybe this is too bold, it confused me... There are so many options that it is intimidating for a new user. In the beginning I read the man-page again and again, and there was always something new which I hadn't registered before. Why take a completely different name for a function which does exactly what's in the man-page? First I thought it would be best to change 'clean' and 'clean sigs' to do what is in the man-page (and what does the code for 'clean total'). But maybe you wouldn't like it as you implemented it this way and there are sure (some|a lot of) people who want to keep their 'flag12'-signatures. So if it is newly stated clearly in the man-page that 'clean' and 'clean sigs' keep these signatures and a new option does the same as 'clean', but additionally deletes them, I thought you would be more 'open' to include it. Don't you think it is easier to find for the users if it just another 'clean' option? As 'clean' is still a new feature, maybe the first idea was better and you could change the way 'clean' works? Let it do what you said above: 'clean' stands for all possible import-clean-xxx values. There could be the three options: 'clean sigs' like today but stated differently in the man-page 'clean uids' like today 'clean total' or 'clean complete' or 'clean all' as proposed. Another idea would be to enhance 'clean sigs': 'clean sigs' like today 'clean sigs (all | total | complete)' all unusable sigs, no UIDs 'clean uids like today' and 'clean', which means all three. But again, there shouldn't be two different names for the same function. Dirk PS: As the code was my first 'commit', the first time I tried to read a C program and to understand a big project like gnupg, I would appreciate if you could tell me what was ok and what abysmal. Did I find the right places to tweak 'clean'? Ah, and was it ok to put the diffs inside the mail? Was it even ok to send you my diffs or shouldn't I have done it? As you didn't comment on the subject on gnupg-users, I thought you maybe wanted to see a least a rudimentary implementation, before you put effort in this subject.. Another question: Is this the right place to discuss such things? There is not a lot traffic on this list. Where do you discuss such things normally? From wk at gnupg.org Mon Oct 31 10:56:25 2005 From: wk at gnupg.org (Werner Koch) Date: Mon Oct 31 11:01:44 2005 Subject: Code for 'clean total' In-Reply-To: <4365E0B2.13111.CC8255F@localhost> (Dirk Traulsen's message of "Mon, 31 Oct 2005 09:15:30 +0100") References: <43656BD6.12658.AFFA8E6@localhost> <4365E0B2.13111.CC8255F@localhost> Message-ID: <87acgqui0m.fsf@wheatstone.g10code.de> On Mon, 31 Oct 2005 09:15:30 +0100, Dirk Traulsen said: > Ah, and was it ok to put the diffs inside the mail? Yes sure. Unless they are not too long. Better put them all into one diff file. > Was it even ok to send you my diffs or shouldn't I have done it? The problem is that we can't apply your diff without exchaning legal papers (copyright assignments) first. For small changes it is ofthen easier to just tell wat you want and let us implement it. Salam-Shalom, Werner p.s. I did not follow the actual thread, just wanted to comment on the diff thing. From joern at bratzke.info Wed Oct 5 21:55:58 2005 From: joern at bratzke.info (=?ISO-8859-1?Q?J=F6rn_Bratzke?=) Date: Fri Dec 16 11:59:00 2005 Subject: Question on implementation of OpenPGP Card. Message-ID: <4344159E.1000300@bratzke.info> Hi! One question regarding the OpenPGP Card. I know that the software running on the card is not OpenSource, but i still have one question about the internal with hopefully getting an answer here. How is the rsa exponetiation done on the card, which algorithm is used? Greetings, J?rn