Monday, May 14, 2018

ABCL: Install ClouchDB

These instructions pertain to a Windows dev environment.

Pre-requisite:

Have Apache ClouchDB already installed.
Install Perl (this was done when Cygwin was installed)
Install NASM and set the environment path.
In order to overcome the error:

 Unable to load any of the alternatives:
   ("libssl32.dll" "ssleay32.dll")

Download OpenSSL 1.0.2o from Sourceforge, extract the directory.
Load up the Developer Command Prompt (requires Visual Studio to be installed before-hand) and browse to the extracted OpenSSL directory.
Follow the commands in INSTALL.W32 (requires Perl), remember to set the prefix.
Once installed to prefix directory, set the environment path.
Download com.sun.jna jna-3.0.9.jar and save it in the path of your dist/abcl.jar for easier access
Quicklisp already installed and added to your init file

Installing ClouchDB

$ java -jar abcl.jar
> (java:add-to-classpath (probe-file #p"com/sun/jna/jna-3.0.9.jar"))
T
> (ql:quickload :clouchdb)
.................