gnupg2 on solaris10-sparc

Thomas Maier-Komor thomas at maier-komor.de
Sat Jan 12 14:06:33 CET 2008


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

Hi,

I had to do some adjustments to get gnupg 2 to compile on solaris10-sparc:

./configure --prefix=/opt/local CC=cc CFLAGS=-xO3
"LDFLAGS=-R/opt/local/lib -R/opt/csw/lib -liconv -lgpg-error"

RUNPATH should be picked up for the libraries needed by gpg, otherwise
one has to set LD_LIBRARY_PATH, which is highly discouraged.
- -liconv and -lgpg-error must be added at the end, because Sun's ld
always only collects symbols and libraries that have already been
referenced. So either move -liconv to the end or add it another time at
the end.

add "-L../jnlib/ -ljnlib" in keyserver for target gpg2keys_finger
add "-L../jnlib/ -ljnlib -lintl" in keyserver for targets gpg2keys_hkp
gpg2keys_curl


tests/asschk.c:311 macro __FUNCTION__ isn't know to Sun Studio

That's about it - great software! I'd be happy if you could patch the
build process accordingly.

Thanks,
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiLtY6U+hp8PKQZIRAuywAJ93vsuzE3R1s3j6AThwRkaxhbZW9ACfScnc
vITAFmx0mqHHLfeoQSU0tQk=
=Bmgx
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list