apt-get install
libgtk-3-dev libgif-dev libjpeg-dev libtiff-dev libxpm-dev libwebp-dev libfribidi-dev libharfbuzz-dev libthai-dev libheif-dev
zypper install gtk3-devel giflib-devel libjpeg-devel libtiff-devel
libXpm-devel libXrandr-devel libXcomposite-devel libXcursor-devel
libfribidi-devel libwebp-devel libharfbuzz-devel libthai-devel libheif-devel
wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg -O /usr/bin/apt-cyg
chmod +x /usr/bin/apt-cyg
apt-cyg install libgtk3.0-devel libfribidi-devel libgif-devel libjpeg-devel libtiff-devel libXpm-devel libwebp-devel libheif-devel
/usr/bin/ruby -e "$(curl -fssl https://raw.githubusercontent.com/homebrew/install/master/install)"
brew cask install xquartz
brew install pkg-config giflib gtk+ libpng libtiff jpeg fribidi webp heif
brew install dk/x11/xorg-macros dk/x11/libxft
or linux-homebrew's (not tested)
brew tap linuxbrew/xorg
brew install linuxbrew/xorg/libxft
gmake
instead of make
ppm install MinGW. For building Prima it is absolutely necessary to use the same compiler you have used to build perl. If you choose to use Microsoft compiler, use
nmake
instead of make
.
ActiveState recently phased out their ppm utility, replacing it by the state utility. It however does not react well on
state install MinGW, so I have no idea how to continue -- help needed!
cd
to Prima
directory.
perl Makefile.PL
make
make test
and
make install
.
examples
subdirectory. Run them as perl
examples/filename.pl
. No samples should fail. If some of them
fail anyway, please report this to dmitry@karasik.eu.org
.