LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-22-2009, 04:56 PM   #1
JoeyH
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
joey-ppc:/home/joey/Desktop/2007_1210_RT61_Linux_STA_v1.1.2.0/Module#


Can someone tell me what is causing this, and how I can fix it?
 
Old 03-22-2009, 05:23 PM   #2
paulsm4
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:
Quote:
apt-get install kernel-header
You might also consider any/all of:
Quote:
apt-get kernel-package
apt-get install baseutils
apt-get gcc
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade
http://linuxhelp.blogspot.com/2005/1...r-for-new.html
http://www.debian.org/doc/manuals/ap...pt-get.en.html


'Hope that helps .. PSM

Last edited by paulsm4; 03-22-2009 at 05:28 PM.
 
Old 03-22-2009, 05:27 PM   #3
AlucardZero
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
JoeyH
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
joey-ppc:/home/joey#


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.
joey-ppc:/home/joey#
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 AM.

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