build environment on OSX without brew

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
devnull
Posts: 142
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

build environment on OSX without brew

Post by devnull » Thu Mar 16, 2017 12:15 pm

Is it possible to create a 8266 build environment on OSX without having to install brew etc ??

If so, does anyone have any install instructions as the instructions here fails:

https://github.com/micropython/micropyt ... er/esp8266

Code: Select all

make
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.4.0
checking host system type... x86_64-apple-darwin16.4.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /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


SpotlightKid
Posts: 229
Joined: Wed Apr 08, 2015 5:19 am

Re: build environment on OSX without brew

Post by SpotlightKid » Thu Mar 16, 2017 2:43 pm

Look into the config.log file in the directory where configure was running for a more detailed error report. It may be that the version of sed installed on your system is not compatible, but it's hard to tell from the sparse error output.

Post Reply