bzip2 cross-compiling problem

John Clizbe JPClizbe at comcast.net
Wed Mar 2 15:50:22 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tenui wrote:
> Greetings,
> 
> I posted this yesterday morning but it seems to have gone missing in
> cyber space, so let's try again.
> 
> I have installed the Debian MinGW environment to cross-compile gpg for
> Windows. My first attempt, with 1.4.1rc2, seemed to compile without
> problems, but when transferred to a Windows box I found there was no
> bzip2 capability included.
> 
> I am using Libra Net 2.8.1. I have the bzip2 and libbzip2 .deb packages
> installed, so what else could be missing, or is there some configuration
> option I must include in autogen.sh or configure.ac?

BZIP2 support isn't standard in Win32, so MinGW won't have an import
library for it. Ditto ICONV and ZLIB. You can get the deveopment library
files in the -lib packages available at SourceForge's GnuWin32 project.
You'll need the DDLs frmo the -bin archives to be installed on the Windows
system along with your GnuPG binaries.

Since your User-Agent string is showing Mozilla on Windows 2000, why not
build GnuPG directly on your windows platform and avoid the cross-compile
issues?

GnuPG configures and builds out-of-the-box under current MinGW/Msys
distributions. The binaries and development packages (-bin & -lib) for
bzip2, iconv and zlib are also needed from the GnuWin32 project at
SourceForge. The MinGW site also has a GnuPG porting file with build
script and handy patches.

Building the GnuPG software from cvs requires a few more packages and a
bit more tweaking.

You can write me offlist if you need a bit more assistance with this.

Regards.

- --
John P. Clizbe                      Inet:   John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. PGP/GPG KeyID: 0x608D2A10
"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?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1rc1 (MingW32)
Comment: When cryptography is outlawed, b25seSBvdXRsYXdzIHdpbGwgdXNlIG
Comment: Be part of the £33t ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCJdKsHQSsSmCNKhARAu2hAKCptyGcs0gP8pjyYC1A42xOPo+QmgCg8zOo
AZx9tKMAQ1lgVd8M9GrntuQ=
=xIeu
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list