Comments (5)
Have you tried 'sudo make'?
from photon.
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
p.pull(args[0])
File "/home/anirudh/Downloads/photon-master/support/pullsources/pullsources.py", line 78, in pull
package_file_path = self.downloadFile(sources_dir, 'sha1-all')
File "/home/anirudh/Downloads/photon-master/support/pullsources/pullsources.py", line 61, in downloadFile
with open(file_path, 'wb') as handle:
IOError: [Errno 2] No such file or directory: '/home/anirudh/Downloads/photon-master/stage/SOURCES/sha1-all'
make: *** [sources] Error 1
from photon.
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
from photon.
Thanks a lot! toliaqat your advice helped photon can only be compiled from the home directory , i was trying it from downloads
from photon.
Thanks for your update.
from photon.
Related Issues (20)
- How to enable TLS SHA-1 Server Signatures on Photon OS 5 HOT 1
- Cannot get cloud-init phone_home to use self-signed certificate added to registry HOT 31
- Documentation is incorrect, the operating mode of the DVD virtual hardware is important during installation HOT 7
- Fixing issues reported by tdnf check HOT 2
- Problem building Python-3.10.7 on Photon OS missing linux/limits.h HOT 2
- Add support for flatpak application installs HOT 1
- Ph 5.0 make build issues in packages sssd-2.8.2 and kubernetes-dashboard-2.7.0 HOT 5
- Add Nvidia Metropolis Microservices Essentials package to Photon OS HOT 1
- tdnf makecache hangs on PhotonOS3 HOT 8
- mlocate package not working as non root user : mlocate: can not open `/var/lib/mlocate/mlocate.db': Permission denied HOT 1
- Photon OS support for WSL2 HOT 2
- Cross-compiling 5.0 branch HOT 4
- check_spec_files fails HOT 2
- Photon 3.0 cgroup exhaustion. VM shuts down with CPU disabled HOT 16
- Photon OS 5 and PostgreSQL 15 installation is not complete HOT 5
- Installing network-config-manager on Photon 5 Causes Docker Networking to Stop Working HOT 4
- garbage collection of branches HOT 1
- security advisories missing in Security-Updates-{1,2,3,4,5}.md
- `nvme-tcp` kernel module missing HOT 4
- openjdk17-17.0.8 does not compile when building package with Photon OS 5.0 on WSL2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photon.