Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra Dependency Needed for Plone 5.2.1 on Ubuntu 20.04 #101

Open
ronchi opened this issue Apr 9, 2020 · 3 comments
Open

Extra Dependency Needed for Plone 5.2.1 on Ubuntu 20.04 #101

ronchi opened this issue Apr 9, 2020 · 3 comments

Comments

@ronchi
Copy link

ronchi commented Apr 9, 2020

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
Copy link
Member

jensens commented Mar 4, 2021

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.

@jensens jensens closed this as completed Mar 4, 2021
@gnafou
Copy link
Contributor

gnafou commented Apr 16, 2021

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

@gnafou gnafou reopened this Apr 16, 2021
@nanoav
Copy link

nanoav commented Sep 28, 2021

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants