Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-22-2009, 04:56 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
make: *** [all] Error 2

Hello all!

I'm working on installing Debian on my old PowerMac G4 system. I'm trying to install the drivers for my wifi card. I followed the instructions, and tried to do "make all". It said:

make: command not found

To respond I did:
apt-get install make

However, now when I try to do the "make all" command, I get this output:
joey-ppc:/home/joey/Desktop/2007_1210_RT61_Linux_STA_v1.1.2.0/Module# make all
make -C /lib/modules/2.6.26-1-powerpc/build SUBDIRS=/home/joey/Desktop/2007_1210_RT61_Linux_STA_v1.1.2.0/Module modules
make: *** /lib/modules/2.6.26-1-powerpc/build: No such file or directory. Stop.
make: *** [all] Error 2

Can someone tell me what is causing this, and how I can fix it?
Old 03-22-2009, 05:23 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

'Sounds like you might be missing the kernel headers.

I'd try this:
apt-get install kernel-header
You might also consider any/all of:
apt-get kernel-package
apt-get install baseutils
apt-get gcc
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade

'Hope that helps .. PSM

Last edited by paulsm4; 03-22-2009 at 05:28 PM.
Old 03-22-2009, 05:27 PM   #3
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
also, apt-get install build-essential
Old 03-22-2009, 05:33 PM   #4
LQ Newbie
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I haven't really used Linux before other than just some random poking around on a friends laptop, but I got the feeling I'm doing something the wrong way...

joey-ppc:/home/joey# apt-get install kernel-header
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package kernel-header

And also

joey-ppc:/home/joey# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
build-essential set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 rrochele Linux - Kernel 3 02-07-2007 03:39 PM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 05:06 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration