I tried to compile and package
DEB files for my Raspberry Pi OS:
sudo auto-apt ./configure sudo checkinstall
And it's failed. Here is the result it returns:
========================= Installation results =========================== Installing /usr/local/share/man/man1/snownews.1 ... install: cannot create directory '/usr/local/share/man': No such file or directory make: *** [man/Module.mk:18: /usr/local/share/man/man1/snownews.1] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye.
========================= Installation results =========================== Making install in pixmaps make: Entering directory '/home/pi/Downloads/deadbeef-1.8.4/pixmaps' make: Entering directory '/home/pi/Downloads/deadbeef-1.8.4/pixmaps' make: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/share/deadbeef/pixmaps' /bin/mkdir: cannot create directory ‘/usr/local/share/deadbeef’: No such file or directory make: *** [Makefile:455: install-pixmapsDATA] Error 1 make: Leaving directory '/home/pi/Downloads/deadbeef-1.8.4/pixmaps' make: *** [Makefile:524: install-am] Error 2 make: Leaving directory '/home/pi/Downloads/deadbeef-1.8.4/pixmaps' make: *** [Makefile:822: install-recursive] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye.
I tried to Google the error message, however it is too vague that I couldn't get the answer I need. It only said that it couldn't create directory. But I have run with the highest privilege (
sudo) and it still said it couldn't? I don't really know what to do next.
My main goal is package the software so I can manage it with
apt. The reason I would like it is because I don't know if the next update of the software requires me to remove the old version or not. So I try my best to keep everything as neat as possible.
So far what I did/knew:
- The source
diris in my home dir.
sudowas used during the compiling process
deadbeefsource was compiled for ARMHF once, so I'm pretty sure that the source supports this architecture.
- I have success compiling & packaging alpine software. So I don't think this is the