[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2018-08-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Hi Roy, mind sharing the complete build log? Either attaching the log to this issue or pasting a link is fine. -- components: +Build ___ Python tracker

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2018-08-02 Thread Roy Belio
Roy Belio added the comment: Also happens on suse 11 x86_64 with python 3.7 Same issue exactly building locally (but with cross compiling flag for system independency) Building our own libffi 3.2.1 and adding it in the CPPFLAGS includes. -- nosy: +rbelio

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2017-10-06 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: > even if cflags/ldflags are ok Might be this. setup.py doesn't use -I flags in $CFLAGS. It looks into $CPPFLAGS only. -- ___ Python tracker

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2017-10-05 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +Chi Hsuan Yen, doko, zach.ware ___ Python tracker ___

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2017-10-05 Thread pmpp
New submission from pmpp : --with-system-ffi is mandatory for linux build but no way is provided ( eg --with-ffi-includes= --with-ffi-libs= ) so setup.py can detect libffi already built in $PREFIX and $EPREFIX/lib. even if cflags/ldflags are ok , _ctypes build will be