Build fail on debian - Toolset build error

Chris Johns chrisj at rtems.org
Tue Oct 13 04:37:48 UTC 2020


On 13/10/20 1:06 am, Karel Gardas wrote:
> 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...)

The detection is here:

https://git.rtems.org/rtems-source-builder/tree/source-builder/config/gdb-common-1.cfg#n7

Updates welcome. The detection support is a continuous work in progress so if
something is needed to help a specific case please add it. The config looks for
a suitable python to use, then for the config command and then the settings it has.

Andrew, I do not test building with macports or homebrew. The amount of work
that would generate for me would be enough to consume all my time.

Chris


More information about the devel mailing list