gnupg2 on solaris10-sparc
thomas at maier-komor.de
Sat Jan 12 14:06:33 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
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
add "-L../jnlib/ -ljnlib" in keyserver for target gpg2keys_finger
add "-L../jnlib/ -ljnlib -lintl" in keyserver for targets gpg2keys_hkp
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Gnupg-devel