LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2001, 09:08 AM   #1
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Rep: Reputation: 15

Hi great service.

My problem is that I am finding it difficult to have my written commands executed.

When I am in my user account and I open a Terminal window, I want to config my kernel so I type this :

rutnut@linux:" >cd /usr/src/linux
rutnut@linux:/usr/src/linux >make xconfig

then after return I get this :

make: *** NO rule to make target 'xconfig'. Stop

Any answers please, this happens in my Root
account.

Thanks
 
Old 02-19-2001, 01:53 PM   #2
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
The kernel-sources and kernel-headers are installed on your computer? You need them for building a custom kernel.
 
Old 02-19-2001, 04:59 PM   #3
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Source?

type this and tell us what you see:

rpm -qa | grep kernel


Here is mine:

[joubert@CXO336745-x86-RH7 src]$ rpm -qa | grep kernel
kernel-pcmcia-cs-2.2.16-22
kernel-2.2.16-22
kernel-source-2.2.16-22
kernelcfg-0.6-9
kernel-headers-2.4.0-0.26
kernel-utils-2.2.16-22
[joubert@CXO336745-x86-RH7 src]$


 
Old 02-19-2001, 05:59 PM   #4
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
Why are you so agressive?
It was just a question by me to an error that often takes place!
There are some more possible reasons for that error-message. Maybe someone else will help you.
I will not do so!
 
Old 02-19-2001, 11:32 PM   #5
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Original Poster
Rep: Reputation: 15
Unhappy written commands hard to execute

To Kevin J,

Thanks for the advice but to no success all it does after pressing the return key is pause and then :

rutnut@linux:" >

nothing else

How do I find out if my kernel sources and headers are installed and if not how do I install them ?
 
Old 02-20-2001, 05:53 AM   #6
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
First i have to appologize myself. I think i have misunderstood the response.

Do an "rpm -q kernel-source" and an "rpm -q kernel-headers".

If there is no output from these commands you have to install the packages from your Linux-CD.
Mount the CD, change into the dir with the packages and do an "rpm -Uvh kernel-source-xxxx" (do the same with the header-package).
I assume that you have a linux-distro that uses the rpm-format.

Now it should be possible to build a custom kernel with "make xconfig" under X.

hope this will help you
 
Old 02-22-2001, 01:19 AM   #7
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Original Poster
Rep: Reputation: 15
Smile

Thanks tons,

It worked and is working fine so far but with one little snag my modem dials fine using Kinternet and then after a few seconds of connection disconnects

I'm using SuSE 7 I'v compiled my kernel will that have somthing to do with it.

Thanks again

Rutnut
 
  


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
cannot execute some commands as an plain user! minike Slackware 5 09-03-2004 07:34 PM
how can execute some commands when a user logs out rddreamz Programming 2 05-25-2004 04:00 PM
C -how do i execute linux commands? ocularbob Programming 7 02-29-2004 02:51 PM
how to execute commands on login k4zau Linux - Software 3 10-12-2003 02:52 PM
Written commands are aborted Rutnut Linux - Newbie 7 08-11-2001 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration