I saw xcffib is a prerequisite so I tried to install it with:
~# pip install xcffib
But I got this error message and I don't understand what 'cc' is, I installed gcc.
Update:
I tried to export the location of my libffi-dev headers
#echo $LIBFFI_LIBS
-L/opt/csw/lib -lffi
#echo $LIBFFI_CFLAGS
-I/opt/csw/lib/libffi-3.2.1/include
And runing
CC="gcc -std=gnu99" pip install xcffib
or
CC="gcc -std=gnu99" pip install cffi
still doesn't find the header: fatal error: ffi.h: No such file or director
It looks like pip
and/or cairocffi
are expecting the Oracle Studio compiler to be installed.
Installing it fixes the issue you are having.