Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

won't compiled on mac OS X Sierra #259

Open
Grousee opened this issue May 9, 2017 · 4 comments
Open

won't compiled on mac OS X Sierra #259

Grousee opened this issue May 9, 2017 · 4 comments

Comments

@Grousee
Copy link

Grousee commented May 9, 2017

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
Copy link
Contributor

jcmvbkbc commented May 9, 2017

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

@Grousee
Copy link
Author

Grousee commented May 10, 2017

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
Copy link

@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
Copy link

raimue commented Aug 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants