Problem in bake.py build

353 views
Skip to first unread message

tina

unread,
Nov 16, 2016, 11:14:14 PM11/16/16
to ns-3-users
Hi all,

I am trying to make a dce in  “advanced” mode. I have Ubuntu 16.10.
a) I did the dependencies written in https://www.nsnam.org/wiki/Installation#Ubuntu.2FDebia
sudo apt-get install libssl-dev libdb-dev libpcap-dev
sudo apt install git

b)
hg clone http://code.nsnam.org/bake bake
export BAKE_HOME=`pwd`/bake
export PATH=$PATH:$BAKE_HOME
export PYTHONPATH=$PYTHONPATH:$BAKE_HOME

c) git clone https://github.com/thehajime/net-next-sim.git net-next-sim-2.6.36


d)
mkdir dce
cd dce
bake.py configure -e dce-linux-dev
bake.py download -vvv


e) 
bake.py build -vvv

After the last command i have some problems:

1)
>> Building gccxml-ns3 - Problem > Subprocess failed with error 2: ['make'] > Problem: Optional dependency, module "gccxml-ns3" failed

2)
>> Building net-next-sim-2.6.36 - Problem > Subprocess failed with error 2: ['make', 'library', 'ARCH=sim'] > Error: Critical dependency, module "net-next-sim-2.6.36" failed

3)>> Building iperf - Problem > Subprocess failed with error 2: ['make', 'LDFLAGS=-pie', 'LDFLAGS+=-rdynamic'] > Problem: Optional dependency, module "iperf" failed

Could you please guide me How can solve them? Thanks in advance


Tom Henderson

unread,
Nov 16, 2016, 11:30:30 PM11/16/16
to ns-3-...@googlegroups.com
On 11/16/2016 08:14 PM, tina wrote:
> Hi all,
>
> I am trying to make a dce in “advanced” mode. I have Ubuntu 16.10.
> a) I did the dependencies written in
> https://www.nsnam.org/wiki/Installation#Ubuntu.2FDebia
> <https://www.nsnam.org/wiki/Installation#Ubuntu.2FDebian>
> sudo apt-get install libssl-dev libdb-dev libpcap-dev
> sudo apt install git
>
> b)
>
> hg clone http://code.nsnam.org/bake bake
> export BAKE_HOME=`pwd`/bake
> export PATH=$PATH:$BAKE_HOME
> export PYTHONPATH=$PYTHONPATH:$BAKE_HOME
>
>
> c) git clone https://github.com/thehajime/net-next-sim.git
> net-next-sim-2.6.36
>
>
> d)
> mkdir dce
>
> cd dce bake.py configure -e *dce-linux-dev*
> bake.py download -vvv
>
>
> e)
> bake.py build -vvv
>
> After the last command i have some problems:
>
> 1)
>>> Building gccxml-ns3 - Problem > Subprocess failed with error 2: ['make'] > Problem: Optional
> dependency, module "gccxml-ns3" failed
>
> 2)
>>> Building net-next-sim-2.6.36 - Problem > Subprocess failed with error
> 2: ['make', 'library', 'ARCH=sim'] > Error: Critical dependency, module
> "net-next-sim-2.6.36" failed
>
> 3)>> Building iperf - Problem > Subprocess failed with error 2: ['make',
> 'LDFLAGS=-pie', 'LDFLAGS+=-rdynamic'] > Problem: Optional dependency,
> module "iperf" failed
>
>
> Could you please guide me How can solve them? Thanks in advance

These are problems related to the compiler version in Ubuntu 16.10;
gccxml and DCE are not supported. I believe you will need to use an
older system for these features, such as Ubuntu 14.04.

- Tom
Reply all
Reply to author
Forward
0 new messages