Installation

  • Obtain the OpenPGP::SDK software, as described in Downloads.
  • Install the necessary 3rd party software, as described in PreRequisites.
  • From the top-level openpgpsdk directory, run
    $ configure
    $ make
    $ make test
    
  • (Please note you may need to use options on the configure command, as described below).
  • You should now have :
    • lib/libops.a - the library
    • bin/openpgp - the command line app
    • tests/tests - the test suite

Documentation

Documentation is generated from the source code using doxygen. If you want a local copy of this, run

$ make doc

This will generate the documentation in the directory doc/doxy-user.

Configure Options

--with-openssl=<directory> Use if openssl lib is not found on standard path.
--with-cunit=<directory> Use if CUnit lib is not found on standard library path.
--with-zlib=<directory> Use if zlib is not found on standard library path
--64 For 64-bit machines
--cc=<compiler>
--log=<logfile>
--use_dmalloc To use dmalloc for debugging
--with-otherlibs=<list of libraries> Other necessary libraries (not usually needed)
--help To give this list of options

Notes

  • On some versions of SunOS, you will need --with-otherlibs="-lsocket"

  • There is an undocumented option to configure --oink=. This is used for static code analysis.