P4ELTE / t4p4s

Retargetable compiler for the P4 language
http://p4.elte.hu/
Apache License 2.0
119 stars 42 forks source link

cannot find the right version of t4p4s, errors while setting PI on arm64. #47

Open zainmusafir opened 1 year ago

zainmusafir commented 1 year ago

hello, I am trying to install t4p4s on a arm64 system which has DPDK18.11.11. LTS. I have encountered this error while running the bootstrap.sh file with (INSTALLL_DPDK_STAGE 2= no) --

setting up PI
'pi/make step failed with error code 2'

am I using the correct versions of these dependencies ? where can I get compatible versions for these .. thanks Capture

Naibaowjk commented 1 year ago

same problem

zainmusafir commented 1 year ago

same problem

I tried manually installing the dependencies as given in the bootstrap shell file, building DPDK, PI and P4 runtime, making sure I was installing packages and dependencies suited only for ARM 64 architecture, however I got different errors this time relating to my previous installed packages.

You can manually install a specific dpdk version for your specific machine and OS from the dpdk website and then carry on from the bootstrap sh file by changing the parameters concerning dpdk installation. This should alleviate the problem, hopefully.