Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions python/INSTALLING_PYTHON_PKGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,20 @@ You will also need to set the following environment variables for build:

If you have issues that you cannot debug, feel free to join the community channels
documented [here](http://ibm.biz/ibmioss)!


### reportlab

When installing reportlab, you may encounter a compile error such as:

```c
src/rl_addons/renderPM/libart_lgpl/art_pixbuf.h:38:41: error: expected ';', ',' or ')' before '.' token
typedef void (*ArtDestroyNotify) (void *func_data, void *data);
^
```

This is due to a conflict in the reportlab source code and the AIX header files. As a workaround, you can define `_LINUX_SOURCE_COMPAT` to prevent the conflicting definition:

```bash
CFLAGS=-D_LINUX_SOURCE_COMPAT pip3.9 install reportlab
```