Issues compiling on OSX
Posted: Thu Aug 11, 2016 8:04 pm
I searched for any one else having the same issues I found nothing, so here goes.
I was following the instructions to build a native OSX binary at :
https://github.com/micropython/micropyt ... ng-Started
And they didn't work for me. This on OS X 10.11.6 with libffi installed via brew.
To get a working build I used the following steps:
git clone --recurse-submodules https://github.com/micropython/micropython.git
cd micropython/unix
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
make libffi axtls
make MICROPY_PY_BTREE=0
So I have 3 questions :
Is it expected that you have to turn off the berkley db off to get a successful compile?
Is it expected that you have to make libffi and axtls first ?
Should I update https://github.com/micropython/micropyt ... ng-Started with these extra steps ?
Thanks!
I was following the instructions to build a native OSX binary at :
https://github.com/micropython/micropyt ... ng-Started
And they didn't work for me. This on OS X 10.11.6 with libffi installed via brew.
To get a working build I used the following steps:
git clone --recurse-submodules https://github.com/micropython/micropython.git
cd micropython/unix
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
make libffi axtls
make MICROPY_PY_BTREE=0
So I have 3 questions :
Is it expected that you have to turn off the berkley db off to get a successful compile?
Is it expected that you have to make libffi and axtls first ?
Should I update https://github.com/micropython/micropyt ... ng-Started with these extra steps ?
Thanks!