Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

bash: make: command not found

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
hmazuji
Posts: 28
Joined: 2012-03-09 04:50

bash: make: command not found

#1 Post by hmazuji »

why am i getting the error message:
bash: make: command not found
for:
./configure
and
make

i'd like to be able to run those commands per the webmonkey tutorial
http://www.webmonkey.com/2010/02/compil ... urce_code/

my goal is to run the command
make install

i am logged in as root.

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: bash: make: command not found

#2 Post by edbarx »

You need to have build-essential installed.

Code: Select all

apt-get install build-essential
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
debil
Posts: 1336
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: bash: make: command not found

#3 Post by debil »

Make that

Code: Select all

aptitude install make
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.

hmazuji
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

#4 Post by hmazuji »

i haven't tried it, but i'm a little pessimistic.

i'll give it a go, but before i do, i'd like to comment that i doubt that running these two commands

apt-get install build-essential

aptitude install make

as root is going to solve this issue, as i don't see how. my best guess is that you're offering a cursory solution. but i'll let you know ...

User avatar
debil
Posts: 1336
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: bash: make: command not found

#5 Post by debil »

What exactly, in the suggestions above, makes you suspect their capability of solving the issue?
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.

User avatar
aicardi
Posts: 388
Joined: 2009-11-18 01:30
Location: Chicago

Re: bash: make: command not found

#6 Post by aicardi »

debil wrote:What exactly, in the suggestions above, makes you suspect their capability of solving the issue?
+1
Jessie/Xfce

JohnDeere730
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

#7 Post by JohnDeere730 »

Methinks the OP is a wee bit confused.... :roll: ...
@hmazuji...wow, what else can I say....you can't run a program you haven't installed. Aptitude and apt-get are merely package (program) mangers that actually manage programs :shock: FYI, (programs are called packages in Linux-land). Both of the excellent suggestions offered to you will either install all the compiling tools, including make; (the build-essential package), suggested by Edbarx, whilst Debil's suggestion will only install the make program......

BTW, your snippy response to the two helpful gentlemen may be construed as a bit arrogant, but I am sure that was not your intention......

PS; do you have any faint idea of what you are actually attempting to do, or are you just a cut & paste commando?

hmazuji
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

#8 Post by hmazuji »

well john dear, i'm skeptical because the web monkey tutorial never hinted that i'd have to install make and configure. it just said to run them. and i'm skeptical because whenever someone suggests a solution, another problem comes up. for example, i'm afraid i'm going to now have to install aptitude and apt-get packages before i can run them.
maybe i have unrealistic expectations, God knows, i'm not living in a perfect universe, but it would be nice if, when i tried to run the make and the configure commands, and the operating system can't find them, to prompt me with "the make and configure packages are not installed. would you like me to install them now?"
john dear, you're mistaking arrogance with ingenuousness, but that is beyond the scope of this forum. let's just say that, and i'm not just talking about windows, i've never had to install a command before i ran it. i've installed applications, such as staroffice, but never command line executables.
and if you want to know where this is going or why i need this information, or what purpose is it serving, it's because i've been trying to install a pixma mx320 printer, and have to install the source code, and have ran into this problem. fyi, see:
http://forums.debian.net/viewtopic.php?f=7&t=77684
and finally, i was skeptical because the posts by edbarx and debil didn't come with an explanation. now, thanks to you, i feel less skeptical, and possibly even less snooty.

JohnDeere730
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

#9 Post by JohnDeere730 »

Thank you, I think. I am glad I was able to shed a little light on your situation. FWIW, I share your frustration with Canon printers, although their linux support is getting better. I am currently running a Canon MFP and really like it. I used to share your frustration with linux' different way of doing things, but now am used to it & like it. You do realize that you cannot compare windows to linux, right? In linux, the tools to compile programs are free, as is the source code, usually. Neither is true with windows.

BTW, you do not need to install either Aptitude or Apt-get. Both are frontends to the dpkg backend which handles package management and dependencies. I recommend you spend some time reading up on Apt and Dpkg, which are central to Debian, and will help you understand in more detail Ed and Debil's advice. You won't regret the time spent, I promise.

Also, it is John Deere, as in tractor, since I doubt I am very dear to anyone here! :lol:

User avatar
Issyer
Posts: 3032
Joined: 2007-05-23 02:59
Location: Khakassia

Re: bash: make: command not found

#10 Post by Issyer »

Make command is not found because ./configure ran out with an error and makefile was not created. That's why there's nothing to make.

JohnDeere730
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

#11 Post by JohnDeere730 »

Issyer wrote:Make command is not found because ./configure ran out with an error and makefile was not created. That's why there's nothing to make.
Huh? Did you read the OP's OP? When I first ran into that exact same error message many, many moons ago, I just installed build-essential and the problem was solved. The makefile may or may not have been created, as the OP didn't post the entire terminal output, but one thing is sure, he wasn't going any further until make was installed.

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: bash: make: command not found

#12 Post by dasein »

hmazuji wrote:i feel less skeptical, and possibly even less snooty.
Too late. You come asking for help, and then insist on arguing a point that you don't even begin to understand, from a position of total ignorance.

Someone who wasn't a total jerk would have offered an abject apology to the folks who initially tried to help.

(Ignore list updated.)

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: bash: make: command not found

#13 Post by dasein »

