bash: make: command not found

New to Debian (Or Linux in general)? Ask your questions here!

Re: bash: make: command not found

Postby vbrummond » 2012-04-29 14:19

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
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: bash: make: command not found

Postby hmazuji » 2012-05-03 21:38

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#
hmazuji
 
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

Postby confuseling » 2012-05-03 21:46

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
confuseling
 
Posts: 2143
Joined: 2009-10-21 01:03

Re: bash: make: command not found

Postby JohnDeere730 » 2012-05-03 21:46

What is your question? You look to have successfully installed the tools you need to build packages.....
JohnDeere730
 
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

Postby hmazuji » 2012-05-03 21:51

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#
hmazuji
 
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

Postby JohnDeere730 » 2012-05-03 23:18

IIRC, you are trying to get an mx320 going, right? If so, go here, download the cnijfilter-mx320series-3.10-1-i386-deb.tar.gz file, extract it, open a root terminal, cd to cnijfilter-mx320series-3.10-1-i386-deb/packages and run:

Code: Select all
dpkg -i --force-architecture *.deb


Note that the force-architecture option is if you are installing it into a 64-bit system, if yours is 32-bit, omit the --force-architecture flag. Whether this will allow your printer to work, I know not, but at least have the cnijfilter-crap installed you will.

Hope this helps, if not, mail your printer to Canon with instructions to shove it up their ass and go buy a real printer. When people stop buying crap that is not supported by their choice of OS, the sooner the vendors will get with the program, or go out of business. I'm ok with either option.
JohnDeere730
 
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

Postby Issyer » 2012-05-04 02:25

Why to compile a printer driver from source when deb packages should be available somewhere?
User avatar
Issyer
 
Posts: 3054
Joined: 2007-05-23 02:59
Location: Khakassia

Re: bash: make: command not found

Postby JohnDeere730 » 2012-05-04 02:30

Issyer wrote:Why to compile a printer driver from source when deb packages should be available somewhere?


They are; see my post above! :lol:
JohnDeere730
 
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

Postby Issyer » 2012-05-04 02:41

JohnDeere730 wrote:
Issyer wrote:Why to compile a printer driver from source when deb packages should be available somewhere?


They are; see my post above! :lol:


Sorry. I didn't notice that you had posted something. Now I see that you really did.
User avatar
Issyer
 
Posts: 3054
Joined: 2007-05-23 02:59
Location: Khakassia

Re: bash: make: command not found

Postby JohnDeere730 » 2012-05-04 03:15

No big...I wonder why the OP didn't just use these .debs instead of mucking around with the source code; I have to admit I couldn't compile it either, although since my give-a-crap factor was low, I didn't expend a lot of effort, either.
JohnDeere730
 
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

Postby Issyer » 2012-05-04 03:32

Because he's a newbie.
User avatar
Issyer
 
Posts: 3054
Joined: 2007-05-23 02:59
Location: Khakassia

Re: bash: make: command not found

Postby JohnDeere730 » 2012-05-04 03:41

Well, hopefully he gets his printer working.....everyone was a newbie once :lol:
JohnDeere730
 
Posts: 94
Joined: 2011-09-08 03:24

Re: bash: make: command not found

Postby vbrummond » 2012-05-04 11:05

Well though the fellow may have needed make regardless; He is trying to run './configure' and 'make' in a folder with no 'configure'. I had to cd to a cnijfilter folder and then the install docs read:
Code: Select all
To build and install cif command:

        ./autogen.sh --program-suffix=<Printer Model Name>
        make
        make install

        * You can set the following <Printer Model Name>.
            mx860 , mx320 , mx330

Example mx860:

        ./autogen.sh --program-suffix=mx860
        make
        make install


Appendix:

        * You can also set the following path.
           --prefix
                cif command (ex.cifmx860)                : default ... /usr/local
           --enable-libpath
                *.conf,*.tbl(ex.cifmx860.conf)           : default ... /usr/lib/bjlib

       Example:

           ./autogen.sh --program-suffix=mx860 --enable-libpath=/usr/lib/bjlib
           make
           make install


Edit I was able to compile sucessfully. Though I stress to the op to use checkinstall instead of 'make install'. Make sure you first install checkinstall from the debian repos.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: bash: make: command not found

Postby hmazuji » 2012-05-10 03:21

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.

i understand this.
hmazuji
 
Posts: 28
Joined: 2012-03-09 04:50

Re: bash: make: command not found

Postby hmazuji » 2012-05-10 03:25

dasein wrote:
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.)

this post doesn't add any value at all to the thread.
but your signature block was right on target.
hmazuji
 
Posts: 28
Joined: 2012-03-09 04:50

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable