Ugh, it truncated my instructions. I'll attach them.
--
This message posted from opensolaris.org
Building GnuPG
Read gnupg-2.0.14/README carefully. It contains mostly correct instructions on
how to build from scratch.
curl -O ftp://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz
curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.gz
curl -O ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.5.tar.gz
curl -O ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.0.7.tar.bz2
curl -O ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-1.0.5.tar.bz2
curl -O ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.7.6.tar.gz
gunzip < pth-2.0.7.tar.gz | tar xvf -
gunzip < libgpg-error-1.7.tar.gz | tar xvf -
gunzip < libgcrypt-1.4.5.tar.gz | tar xvf -
bunzip2 < libksba-1.0.7.tar.bz2 | tar xvf -
bunzip2 < libassuan-1.0.5.tar.bz2 | tar xvf -
gunzip < pinentry-0.7.6.tar.gz | tar xvf -
cd libgpg-error-1.7
./configure
make
pfexec make install
cd ..
cd libgcrypt-1.4.5
./configure
make
pfexec make install
cd ..
cd libksba-1.0.7
./configure
make
pfexec make install
cd ..
cd pth-2.0.7
./configure
make
pfexec make install
cd ..
cd libassuan-1.0.5
./configure --with-pth-prefix=/usr/local
make
pfexec make install
cd ..
pfexec pkg install SUNWsfwhea
cd gnupg-2.0.14
./configure --with-pth-prefix=/usr/local --with-libgcrypt-prefix=/usr/local
--with-libassuan-prefix=/usr/local --with-gpg-error-prefix=/usr/local
--with-ksba-prefix=/usr/local
make
# Fails with an error about a blank line in tests/pkits/Makefile
vi tests/pkits/Makefile
# Remove the offending blank line
make
pfexec make install
cd ..
cd pinentry-0.7.6
./configure --enable-pinentry-curses --disable-pinentry-gtk2 --disable-pmake
# Fails with an error about unknown use_default_colors
vi pinentry/pinentry-curses.c
# Comment out the call to use_default_colors .
make
pfexec make install
cd ..
LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/gpg2 --gen-key
_______________________________________________
opensolaris-help mailing list
[email protected]