cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
946
Views
0
Helpful
2
Replies

Error while installing cisco-ios ned

jmendonc
Cisco Employee
Cisco Employee

Hi,

I'm new to NSO. I'm trying to install cisco-ios ned on a local install. I have jdk installed but I see this following error. Can you please assist me?

jmendonc@ubuntu:~/ncs-4.2/packages/neds/cisco-ios/src$ make

/home/jmendonc/ncs-4.2/bin/ncsc --java-disable-prefix --exclude-enums --fail-on-warnings --java-package com.tailf.packages.ned.ios.namespaces --emit-java java/src/com/tailf/packages/ned/ios/namespaces/CiscoIos.java ncsc-out/modules/fxs/tailf-ned-cisco-ios.fxs

/home/jmendonc/ncs-4.2/bin/ncsc --java-disable-prefix --exclude-enums --fail-on-warnings --java-package com.tailf.packages.ned.ios.namespaces --emit-java java/src/com/tailf/packages/ned/ios/namespaces/CiscoIosStats.java ncsc-out/modules/fxs/tailf-ned-cisco-ios-stats.fxs

/home/jmendonc/ncs-4.2/bin/ncsc --java-disable-prefix --exclude-enums --fail-on-warnings --java-package com.tailf.packages.ned.ios.namespaces --emit-java java/src/com/tailf/packages/ned/ios/namespaces/CiscoIosId.java ncsc-out/modules/fxs/tailf-ned-cisco-ios-id.fxs

cd java && ant -q all

/bin/sh: 1: ant: not found

Makefile:67: recipe for target 'javac' failed

make: *** [javac] Error 127

Thanks and regards

Joyal mendonca

1 Accepted Solution

Accepted Solutions

alam.bilal
Cisco Employee
Cisco Employee

The issue is this:

/bin/sh: 1: ant: not found


So on Linux Ubuntu something like this:

sudo apt-get install ant


Also if changes are not going to be made to the NED, then just download a pre-compiled NED for the version of NSO that is being used. Would save the above hassle.

View solution in original post

2 Replies 2

alam.bilal
Cisco Employee
Cisco Employee

The issue is this:

/bin/sh: 1: ant: not found


So on Linux Ubuntu something like this:

sudo apt-get install ant


Also if changes are not going to be made to the NED, then just download a pre-compiled NED for the version of NSO that is being used. Would save the above hassle.

Thank you Bilal. It worked