Build fail on debian - Toolset build error

Karel Gardas karel.gardas at centrum.cz
Mon Oct 12 14:06:12 UTC 2020


On 10/12/20 3:50 PM, Anders Montonen wrote:
> Hi,
> 
>> On 12 Oct 2020, at 15:30, Karel Gardas <karel.gardas at centrum.cz
>> <mailto:karel.gardas at centrum.cz>> wrote:
>>
>>
>> Sure, but you have to install header files whatever this means on
>> macosx. On Ubuntu this means 'apt install python2.7-dev’
> 
> System frameworks on macOs usually include the development libraries and
> headers. Running “python<ver>-config —cflags”, and “python<ver>-config
> —ldflags” returns the compiler and linker flags needed.

Check where is Python.h -- if it's available, then probably gdb's
configure is not able to pick it up -- probably due to missing
parameters -- which should be supplied by rsb. Anyway, you (or OP) are
on macosx which is not that usual so you will probably need to do some
tweaks. If it's not available, you need to convince your python install
to install all headers and libs.

Also, have a look into rtems-source-builder/source-builder/sb -- not
sure, but there is no macosx.py there but perhaps it should be... (like
linux, openbsd, netbsd etc. are there too...)

Cheers,
Karel


More information about the devel mailing list