Closed Student007 closed 8 years ago
@Student007 thanks for putting this together. There are actually a slew of dependencies needed; see https://github.com/tessel/openwrt-tessel/issues/42. Perhaps we should just have a section in the README that lists all of them?
@johnnyman727 good point - didn't know about #42 Should I create a new PR and replace the suggested command with yours from #42 ? About the text - here is a suggestion for a new one (or should we remove the error part and create an issue?):
If you get an error like this (Ubuntu):
Build dependency: Please install ncurses. (Missing libncurses.so or ncurses.h)
You are required to install some source dependencies like libncurses5-dev
and libncursesw5-dev
!
In general we suggest to prepare a build-server with the following command:
sudo apt-get install make gcc g++ subversion unzip libncurses5-dev libncursesw5-dev ncurses-doc zlib1g-dev libssl-dev gettext --yes
Alternative text without the error (in the case we have an issue):
In general we suggest to prepare a build-server with the following command:
sudo apt-get install make gcc g++ subversion unzip libncurses5-dev libncursesw5-dev ncurses-doc zlib1g-dev libssl-dev gettext --yes
Should I create a new PR and replace the suggested command with yours from #42 ?
You can either make a new PR or create a new commit and rebase so that only that commit is in the history - your choice.
I think your alternative suggestion is better.
ok - closed due to new PR https://github.com/tessel/openwrt-tessel/pull/51
Ubuntu requires
zlib1g-dev
libncurses5-dev
which is not clear from native error reporting. For that reason this information will save some peoples time