12-04-2017 02:57 AM - edited 03-01-2019 04:03 AM
Hi
I just installed NSO 4.5 and ran into this error when I was trying to make the NEDs for IOS, XR & JUNOS
[root@localhost neds]# cd cisco-ios
[root@localhost cisco-ios]# cd src
[root@localhost src]# ll
total 16
drwxr-xr-x. 4 root root 4096 Nov 30 19:01 java
-rw-r--r--. 1 root root 2175 Nov 30 19:01 Makefile
drwxr-xr-x. 3 root root 4096 Nov 30 19:01 ncsc-out
drwxr-xr-x. 2 root root 4096 Nov 30 19:01 yang
[root@localhost src]# make
Makefile:17: /src/ncs/build/include.ncs.mk: No such file or directory
/bin/sh: - : invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
make: *** No rule to make target `/src/ncs/build/include.ncs.mk'. Stop.
[root@localhost src]#
any guidance ?
12-04-2017 04:40 AM
You forgot to source the ncsrc file of the NSO version you intend to use.
Say I want to use NSO 4.5.1 and have it installed in ~/nso/4.5.1, I'd run this command in a bash-family shell:
. ~/nso/4.5.1/ncsrc
Then retry your build.
12-04-2017 06:11 AM
It works now , thanks Jan !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide