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 08-20-2004, 07:56 PM   #1
riratm
LQ Newbie
 
Registered: Aug 2004
Location: Cali
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Question Working on compiling


ok i went to the tutorial on the main site
and ive finished steps:
tar zxf linuxquestions.tar.gz
and
cd linuxquestions
i get to ./configure and it says file or directory does not exist, i have tried looking for where it really is but i cannot find it.

i have Linux: Mandrake 10.0(probley) and I'm using gnome.
any answers or links to awnsers would be greatly appreciated THANKS :

Last edited by riratm; 08-20-2004 at 08:25 PM.
 
Old 08-20-2004, 09:11 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
http://www.linuxquestions.org/questi...ticle&artid=15
 
Old 08-20-2004, 09:51 PM   #3
riratm
LQ Newbie
 
Registered: Aug 2004
Location: Cali
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
thats the tutorial i went to and got stuck at but thanks anyway.
 
Old 08-21-2004, 12:39 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Are you actually trying to compile a package called linuxquestions.tar.gz? Its only an example in that tutorial. More clarification of the package your trying to compile would be helpful.
 
Old 08-21-2004, 01:42 AM   #5
riratm
LQ Newbie
 
Registered: Aug 2004
Location: Cali
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
alright sorry i was kinda going somewhere when i posted that what i was doing was compiling a kernel, linux-2.6.8.1 i believe. so i typed
tar zxf linux-2.6.8.1.tar.gz
witch didn't work so i did /usr/src/linux-2.6.8.1.tar.gz
witch did work
then i did
cd linux-2.6.8.1
then i got [root@----------- linux-2.6.8.1]# (----------- being my CPU name)
so then then i typed in ./configure.
i got the error: bash: ./configure: No such file or directory
so i thought "hmm weird" i looked it up then gave up and tried just continuing to the step: make
then i got the error message:

Makefile:415: .config: No such file or directory
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
HOSTCC scripts/basic/fixdep
/bin/sh: line 1: gcc: command not found
make[2]: *** [scripts/basic/fixdep] Error 127
make[1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
then i did make test and i got:

Makefile:415: .config: No such file or directory
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
make: *** No rule to make target `test'. Stop.
so finally i did make installer and i got:

Makefile:415: .config: No such file or directory
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
make: *** No rule to make target `test'. Stop.

and thats how i ended up here heh
 
Old 08-21-2004, 08:45 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Compiling a kernel is a little different, see:
http://wiki.linuxquestions.org/wiki/Compiling_a_Kernel
 
Old 08-21-2004, 07:17 PM   #7
riratm
LQ Newbie
 
Registered: Aug 2004
Location: Cali
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
ok i get to.

Basic config from terminal, a long list of questions you answer

make config

For ncurses GUI in the terminal

make menuconfig

For X-based GUI with modular explanations (QT Based)

make xconfig

Same as above, but for 2.6.x kernel only (GTK Based, and might be still buggy)

make gconfig?

and then i get an error on everyone

PS:Thank you very much I'm broke( ) other wise i would donate sorry.

Last edited by riratm; 08-21-2004 at 07:21 PM.
 
Old 08-22-2004, 12:50 AM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Please post the exact error message you get, as that will help people here help you. Make sure you're running the make command from the top level of the kernel source directory.
 
Old 08-22-2004, 07:24 AM   #9
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
First off, you only need to issue one "make *config" meaning you either issue
make menuconfig
make config
make xconfig
-or-
make gconfig

you issue *one* of the above.
Secondly, do you have a C/C++ compiler (gcc) installed? The reason I ask is because you got these errors multiple times:
Quote:
Makefile:415: .config: No such file or directory
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
/root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found
 
  


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
Compiling a Game ... not working. A.I. BOT Linux - Software 4 10-12-2005 06:00 AM
cdrecord not working after compiling new kernel 2.6.7 alitrix Linux - Hardware 8 12-30-2004 04:06 PM
USB not working after compiling 2.6.10 tutwabee Linux - Hardware 4 12-27-2004 01:21 AM
Kernel compiling = mouse not working the_sLiDe Slackware 5 10-30-2004 10:28 PM
apt and compiling from source not working well together? darkleaf Linux - Software 2 07-25-2004 01:13 PM

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

All times are GMT -5. The time now is 04:53 PM.

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