p4factory
p4factory copied to clipboard
problems on building docker image
My operation OS is Ubuntu 14.04.
I followed by the README.md step by step, and wanna to build a docker image.
But when I ran
make docker-image
in p4factory/targets/switch directory, the program seem work well, but when it processed step 14, there are something wrong.
First, it shows that
fatal: Not a git repository: ../../.git/modules/submodules/bm
but when I go to that directory, I tried
git status
the git showes that bm is a git repo.
Then after checking ,it shows
configure: error: The P4_PATH you provided does not exist or is not absolute
mmake: *** [clean] Error 2
Then, after compiling something, it shows many messages like
Semantic warning: header instance 'outer_udp' is not reachable and will be removed
And finally,
make: *** [bm_tenjin_output_oldest] Error 1
and quit with error 2
Is this issue resolved ?
I find the same error popping up when I say : make docker-image
I am not sure what was causing the issue in the first place, but we don't really support make docker-image
any more. I believe that the new steps to build a docker image running switch.p4 are here: https://github.com/p4lang/switch#building-switch-docker-image
Thank you. I'll try it.
And what can I do to run the INT app in P4factory ?
The README in INT showed that I should use make docker-image
According to the team in charge of the INT demo in p4factory, this code is broken for now. They are trying to update the demo to work with the new docker image building process, but there is no ETA for now. Sorry about that.
ok, thank u