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

won't compiled on mac OS X Sierra

Open Grousee opened this issue 8 years ago • 4 comments
trafficstars

Hi, I am trying to compile the sdk on my mas OS X Sierra but i have some errors. I followed this website for installing http://www.esp8266.com/wiki/doku.php?id=setup-osx-compiler-esp8266. But it failed at the end.

SDK_made_error.txt

Grousee avatar May 09 '17 07:05 Grousee

Please follow these steps, they specifically add GNU sed to PATH.

jcmvbkbc avatar May 09 '17 17:05 jcmvbkbc

I did it many times but i still have those error

Makefile:181: warning: overriding commands for target `ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
Makefile:176: warning: ignoring old commands for target `ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
make -C crosstool-NG -f ../Makefile _ct-ng
../Makefile:181: warning: overriding commands for target `ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
../Makefile:176: warning: ignoring old commands for target `ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
./bootstrap
Running autoconf...
Done. You may now run:
    ./configure
./configure --prefix=`pwd`
checking build system type... x86_64-apple-darwin16.5.0
checking host system type... x86_64-apple-darwin16.5.0
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for grep that handles long lines and -e... ./configure: line 2584: 46450 Abort trap: 6           "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" > "conftest.out" 2> /dev/null
/usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether sed understands -r -i -e... no
configure: error: 
make[1]: *** [_ct-ng] Error 1
make: *** [crosstool-NG/ct-ng] Error 2

Grousee avatar May 10 '17 07:05 Grousee

@Grousee Do you have gnu-sed installed via Homebrew and explicitly included it in PATH before compiling (like described in the README under MacOS)? Because for me it works this way!

muellermartin avatar May 29 '17 20:05 muellermartin

See also #284 which will remove the need for PATH modifications.

raimue avatar Aug 03 '17 14:08 raimue