A blog by Devendra Tewari
I’m in need of python on my custom embedded Linux system for Raspberry Pi. This post shows how I enable it. For some reason python build was failing with errors such as
build error: unknown type name ‘wchar_t’
A clean build, as follows, resolved it
make clean
make
To add python to your Buildroot config, invoke
make menuconfig
Enable WCHAR support, under Toolchain
Enable python or python3, under Target packages, Interpreter languages and scripting