Problem building addon - missing ffi libs/headers


#1

Hey guys,

jI hope you can give me a hint on why building via create_addon fails…

My Environment:

  • brand new Virtualbox with 80GB
  • Fresh and updated Ubuntu 16.04 Server
  • CoreELEC master checkout

command line:

PROJECT=Amlogic DEVICE=Odroid_C2 ARCH=arm scripts/create_addon hyperion.ng

/home/anthrax/CoreELEC/build.CoreELEC-Odroid_C2.arm-9.0-devel/Python3-3.7.0/setup.py  build
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers
INFO: Could not locate ffi libs and/or headers

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_dbm                  _gdbm                 _lzma
_tkinter              _uuid                 nis
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  atexit                pwd
time


Failed to build these modules:
_ctypes

make: *** [Makefile:620: sharedmods] Error 1
ADDON FAILED hyperion.ng

I tried two hours messing arround with libffi-dev paths CFLAGS, LDFLAGS, PKG_CONFIG_PATH, and what not… but always ran into this error.

any guidance?

best regards
Anthrax