You are not logged in.

#1 2020-09-17 23:31:42

marcosfeh
Member
Registered: 2020-09-17
Posts: 5

error Installing yay

so I'm trying to install yay

however after trying to makepkg on yay's folder I get this error

==> Starting build()...
/home/marcos/yay/PKGBUILD: line 28: make: command not found
==> ERROR: A failure occurred in build().

Looking into the line it says "command not found" here's what is in it

build() {
  export GOPATH="$srcdir"/gopath
  export CGO_CPPFLAGS="${CPPFLAGS}"
  export CGO_CFLAGS="${CFLAGS}"
  export CGO_CXXFLAGS="${CXXFLAGS}"
  export CGO_LDFLAGS="${LDFLAGS}"

  cd "$srcdir/$pkgname-$pkgver"
  LDFLAGS="-extldflags \"${LDFLAGS}\"" \                                                                                  <--- this is line 28
    make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
}

Last edited by marcosfeh (2020-09-17 23:32:05)

Offline

#2 2020-09-17 23:36:10

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: error Installing yay

Offline

#3 2020-09-17 23:39:58

solskog
Member
Registered: 2020-09-05
Posts: 407

Re: error Installing yay

seems you are trying to build a package without make. the recommended way to build a PKGBUILD package is to install base-devel with all the tools included.

Last edited by solskog (2020-09-17 23:41:05)

Offline

#4 2020-09-18 09:03:59

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: error Installing yay

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB