-
Notifications
You must be signed in to change notification settings - Fork 7
Installing on Debian Jessie
Kim Rutherford edited this page May 16, 2018
·
4 revisions
These commands will install all Canto dependencies on Debian Jessie (v8.10)
See also: Installing on Debian Stretch v9.4
apt-get update
apt-get install -y ntpdate sqlite3 tar gzip whiptail perl git-core \
make gcc g++ \
libxml2-dev zlib1g-dev libssl-dev libexpat1-dev libpq-dev curl \
libpq-dev libxml2-dev zlib1g-dev libssl-dev libexpat1-dev
apt-get install -y libcatalyst-perl libcatalyst-modules-perl \
libmodule-install-perl libcatalyst-devel-perl liblocal-lib-perl
curl -L http://cpanmin.us | perl - --self-upgrade
(cd /tmp/; \
wget http://ftp.debian.org/debian/pool/main/c/clucene-core/libclucene-dev_0.9.21b-2+b1_amd64.deb && \
wget http://ftp.debian.org/debian/pool/main/c/clucene-core/libclucene0ldbl_0.9.21b-2+b1_amd64.deb && \
dpkg -i libclucene0ldbl_0.9.21b-2+b1_amd64.deb libclucene-dev_0.9.21b-2+b1_amd64.deb && \
rm libclucene0ldbl_0.9.21b-2+b1_amd64.deb libclucene-dev_0.9.21b-2+b1_amd64.deb)
git clone https://github.com/pombase/canto.git /tmp/canto
(cd /usr/include/CLucene/store; patch -p 5 < /tmp/canto/etc/clucene_compilation_fix.patch)
cpanm Lucene
cd /tmp/canto
perl Makefile.PL
make installdeps