pfalcon / esp-open-sdk

Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
1.97k stars 624 forks source link

won't compiled on mac OS X Sierra #259

Open Grousee opened 7 years ago

Grousee commented 7 years ago

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

jcmvbkbc commented 7 years ago

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

Grousee commented 7 years ago

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
muellermartin commented 7 years ago

@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!

raimue commented 7 years ago

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