You are not logged in.

#1 2011-02-20 07:51:30

mephostophilis
Member
Registered: 2011-01-23
Posts: 30

"make: command not found" error when build rpncalc 1.36.8-1 Package

I am attempting to build a   rpncalc 1.36.8-1 Package from the AUR.
makepkg -s gave me this these output messages before aborting:

==> Validating source files with md5sums...
    rpncalc_1.36.8.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting rpncalc_1.36.8.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
/home/nfour/builds/PKGBUILD: line 17: make: command not found
    Aborting...

Here's the build section from the PKGBUILD:
15   build() {
16   cd $startdir/src/rpncalc/
17   make || return 1
18  make DESTDIR="$pkgdir" install || return 1
19 }

base-devel is installed

Offline

#2 2011-02-20 07:54:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: "make: command not found" error when build rpncalc 1.36.8-1 Package

Are you sure base-devel is installed?  you seem to be missing the make package...   What does trying to run "make" manually give you?

Offline

#3 2011-02-20 09:53:02

mephostophilis
Member
Registered: 2011-01-23
Posts: 30

Re: "make: command not found" error when build rpncalc 1.36.8-1 Package

If i just enter make I get:
bash: make: command not found

When run  pacman -Qs make
I get this:
local/fuse 2.8.4-2
    A library that makes it possible to implement a filesystem in a userspace program.
local/perl 5.10.1-5 (base)
    Practical Extraction and Report Language


pacman -Qs base-devel
gives me this:
local/bison 2.4.2-1 (base-devel)
    The GNU general-purpose parser generator
local/ed 1.4-2 (base-devel)
    A POSIX-compliant line editor
local/fakeroot 1.14.4-2 (base-devel)
    Gives a fake root environment, useful for building packages as a non-privileged user
local/flex 2.5.35-3 (base-devel)
    A tool for generating text-scanning programs
local/libtool 2.2.10-1 (base-devel)
    A generic library support script
local/m4 1.4.14-2 (base-devel)

When I run pacman -S make
Pacman wants install it and does not give a warning that it is up to date.

Oddly there's a man page for make but the description section does not seem quite right:
DESCRIPTION
       The make utility shall update files that are derived from other files. A typi‐
       cal  case  is one where object files are derived from the corresponding source
       files. The make utility examines time relationships  and  shall  update  those
       derived files (called targets) that have modified times earlier than the modi‐
       fied times of the files (called prerequisites)....

Last edited by mephostophilis (2011-02-20 10:34:16)

Offline

#4 2011-02-20 11:31:50

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: "make: command not found" error when build rpncalc 1.36.8-1 Package

If pacman wants to install make, you haven't installed base-devel. So try:

pacman -S base-devel

this installs the entire base-devel group

Last edited by Spider.007 (2011-02-20 11:32:16)

Offline

#5 2011-02-20 11:49:27

mephostophilis
Member
Registered: 2011-01-23
Posts: 30

Re: "make: command not found" error when build rpncalc 1.36.8-1 Package

Spider.007 wrote:

If pacman wants to install make, you haven't installed base-devel. So try:

pacman -S base-devel

this installs the entire base-devel group


pacman -S base-devel
gives me this:
warning: bison-2.4.2-1 is up to date -- reinstalling
warning: ed-1.4-2 is up to date -- reinstalling
warning: fakeroot-1.14.4-2 is up to date -- reinstalling
warning: flex-2.5.35-3 is up to date -- reinstalling
warning: libtool-2.2.10-1 is up to date -- reinstalling
warning: m4-1.4.14-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (17): m4-1.4.14-2  autoconf-2.66-2  automake-1.11.1-1  bin86-0.16.17-4
              bison-2.4.2-1  ed-1.4-2  fakeroot-1.14.4-2  flex-2.5.35-3
              libmpc-0.8.2-2  ppl-0.10.2-3  cloog-ppl-0.15.9-1  libelf-0.8.13-1
              gcc-4.5.0-6  libtool-2.2.10-1  make-3.81-5  patch-2.6.1-1
              pkg-config-0.25-2

Offline

#6 2011-02-20 12:38:33

MW
Member
Registered: 2007-07-27
Posts: 127

Re: "make: command not found" error when build rpncalc 1.36.8-1 Package

And did you install base-devel anyway?
The targets array also suggests that make is not installed so just install/re-install base-devel

Offline

#7 2011-02-21 03:32:23

mephostophilis
Member
Registered: 2011-01-23
Posts: 30

Re: "make: command not found" error when build rpncalc 1.36.8-1 Package

MW wrote:

And did you install base-devel anyway?
The targets array also suggests that make is not installed so just install/re-install base-devel

I reinstalled base-devel and makepkg worked! thanks

Offline

Board footer

Powered by FluxBB