I believe you are correct about g++ being required to build the sim target. To install g++ from the Ubuntu repositories, you must first have the repository specified in your "/etc/apt/sources.list" file. It would be really helpful if you can send us the contents of this file so we can better diagnose the problem. Additionally, you should always do a "sudo apt-get update" before trying to install anything so that the package cache can be updated.
-Addisu sandyireland wrote > Eric, > thanks for reply. for me Blink is running since it did not required sim > but to other where TOSSIM is required for command $make micaz sim. As a > case also i see in other posts as well. > > since it fails at not able to find g++ command for $make micaz sim. > i assume this is due to g++ package not installed on image. > hence i tried > sudo apt-get install g++-4.4.1 > sudo aptitude install g++-4.4.1 > and > since dpkg -list has no entry for g++. > also > > $gcc --version gives 4.4.1 > if compiler ie gcc is of version 4.4.1 so the linker g++ should also be of > version 4.4.1 > also I tried finding dependent pacakges for g++. > sudo apt-get install subversion > sudo apt-get install dejagnu > sudo apt-get install m4 > sudo apt-get install zip > sudo apt-get install flex > sudo apt-get install bison > sudo apt-get install libc6-dev-i386 > sudo apt-get install texinfo > sudo apt-get install autogen > but these are also not getting installed. failing at could n't find > package. > So I tried > $ sudo wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.1/gcc-g++-4.4.1.tar.bz2 > from Gnu Archive.then untar the files > $ sudo tar jxvf gcc-g++-4.4.1.tar.bz2 > then run > $ apt-get still not getting installed. > Actually i never worked extensively on linux plaform so having some issues > here.. -- View this message in context: http://tinyos-help.10906.n7.nabble.com/TOSSIM-error-g-not-found-intalling-using-apt-get-apptitude-not-working-tp23616p23627.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
