Issues with compling photon through make file in ubuntu os.
I wanted to compile photon on my 64 bit ubuntu os , when i executed the make command , there were some missing packages which were to be imported after that when i again executed make then compiling was unsuccessful showing this:-
anirudh@ubuntu:~/Downloads/photon-master$ make
Pulling sources from bintary...
Downloading sha1-all...
Traceback (most recent call last):
File "/home/anirudh/Downloads/photon-master/support/pullsources/pullsources.py", line 101, in
please provide a solution as soon as possible , so that i can compile successfully.
Have you tried 'sudo make'?
Even tried doing that issue still not resolved if possible please also explain a bit about the error.
anirudh@ubuntu:~/Downloads/photon-master$ sudo make
[sudo] password for anirudh:
Pulling sources from bintary...
Downloading sha1-all...
Traceback (most recent call last):
File "/home/anirudh/Downloads/photon-master/support/pullsources/pullsources.py", line 101, in
I haven't seen this error before. The script is trying to create ./stage/SOURCES/sha1-all but could not for some reason. Make sure you have stage/SOURCES folders present and if not then create them manually which script is suppose to be doing itself. After creating these two folders try again. Also make sure you are not missing anything in https://github.com/vmware/photon/blob/master/docs/build-photon.md
Thanks a lot! toliaqat your advice helped photon can only be compiled from the home directory , i was trying it from downloads
Thanks for your update.