JohnDeere730 wrote:... I doubt I am very dear to anyone here! :lol:
You underestimate yerself. ;)

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: bash: make: command not found

#14 Post by dasein »

JohnDeere730 wrote:
Issyer wrote:Make command is not found because ./configure ran out with an error and makefile was not created. That's why there's nothing to make.
Huh? Did you read the OP's OP?
This is the one legit argument I see in favor of a "reputation" system. Some folks' postings are simply overflowing with misinformation.

User avatar
Issyer
Posts: 3032
Joined: 2007-05-23 02:59
Location: Khakassia

Re: bash: make: command not found

#15 Post by Issyer »

dasein wrote:
JohnDeere730 wrote:... I doubt I am very dear to anyone here! :lol:
You underestimate yerself. ;)
Not quite. There's a certain difference between American and non-American mentality. If an American guy say something, he/she says utterly and completely to say something different and, maybe, better next time. If a guy from a different country says something, he/she does that just to taste the sound of the words he/she said.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: bash: make: command not found

#16 Post by vbrummond »

To the OP the world isn't made my magic pixie dust faeries. Something works when it works. Especially so when you do it correctly. Also all the problems you described as basically 'oh no' were nearly automatic solutions given by other members in this thread. They have used Debian for a long time and have been helping users with problems for years. You would do well to heed their advice.
Always on Debian Testing

hmazuji
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

#17 Post by hmazuji »

ok, that worked. let's go to the next phase of this project ...

lou@debian:~/Downloads/cnijfilter-source-3.10$ su root
Password:
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libdpkg-perl make
Suggested packages:
debian-keyring make-doc
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libdpkg-perl make
0 upgraded, 8 newly installed, 0 to remove and 23 not upgraded.
Need to get 2,089 kB of archives.
After this operation, 5,280 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.us.debian.org/debian/ squeeze/main make amd64 3.81-8 [398 kB]
Get:2 http://ftp.us.debian.org/debian/ squeeze/main libdpkg-perl all 1.15.8.12 [694 kB]
Get:3 http://ftp.us.debian.org/debian/ squeeze/main dpkg-dev all 1.15.8.12 [812 kB]
Get:4 http://ftp.us.debian.org/debian/ squeeze/main build-essential amd64 11.5 [7,178 B]
Get:5 http://ftp.us.debian.org/debian/ squeeze/main fakeroot amd64 1.14.4-1 [100 kB]
Get:6 http://ftp.us.debian.org/debian/ squeeze/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
Get:7 http://ftp.us.debian.org/debian/ squeeze/main libalgorithm-diff-xs-perl amd64 0.04-1 [13.4 kB]
Get:8 http://ftp.us.debian.org/debian/ squeeze/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Fetched 2,089 kB in 38s (54.8 kB/s)
Selecting previously deselected package make.
(Reading database ... 121875 files and directories currently installed.)
Unpacking make (from .../archives/make_3.81-8_amd64.deb) ...
Selecting previously deselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.15.8.12_all.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.8.12_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_amd64.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4-1_amd64.deb) ...
Selecting previously deselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously deselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-1_amd64.deb) ...
Selecting previously deselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Processing triggers for man-db ...
Setting up make (3.81-8) ...
Setting up libdpkg-perl (1.15.8.12) ...
Setting up dpkg-dev (1.15.8.12) ...
Setting up build-essential (11.5) ...
Setting up fakeroot (1.14.4-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
root@debian:/home/lou/Downloads/cnijfilter-source-3.10#

confuseling
Posts: 2121
Joined: 2009-10-21 01:03

Re: bash: make: command not found

#18 Post by confuseling »

Try

Code: Select all

# echo "I'm sorry I doubted you" > http://forums.debian.net
The Forum's search box is terrible. Use site specific search, e.g.
https://www.google.com/search?q=site%3A ... terms+here

JohnDeere730
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

#19 Post by JohnDeere730 »

What is your question? You look to have successfully installed the tools you need to build packages.....

hmazuji
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

#20 Post by hmazuji »

see ? if you want to know why i'm skeptical, keep reading:

root@debian:/home/lou/Downloads/cnijfilter-source-3.10# ./configure
bash: ./configure: No such file or directory
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# configure
bash: configure: command not found
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# make
for dir in libs cngpij pstocanonij backend backendnet cngpijmon/cnijnpr; do (cd $dir; make $target)|| exit 1; done
make[1]: Entering directory `/home/lou/Downloads/cnijfilter-source-3.10/libs'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/lou/Downloads/cnijfilter-source-3.10/libs'
make: *** [all] Error 1
root@debian:/home/lou/Downloads/cnijfilter-source-3.10#
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# aptitude install make
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@debian:/home/lou/Downloads/cnijfilter-source-3.10#
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# ./configure
bash: ./configure: No such file or directory
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# configure
bash: configure: command not found
root@debian:/home/lou/Downloads/cnijfilter-source-3.10# make
for dir in libs cngpij pstocanonij backend backendnet cngpijmon/cnijnpr; do (cd $dir; make $target)|| exit 1; done
make[1]: Entering directory `/home/lou/Downloads/cnijfilter-source-3.10/libs'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/lou/Downloads/cnijfilter-source-3.10/libs'
make: *** [all] Error 1
root@debian:/home/lou/Downloads/cnijfilter-source-3.10#

Post Reply