Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

problems on building docker image #171

Open
imaginezz opened this issue Nov 21, 2016 · 6 comments
Open

problems on building docker image #171

imaginezz opened this issue Nov 21, 2016 · 6 comments

Comments

@imaginezz
Copy link

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

@poojj
Copy link

poojj commented Dec 19, 2016

Is this issue resolved ?

@poojj
Copy link

poojj commented Dec 19, 2016

I find the same error popping up when I say : make docker-image

@antoninbas
Copy link
Member

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

@imaginezz
Copy link
Author

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

@antoninbas
Copy link
Member

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.

@imaginezz
Copy link
Author

ok, thank u

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants