Open holmboe opened 5 years ago
Binaries are compiled on Fedora. They may or may not work on other Linux distributions. I highly recommend to compile pp from the sources on your OS:
https://docs.haskellstack.org/en/stable/install_and_upgrade/#linux
)pp.tgz
make install
This should work on most decent Linux distributions.Thanks for the information and instructions. My solution will likely be to upgrade the build containers from Ubuntu 16.04 to 18.04, and if there are any other showstoppers going that route I will resort to building pp in the 16.04 container.
A tip for your release process: use Travis CI to build your Git tags and then upload them to Github Releases (see https://docs.travis-ci.com/user/deployment/releases). In that way you can build releases with older distros than you are running on your development machine.
Feel free to close this issue. :+1:
Sorry for the late reply... Please keep in mind that pp is not supported anymore, it's hard to deploy. For new projects I suggest ypp which is is based on a Lua interpreter and way easier to compile and install and binaries are easier to produce (thanks to zig) and deploy (see hey).
E.g. to install ypp:
curl https://cdelord.fr/hey/ypp-x86_64-linux-musl | sh
The binaries compiled with musl
should be more portable.
When running
pp
version later than 2.3.4 on Ubuntu 16.04 it fails:On Ubuntu 16.04, where
pp
fails to run:The same commands on Ubuntu 18.04, where
pp
runs without problems:This was tested with 2.3.4, 2.7.2 and a few versions in between those two.