dlinknctu / OpenNet

A Simulator for Software-Defined Wireless Local Area Network
GNU General Public License v2.0
72 stars 44 forks source link

Installation on Ubuntu 16.04 #100

Closed aydeger closed 7 years ago

aydeger commented 8 years ago

screenshot from 2016-08-30 04-32-36 I am trying to install Opennet with given instructions on my virtual machine installed Ubuntu 16.04. I got the error at the figure. Anyone knows whether it is not supporting Ubuntu 16.04 or another reason causes to problem? Beginning of error: TASK [gccxml : make gccxml] **** fatal: [master]: FAILED!

kansokusha commented 8 years ago

Hi, that is a known issue. Since gcc version on Ubuntu 16.04 is 5.1, build gccxml on Ubuntu 16.04 will fail. So, we suggest to build OpenNet on Ubuntu 14.04.

In future release, we may upgrade to Ubuntu 16.04, but release date is to be determined. Reference: (Bug 2451)

aydeger commented 8 years ago

I installed 14.04 on new VM and got this error: screenshot from 2016-08-31 01 18 57 Error starts after: TASK [openvswitch : Install OpenvSwitch debian packages] ***

kansokusha commented 8 years ago

Hi, I have installed a new Ubuntu VM and built OpenNet. But does not encounter this problem. The version of ansible on this VM is 2.1.1.0.

build_opennet

elveera0491 commented 7 years ago

image

I tried installing OpenNet on Ubuntu 14.04 VM but I encountered the issue mentioned by aydeger. Your tutorial says that there is an mininet directory as well. I dont see any mininet directory. Please help! Thank you in advance!

kansokusha commented 7 years ago

Hi, elveera0491, the tutorial is talking about installed OpenNet. You can try to build OpenNet on your Ubuntu 14.04.

elveera0491 commented 7 years ago

I tried to build as well but it failed in Ubuntu 14.04 in the same way as mentioned by 'aydeger' above. Can you help me with this?

elveera0491 commented 7 years ago

The following screenshot shows the error i encountered. I tried the build on Ubuntu 14.04.5.

image

kansokusha commented 7 years ago

The error shall be a network issue, the installation has failed to execute 'apt-get update'. Retry install.sh in stable network environment may avoid this issue.

elveera0491 commented 7 years ago

Sorry to bother you. Is it necessary to pre-install mininet and ns3 before executing the commands in the build?

Thank you so much for your time and help!

P.S.: ns3 takes a lot of time for installation.

kansokusha commented 7 years ago

Hi elveera0491, OpenNet needs customized mininet and NS-3, so pre-install them may be not a good option. During the installation, OpenNet will apply some patches on mininet and NS-3 automatically.

Give the environment more resource will speed up the installation, like 2GB RAM, 2 CPU core, etc.

Sorry for that we do not have a person-in-charge to reply issues for now, only rely on voluntarily response from OpenNet team member.

elveera0491 commented 7 years ago

Hi, I have tried a couple of times but it doesn't work for me. Is there a work around for this? Thank you so much for all the help.

elveera0491 commented 7 years ago

Hey @kansokusha. I tried installing OpenNet again and it worked this time! Thank you so much for your time. image

kansokusha commented 7 years ago

Congratulation and thank you for your notification.