plone / Installers-UnifiedInstaller

Linux/BSD/OSX Installer
28 stars 24 forks source link

Extra Dependency Needed for Plone 5.2.1 on Ubuntu 20.04 #101

Open ronchi opened 4 years ago

ronchi commented 4 years ago

Installing Plone 5.2.1 on Ubuntu 20.04 is possible, but requires at least one extra dependency that is not one of the normal dependencies for earlier versions of Ubuntu.

As a test case, I installed Plone 5.2.1 using the Unified Installer on the most-up-to-date version of Ubuntu 20.04 (as of April 8, 2020). Initially, I included the following dependencies before attempting an install:

sudo apt install libz-dev libjpeg-dev libssl-dev libxml2-dev libreadline-dev wv python3-pil-dev libxslt1-dev

... and then ran the install.sh script. It failed because a particular header file (ffi.h) was not found. Consequently, I added:

sudo apt install libffi-dev

... and re-ran the install.sh script. Success!

If possible, could you incorporate the requirement of libffi-dev into the install script? Incidentally, I have not tested older versions of Plone on Ubuntu 20.04, so I'm not sure if this extra dependency is version-specific.

jensens commented 3 years ago

Github Actions tests are passing now on Ubuntu latest. So I guess this one is no longer valid/fixed. Please reopen if I am wrong.

gnafou commented 3 years ago

well i don't know if it fits here ... when trying to install 5.2.4 on debian buster , i had to install python3.8 ( seems that the --build-python vanished :-( ) but installing python without the libffi-dev package makes the plone installer fail

nanoav commented 3 years ago

Same errors for me: cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory 15 | #include

in Debian 11 installing with Plone-5.2.5-UnifiedInstaller-1.0, and minimal 5.2.5 install without UnifiedInstaller.

After installing libffi-dev Plone successfully installed