IBM / ibmi-oss-docs

IBM i Open Source Documentation
https://ibmi-oss-docs.readthedocs.io
Creative Commons Zero v1.0 Universal
49 stars 31 forks source link

reportlab installation using pip3 reporting error in python3.9 #150

Closed vint7k closed 1 year ago

vint7k commented 1 year ago

What documentation would you like added?

We are on IBM i V7.3. We installed the python3.9 from IBM repo using open-source package management.

We installed the wheel and necessary development tools. Now we want to install reportlab python package but we are getting error during the wheel build. Please suggest.

command '/Qopensys/pkgs/bin/gcc' failed with exit code 1.

Error: failed building wheel for reportlab.

vint7k commented 1 year ago

We were able to install the reportlab by setting the linux compatible flag option. CFLAGS=-D_LINUX_SOURCE_COMPAT pip3 install