omnet++ installation error in linux
Hello friends,
I have been trying to install omnet++ 4.1 on ubuntu 11.04, but while i enter the "make" command, the following errors are shown which stop the installation: bismillah@ubuntu:~/Desktop/omnetpp-4.1$ make make MODE=release make[1]: Entering directory `/home/bismillah/Desktop/omnetpp-4.1' ***** Configuration: MODE=release, TOOLCHAIN_NAME=gcc, LIB_SUFFIX=.so **** ===== Checking environment ===== mkdir -p /home/bismillah/Desktop/omnetpp-4.1/bin ===== Compiling utils ==== cd /home/bismillah/Desktop/omnetpp-4.1/src/utils && make make[2]: Entering directory `/home/bismillah/Desktop/omnetpp-4.1/src/utils' echo "#!/bin/sh" >opp_configfilepath && echo 'echo `dirname $0`/../Makefile.inc' >>opp_configfilepath chmod +x opp_makemake opp_test opp_makedep splitvec opp_configfilepath opp_runall omnetpp omnest if [ "$OS" = "Windows_NT" ] ; then \ echo "@echo /home/bismillah/Desktop/omnetpp-4.1/Makefile.inc" >opp_configfilepath.cmd && \ cp opp_configfilepath.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ cp opp_makemake.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ cp opp_runall.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ cp opp_test.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ cp opp_makedep.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ cp omnetpp.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ cp omnest.cmd /home/bismillah/Desktop/omnetpp-4.1/bin; \ fi cp opp_configfilepath /home/bismillah/Desktop/omnetpp-4.1/bin cp opp_makemake /home/bismillah/Desktop/omnetpp-4.1/bin cp opp_test /home/bismillah/Desktop/omnetpp-4.1/bin cp opp_makedep /home/bismillah/Desktop/omnetpp-4.1/bin cp opp_shlib_postprocess /home/bismillah/Desktop/omnetpp-4.1/bin cp opp_runall /home/bismillah/Desktop/omnetpp-4.1/bin cp splitvec /home/bismillah/Desktop/omnetpp-4.1/bin cp omnetpp /home/bismillah/Desktop/omnetpp-4.1/bin cp omnest /home/bismillah/Desktop/omnetpp-4.1/bin cd /home/bismillah/Desktop/omnetpp-4.1/out/gcc-release/src/utils && /home/bismillah/Desktop/omnetpp-4.1/src/utils/install-prog opp_lcg32_seedtool /home/bismillah/Desktop/omnetpp-4.1/bin /bin/sh: /home/bismillah/Desktop/omnetpp-4.1/src/utils/install-prog: Permission denied make[2]: *** [all] Error 126 make[2]: Leaving directory `/home/bismillah/Desktop/omnetpp-4.1/src/utils' make[1]: *** [utils] Error 2 make[1]: Leaving directory `/home/bismillah/Desktop/omnetpp-4.1' make: *** [allmodes] Error 2 the "NO_TCL=1 ./configure" command works well and i have set the PATH variable also. kindly help |
Welcome to LQ.
Quote:
Solution : Delete everything, and start from scratch with a new unpacked omnetpp-4.1-src.tgz : $ tar xvf omnetpp-4.1-src.tgz $ cd omnetpp-4.1/ $ . setenv $ export CC=gcc-4.4 CXX=g++-4.4 $ ./configure $ export TCL_LIBRARY=/usr/share/tcltk/tcl8.5 $ make : No errors, Ubuntu 11.04. Prerequisites : sudo apt-get install g++ g++-4.4 flex bison libpcap0.8-dev \ tcl8.5-dev tk8.5-dev blt-dev swig libopenmpi-dev openmpi-bin .. Akaroa2 http://www.akaroa.canterbury.ac.nz/d...-2.7.11.tar.gz >> akaroa-2.7.11.tar.gz .. And java .. - |
thanks knudfl for your help, i will do the same procedure but can you please tell me that how to "delete everything" which i have done till now for installation, which was your first point. Also you have mentioned few prerequisites, i want to know that whether these are complete prerequisites which i have to do before installation or there are some other prerequisites which you haven't mentioned and lastly you told about "java", regarding java what i have to install. please help
|
# 3.
Deleting a failed omnet build : $ rm -rf omnetpp-4.1/ Or $ sudo rm -rf omnetpp-4.1/ , if any sudo commands were used to unpack etc. Prerequisites : './configure' will tell what's missing, and will also mention the optional build prerequisites. Java : "Oracle (Sun) Java 6" https://help.ubuntu.com/community/Java Code:
$ wget http://download.oracle.com/otn-pub/java/jdk/6u34-b04/jre-6u34-linux-i586.bin |
thanks a lot.... it really worked
and I need to install a package namely "Castalia"(http://www.castalia.npc.nicta.com.au) in omet++ in ubuntu 11.04 for my project. Kindly help me in installing it too because its install guide isn't too much helpful for itz installtion.. Thanks |
# 5 .
Can you upload the Castalia package to Google Docs ? And supply a link, please. ( Probable change the package name, for license reasons.) |
i dint get you exactly what u mean. I want to install it and if you need that you can get it from their website, itz an open source software. The URL of their website has been already there in my last reply.
|
# 7 : No valid links shown in your posts.
( You should try out your own link in post #5.) This link works : http://castalia.research.nicta.com.au/index.php/en/ > http://castalia.research.nicta.com.a...hp/en/download Install : Like the documentation ( Installation.doc ) says : $ cd Castillia/ && ./makemake ... But the required omnetpp commands are probably not in your PATH. So you will have to use an "export" similar to mine : $ export PATH=/home/knudfl/omnetpp-4.1/bin:/usr/bin:/bin && ./makemake .. The Makefile will be created, and you can do $ make . |
here is the download link
http://castalia.npc.nicta.com.au/download.php Thanks a lot,,, it worked,, no words for your help.. thanks |
All times are GMT -5. The time now is 10:52 PM. |