-
Notifications
You must be signed in to change notification settings - Fork 6
Fresh_Install
##Steps required to install all back-ends on Ubuntu 18.04 and probably other Debian distributions
Install cpanminus as usual if not already installed.
sudo apt install make cmake build-essential curl cpanminus cpanm --self-upgrade --sudo curl -L https://cpanmin.us | perl - --sudo App::cpanminus
Install AnyEv from CPAN---for event driven application
sudo cpanm AnyEvent Ev
Install ImageMagick for Wx and Tk and Imager to use screenshot applications (Imager also needed for Win32...not relevant here). For my setup the base config file also needed to be moved.
sudo apt install librsvg2* libmagickcore-dev perlmagick Imager sudo cp /usr/include/x86_64-linux-gnu/ImageMagick-6/magick/magick-baseconfig.h /usr/include/ImageMagick-6/magick/magick-baseconfig.h
Install Tk the easiest to install and oldest GUI system on Perl
sudo apt install tk libx11-dev libpng-dev libpng-tools zlib1g-dev libjpeg libtk*
sudo cpanm Tk
GTK2 has respectable Perl API
sudo apt install libgtk*-perl glib2.0 gtk2.0 sudo cpanm Gtk2
As does GTK3.0
sudo apt install gtk3.0 sudo cpanm Gtk3
Installing Wx required multiple libraries some of which may have already been installed on previous steps
sudo apt install libgtk2.0-dev libgtk-3-dev sudo apt install -y libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base1.0-dev libnotify-dev freeglut3 freeglut3-dev libsm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev libxtst-dev libcanberra-gtk-module sudo apt install libalien-wxwidgets-perl smoke-dev-tools smokegen-dbg libwx-perl sudo cpanm wxPerl::Constructors
Wx required a special version of Wx-Image, which Jouke has with bindng toImage Magick Wx::Perl::Imagick ...but the version on CPAN has an issue in that for Linux distributions it is required to download the tarball and modify the MakeFile to change the backslashes (windows style) in paths to forward slashes.
sudo cpanm Wx
Installing QTCore4 was difficult until I realised some people have already packaged these for Ubuntu
sudo apt install libsmokeqt4-dev libqt4-dev-tools libqt*-perl