Skip to content

Conversation

@FrangaL
Copy link

@FrangaL FrangaL commented Jul 5, 2021

No description provided.

run.sh Outdated
sudo apt-get upgrade -y

sudo apt-get install git wget build-essential dnsutils lsb-release software-properties-common sudo -y
sudo apt-get install git wget build-essential dnsutils lsb-release software-properties-common sudo libffi-dev -y
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

 building '_cffi_backend' extension
  creating build/temp.linux-aarch64-3.7
  creating build/temp.linux-aarch64-3.7/c
  aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-aarch64-3.7/c/_cffi_backend.o
  c/_cffi_backend.c:15:10: fatal error: ffi.h: No existe el fichero o el directorio
   #include <ffi.h>
            ^~~~~~~
  compilation terminated.
  error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

#--------------------------------------------------

INSTALL_WKHTMLTOPDF_VERSION=`wkhtmltopdf --version`
WKHTMLTOPDF_VERSION="0.12.6-1"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.12.6-1 add support for 64-bit ARM

Copy link
Author

@FrangaL FrangaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OS: raspios arm64 lite

File "/tmp/pip-install-vri6catl/Pillow/setup.py", line 612, in build_extensions
  raise RequiredDependencyException(f)

main.RequiredDependencyException: jpeg

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-vri6catl/Pillow/setup.py", line 812, in
raise RequiredDependencyException(msg)
main.RequiredDependencyException:

The headers or library files could not be found for jpeg,
a required dependency when compiling Pillow from source.

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

Successfully merging this pull request may close these issues.

1 participant