[riot-notifications] [RIOT-OS/RIOT] examples/openthread: document libtool dependency (#11496)

Lotte Steenbrink notifications at github.com
Tue May 7 15:47:25 CEST 2019


### Contribution description
I didn't have `libtool` installed and got the following error while trying to compile `examples/openthread`:

```
cd /Users/lonk/code/riot/examples/openthread/bin/pkg/samr21-xpro/openthread && PREFIX="/" ./bootstrap
/Users/lonk/code/riot/examples/openthread/bin/pkg/samr21-xpro/openthread/third_party/nlbuild-autotools/repo/scripts/bootstrap: line 280: --automake: command not found
cd /Users/lonk/code/riot/examples/openthread/bin/pkg/samr21-xpro/openthread && CPP="arm-none-eabi-gcc -E" CC="arm-none-eabi-gcc" CXX="arm-none-eabi-g++"\
		OBJC="" OBJCXX="" AR="arm-none-eabi-ar" RANLIB="arm-none-eabi-ranlib" NM="arm-none-eabi-nm" \
		STRIP="" \
		CPPFLAGS="-fdata-sections -ffunction-sections -Os -Wno-implicit-fallthrough -Wno-unused-parameter -mcpu=cortex-m0plus -mlittle-endian -mthumb -mfloat-abi=soft -march=armv6s-m -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE='\"platform_config.h\"'" \
		CFLAGS="-fdata-sections -ffunction-sections -Os -Wno-implicit-fallthrough -Wno-unused-parameter -mcpu=cortex-m0plus -mlittle-endian -mthumb -mfloat-abi=soft -march=armv6s-m " \
		CXXFLAGS="-fdata-sections -ffunction-sections -Os -Wno-implicit-fallthrough -Wno-unused-parameter -mcpu=cortex-m0plus -mlittle-endian -mthumb -mfloat-abi=soft -march=armv6s-m -fno-exceptions -fno-rtti " \
		LDFLAGS="-fdata-sections -ffunction-sections -Os -Wno-implicit-fallthrough -Wno-unused-parameter -mcpu=cortex-m0plus -mlittle-endian -mthumb -mfloat-abi=soft -march=armv6s-m -nostartfiles -specs=nano.specs \
		-specs=nosys.specs -Wl,--gc-sections -Wl,-Map=map.map " \
		./configure --disable-docs --host=arm-none-eabi --target=arm-none-eabi \
		--prefix=/ --enable-default-logging --enable-cli-app=ftd --enable-application-coap
/bin/sh: ./configure: No such file or directory
make[1]: *** [all] Error 127
make: *** [pkg-build-openthread] Error 2
```

this PR adds a note for future users.

### Testing procedure
uninstall libtools, try compiling examples/openthread, see if the error mentioned above pops up?

### Issues/PRs references
--
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11496

-- Commit Summary --

  * examples/openthread: document libtool dependency

-- File Changes --

    M examples/openthread/README.md (3)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11496.patch
https://github.com/RIOT-OS/RIOT/pull/11496.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11496
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190507/3ed2f625/attachment-0001.html>


More information about the notifications mailing list