Problem to compile a package with cffi dependencies #142
-
I've some problem to cross compile a package that uses the cffi dependency.
And the output in the console:
You can see that the pip command uses --ignore-installed probably because I use a Debian environment to build, but I don't know if it's relevant. I've tried to deactivate it without success. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I'm not sure exactly what's happening, see if the following works for you: $ build-pip install cffi pycparser
$ cross-expose cffi pycparser
$ pip install azure-storage-blob==12.5.0 I think the fact that cross-pip could see |
Beta Was this translation helpful? Give feedback.
-
I've tried what you suggest without success. I should have specified that I cross-compile libffi and openssl upstream for other needs of my application.
I don't know if there's something I misunderstood about crossenv (very likely) or if it's a bug. |
Beta Was this translation helpful? Give feedback.
-
You need to prepare the toolchain properly. you need to cross compile libffi-dev and install it in toolchain to resolve the header/libraries related issue. |
Beta Was this translation helpful? Give feedback.
I've tried what you suggest without success.
I should have specified that I cross-compile libffi and openssl upstream for other needs of my application.
I don't know if it's relevant, but with these I managed to install the package by running crossenv and adding the libraries headers:
I don't know if there's something I misunderstood about crossenv (very likely) or if …