BZIP2 algorithm isn't supported after compiling gnupg from source code

John Clizbe JPClizbe at comcast.net
Thu Jan 5 17:50:51 CET 2006


lusfert wrote:

> $ cd /home/[user]/
> $ bunzip2 gnupg-1.4.2.tar.bz2
> $ tar xvf gnupg-1.4.2.tar

tar xjvf will combine the tar extract operation with the bunzip

> $ cd ./gnupg-1.4.2
> $ ./configure
> $ make

Thus is normally the point where one tests the built code *before*
'make install'.

> # make install
> 
> After these steps command "gpg --version" displays the following:
> 
> gpg (GnuPG) 1.4.2
> [...]
> Compression: Uncompressed, ZIP, ZLIB

<snip>

> Thus BZIP2 algorithm isn't supported after compiling GnuPG 1.4.2 from
> source code under Linux.
> How can I enable BZIP2 support using last version of GPG under Linux?

What was the output from configure? You should have seen lines like
(near top)
  checking whether to enable the BZIP2 compression algorithm... yes
  <snip>
(near bottom)
  checking for bzlib.h... yes
  checking for BZ2_bzCompressInit in -lbz2... yes

'./configure <options> 2>&1 | tee configure.log' will save the output from
configure for diagnostic purposes.

BZIP2 support won't be built if configure cannot find the bzlib.h include file
and the libbz2 library. You may need to 'help' configure find the bzip2 library.
configure's --help will tell you:

  --with-bzip2=DIR        look for bzip2 in DIR

Finally, what version does apt-get install? Mostly just curious, I don't use Debian.


-- 
John P. Clizbe                      Inet:   John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. PGP/GPG KeyID: 0x608D2A10/0x18BB373A
"what's the key to success?"        / "two words: good decisions."
"what's the key to good decisions?" /  "one word: experience."
"how do i get experience?"          / "two words: bad decisions."

"Just how do the residents of Haiku, Hawai'i hold conversations?"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 669 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20060105/1b614c4a/signature.pgp


More information about the Gnupg-users mailing list