NSO-developer / pioneer

Your Swiss army knife for NETCONF, YANG and NSO NEDs
33 stars 13 forks source link

Not able to 'make' the pioneer package #10

Open saumya0033 opened 2 years ago

saumya0033 commented 2 years ago

Hello, I am trying to 'make' pioneer package and getting below error... some files are missing.

/packages/pioneer/src$ make -C /nso-5.5/packages/pioneer/src/ clean all make: Entering directory '/nso-5.5/packages/pioneer/src' rm -rf ../load-dir/ ../python/pioneer/namespaces/.py rm -rf ./src//.pyc /bin/ncsc ls pioneer-ann.yang > /dev/null 2>&1 && echo "-a pioneer-ann.yang" -c -o ../load-dir/pioneer.fxs yang/pioneer.yang /bin/sh: 1: /bin/ncsc: not found make: *** [Makefile:21: ../load-dir/pioneer.fxs] Error 127 make: Leaving directory '/nso-5.5/packages/pioneer/src'

Please suggest how to move forward.

rpf13 commented 1 year ago

@saumya0033 I came along the same problem...could you find a solution for this?

JohanVikman commented 1 year ago

What do you get if you run this:

which ncs && which python && python -c "import paramiko" \
&& which xsltproc && which xmllint && which bash && which pyang \
&& echo "All Fine"
rpf13 commented 1 year ago

What do you get if you run this:

which ncs && which python && python -c "import paramiko" \
&& which xsltproc && which xmllint && which bash && which pyang \
&& echo "All Fine"

Thanks for the reply. I get the following:

admin@df18040a9f4b:~$ which ncs && which python && python -c "import paramiko" \
> && which xsltproc && which xmllint && which bash && which pyang \
> && echo "All Fine"
/opt/ncs/current/bin/ncs
JohanVikman commented 1 year ago

I expected a lot more in that output. I get:

❯ which ncs && which python3 && python3 -c "import paramiko" \
&& which xsltproc && which xmllint && which bash && which pyang \
&& echo "All Fine"
/home/jvikman/tmp/nso-5.5.8/bin/ncs
/usr/bin/python3
/usr/bin/xsltproc
/usr/bin/xmllint
/usr/bin/bash
/home/jvikman/tmp/nso-5.5.8/bin/pyang
All Fine

Could it be that you have /opt/ncs/current/bin/ncs but haven't sourced the ncsrc file?