Compiling Anyterm

If you ever wanted to install Anyterm for whatever reason, here are notes to get it to work on Ubuntu 16.04.

wget http://anyterm.org/download/anyterm-1.1.29.tbz2
bzip2 -d anyterm-1.1.29.tbz2
tar xf anyterm-1.1.29.tar
cd ../anyterm-1.1.29
apt-get install build-essential libboost-all-dev zlib1g-dev
# https://lists.ubuntu.com/archives/ubuntu-users/2015-June/281250.html
sed -i 's/boost\/spirit\/actor\/insert_at_actor.hpp/boost\/spirit\/home\/classic\/actor\/insert_at_actor.hpp/g' libpbe/src/URI.cc
sed -i 's/boost\/spirit\/actor\/insert_at_actor.hpp/boost\/spirit\/home\/classic\/actor\/insert_at_actor.hpp/g' libpbe/src/parse_http_request.cc
sed -i 's/boost\/spirit\/dynamic\/if.hpp/boost\/spirit\/home\/classic\/dynamic\/if.hpp/g' libpbe/src/URI.cc
sed -i 's/boost\/spirit\/dynamic\/if.hpp/boost\/spirit\/home\/classic\/dynamic\/if.hpp/g' libpbe/src/parse_http_request.cc
sed -i 's/boost\/spirit\/utility\/loops.hpp/boost\/spirit\/home\/classic\/utility\/loops.hpp/g' libpbe/src/URI.cc
sed -i 's/boost\/spirit\/utility\/loops.hpp/boost\/spirit\/home\/classic\/utility\/loops.hpp/g' libpbe/src/parse_http_request.cc
sed -i 's/boost\/spirit\/iterator\/multi_pass.hpp/boost\/spirit\/home\/classic\/iterator\/multi_pass.hpp/g' libpbe/src/URI.cc
sed -i 's/boost\/spirit\/iterator\/multi_pass.hpp/boost\/spirit\/home\/classic\/iterator\/multi_pass.hpp/g' libpbe/src/parse_http_request.cc
sed -i 's/#include <unistd.h>/#include <unistd.h>\n#include <cstdio>/' libpbe/src/SmtpClient.cc
./anytermd -p 7777

Comments are closed