Install GNU Guile-3.0.5 or higher version:
Since GNU Artanis-0.5, GNU Guile-3+ is required.
Install pre-requisites (typically available in linux package distributions): a C compiler, [[https://www.gnu.org/software/autoconf/]autoconf], [[https://www.gnu.org/software/automake/]automake], [[https://sourceware.org/libffi/]libffi], [[https://curl.se/libcurl/]libcurl], [[https://www.gnu.org/software/libtool/]libtool and libltdl], [[https://www.gnu.org/software/libunistring/]libunistring], [[https://www.perl.org/]perl], [[https://firefox-source-docs.mozilla.org/security/nss/index.html]libnss (Network Security Services)], [[https://tiswww.case.edu/php/chet/readline/rltop.html]readline] and [[http://zlib.net/]zlib].
wget -c ftp://ftp.gnu.org/gnu/guile/guile-3.0.10.tar.xz tar xvf guile-3.0.10.tar.xz cd guile-3.0.10 && ./configure && make #(NOTE: this may take a very long time) sudo make install
I would NOT recommend trying to compile/install Guile from Git repo, since it’ll take a long time.
Install dependencies:
wget -c https://github.com/opencog/guile-dbi/archive/guile-dbi-2.1.8.tar.gz tar xvzf guile-dbi-2.1.8.tar.gz cd guile-dbi-guile-dbi-2.1.7/guile-dbi && ./autogen.sh --no-configure && ./configure && make sudo make install cd ../..
cd guile-dbi-guile-dbi-2.1.8/guile-dbd-mysql && ./autogen.sh --no-configure && ./configure && make sudo make install
MySQL is used for the examples in this manual. You may find dbd plugins for other databases here. The installation process is identical.
git clone https://github.com/spk121/guile-curl.git cd guile-curl && git checkout v0.9 ./bootstrap && ./configure --prefix=/usr && make -j make install ln -s /usr/lib/guile/3.0/extensions/libguile-curl.* /usr/lib/ ldconfig
NOTE: You may need to make necessary soft links according to above script.
git clone https://github.com/aconchillo/guile-redis.git cd guile-redis git checkout -b 2.2.0 autoreconf -vif ./configure --prefix=/usr make make install
git clone https://github.com/aconchillo/guile-json.git cd guile-json git checkout -b 4.7.3 autoreconf -iv ./configure --prefix=/usr make -j5 sudo make install sudo ldconfig
Please follow the [[https://firefox-source-docs.mozilla.org/security/nss/build.html] official guide]. It’s better to install it with your distro’s pkg manager.
Install the latest GNU Artanis:
,#+begin_src null wget -c http://ftp.gnu.org/gnu/artanis/artanis-latest.tar.bz2 tar xvjf artanis-latest.tar.bz2 cd artanis-latest && ./autogen.sh –no-configure && ./configure && make sudo make install