You are not logged in.
So I am switching to dwm from xfce and when I cloned the suckless repo and ran "makepkg -si" it says PKGBUILD not found and I know the error is correct because there is no PKGBUILD file in that folder which makepkg can use to make the package so how can I install dwm ? I tried to do "make" and "make install" it says make : command not found.
Last edited by RounakDutta (2022-05-16 21:20:43)
Offline
If you cloned the repo from suckless's website I would suggest looking at the README file within.
https://man.archlinux.org/man/core/make/make.1.en
Edit: Alternatively, you can use the AUR where you will find makepkg to work.
Last edited by vorvac (2022-05-13 16:12:03)
Offline
I'm not sure this could even be serious (how do you know to try using 'makepkg' without knowing what makepkg is actually for?). Assuming this isn't a joke, RTWF: https://wiki.archlinux.org/title/Arch_User_Repository
Last edited by Trilby (2022-05-13 16:28:35)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I'm not sure this could even be serious (how do you know to try using 'makepkg' without knowing what makepkg is actually for?). Assuming this isn't a joke, RTWF:
At first I didnt knew what makepkg does. I tried to run makepkg and it said that " ERROR : PKGBUILD does not exist. " . So I read the dwm wiki and there was a link to the makepkg topic. So I clicked on it and read the makepkg topic. I understood that doing makepkg does nothing . So ......
Thanks for the link actually I didn't install the base-devel package. "Make" and "make install" works now- http://0x0.st/om3J.png marking the post as [SOLVED]
Last edited by RounakDutta (2022-05-13 17:40:32)
Offline
If you ran 'make install' as root this will cause problems in the future. You should use makepkg rather than make / make install. But you have to clone the AUR repo for dwm, not the upstream source.
EDIT: I see our wiki currently advises otherwise. Oh well.
Last edited by Trilby (2022-05-13 19:02:12)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline