![]() # Clean all Python 3 so files, including possible leftovers. PROD=NCS /Library/Developer/CommandLineTools/usr/bin/make src/gen_add_lib_const.c I then tried to compile ncs, but I get this error: ❰user❙~/n/s/n/pyapi❱✘≻ make ncs-p圓 logs/ncs-python-vm -i l2vpnįile "/Users/user/nso-5.8/src/ncs/pyapi/ncs_pyvm/startup.py", line 6, in įile "/Users/user/nso-5.8/src/ncs/pyapi/ncs_pyvm/ncsctlsock.py", line 5, in įile "/Users/user/nso-5.8/src/ncs/pyapi/_ncs/_init_.py", line 12, in ![]() When I go to the tailf site, ConfD basic installs are no longer available (currently).įrom logs/ncs-python-vm.log I can see: ::14:07:03.970 MAC ncs: l2vpn :: Starting python3 -u /Users/user/nso-5.8/src/ncs/pyapi/ncs_pyvm/startup.py -l info -f. It's also necessary to have access to a built libconfd library. The build requires gcc and GNU make and the development libraries Which I'm guessing is because I don't have a local install of the ConfD library. Make: *** No rule to make target `./ncs/dm/tailf-ncs.yang', needed by `tmp_fxs/tailf-ncs.fxs'. Make: *** No rule to make target `_confd/_confd.c', needed by `_confd/_confd_p圓.abi3.so'. I tried going into the src/ncs/pyapi/ directory to try to remake the files, however the make of the pyapi fails with the following error. ImportError: dlopen(/Users/sam/Documents/ncs/install-5.5.2.12/src/ncs/pyapi/_ncs/_ncs_p圓.abi3.so, 0x0002): tried: '/Users/sam/Documents/ncs/install-5.3.5.1/src/ncs/pyapi/_ncs/_ncs_p圓.abi3.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) Looking in the ncs-python-vm.log, it states that the mach-o file is of type x86_64. The NSO Darwin install of NSO for my M1 Macbook works fine for ncs and java, however the python vm fails to load.
0 Comments
Leave a Reply. |