You are not logged in.

#1 2022-05-13 15:25:17

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 173
Website

[SOLVED] PKGBUILD Not found error when installing dwm

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

#2 2022-05-13 15:45:36

vorvac
Member
Registered: 2021-05-14
Posts: 44

Re: [SOLVED] PKGBUILD Not found error when installing dwm

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

#3 2022-05-13 16:27:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [SOLVED] PKGBUILD Not found error when installing dwm

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

#4 2022-05-13 17:36:06

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 173
Website

Re: [SOLVED] PKGBUILD Not found error when installing dwm

Trilby wrote:

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

#5 2022-05-13 18:55:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: [SOLVED] PKGBUILD Not found error when installing dwm

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

Board footer

Powered by FluxBB