[En-Nut-Discussion] installing Nut/OS developement environment on Debian Etch

byldjnz at no-log.org byldjnz at no-log.org
Wed Nov 1 10:28:42 CET 2006


hi everybody
i tried to post it onto the nutOS WiKi but didn't understand how to sign
in.. (if anybody know, he's welcome !)

it's my first contribution to the OpenSource world, so i hope it will be
helpful :)

please read first http://www.ethernut.de/en/documents/debiansage.html
because the following is just install notes

so : how to install Nut/OS developement environment on Debian Etch ?
I downloaded ethernut-4.2.1.tar.bz2

$ wget http://www.ethernut.de/arc/ethernut-4.2.1.tar.bz2

first don't forget to install g++ gcc etc...

# apt-get install lua50 lua50-dev liblua50 liblua50-dev
# cp /usr/include/lua50/*.h /usr/include/
# apt-get install libgtk2.0-dev
# apt-get install autoconf automake1.9

$ wget http://gforge.inria.fr/frs/download.php/509/wxWidgets-2.6.2.tar.gz

$ tar -xvzf wxWidgets-2.6.2.tar.gz
$ cd wxWidgets-2.6.2
$ vim src/common/uri.cpp

line 889 replace

m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
m_path.substr((op - m_path.c_str()), m_path.Length());

by

m_path = base.m_path.substr(0, bp - base.m_path.c_str());
m_path = m_path +
m_path.substr((op - m_path.c_str()), m_path.Length());

$ ./configure --disable-shared && make
# make install

$ cd ../ethernut-4.2.1
$ ./configure && make
# make install

# apt-get install gcc-avr avr-libc

and normally all rocks ! :)

bye

jnz



More information about the En-Nut-Discussion mailing list