esp-open-sdk icon indicating copy to clipboard operation
esp-open-sdk copied to clipboard

Build on OSX fails with a

Open DouglasPearless opened this issue 7 years ago • 7 comments

Hi,

Followed the instructions and the make failed with:

[INFO ]  =================================================================
[INFO ]  Installing cross-gdb
[ERROR]    configure: error: python is missing or unusable
[ERROR]    make[4]: *** [configure-gdb] Error 1
[ERROR]    make[3]: *** [all] Error 2
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing cross-gdb'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@216]
[ERROR]  >>        called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@120]
[ERROR]  >>        called from: do_debug[scripts/build/debug.sh@35]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@646]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6f/B - Known issues.txt'
[ERROR]   
[ERROR]  (elapsed: 35:19.00)
[35:19] / make[2]: *** [build] Error 1

Thoughts?

DouglasPearless avatar Aug 29 '17 10:08 DouglasPearless

There was no build.log file that I could find

DouglasPearless avatar Aug 29 '17 10:08 DouglasPearless

[ERROR] configure: error: python is missing or unusable

xs23933 avatar Aug 30 '17 06:08 xs23933

python --version Python 2.7.9 is what I have installed, using maCOS Sierra 10.12.6 (16G29)

DouglasPearless avatar Aug 30 '17 08:08 DouglasPearless

Same here. Any luck?

$ python --version
Python 2.7.14

SConaway avatar Oct 29 '17 16:10 SConaway

I too encountered this problem (Mac OSX High Sierra 10.13.2). In my case it was because I was missing the python-dev headers. I fixed it by first reinstalling python with brew install python and then doing brew link --overwrite python.

mjcross avatar Jan 19 '18 09:01 mjcross

I got the same problem under Cygwin. The fix was apt-cyg install python2-devel.

Juppit avatar Jan 19 '18 09:01 Juppit

Yes, dependency issues - I seemed to have figured it out on 10.14, not sure if this will fix 10.13 ... see my helper script on #342.

daviddpd avatar Dec 23 '18 20:12 daviddpd