PPA - Failed to Build: Permission denied
I'm trying to add a package to my PPA to provide The Havamal as fortunes (Source Code: https:/
The relevant lines of the build log are:
make[1]: Entering directory '/<<PKGBUILDDIR>>'
strfile -c % havamal.txt havamal.dat
"havamal.dat" created
There were 164 strings
Longest string: 429 bytes
Shortest string: 87 bytes
mkdir -p /usr/share/
cp havamal.dat /usr/share/
cp: cannot create regular file '/usr/share/
Makefile:3: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
Corresponding with the Makefile targets:
install: havamal.dat
mkdir -p ${DESTDIR}
cp havamal.dat ${DESTDIR}
cp havamal.txt ${DESTDIR}
havamal.dat: havamal.txt
strfile -c % $< $@
I was having issues with mkdir, and added 'usr/share/games' and 'usr/share/
I don't understand: why there are permission issues with the install target directory? I thought maybe I'm supposed to add sudo to the install commands, but I've never had to do that before.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu evolution Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: