LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-27-2001, 01:31 AM   #1
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Rep: Reputation: 30

I am attempting to install the 2.4 kernel in Red Hat 7.
According to the 'changes' file, I should download and install util-linux-2.10o. I think I am supposed to issue the command './configure' from within root. Bash tells me that this command does not exist. Am I doing something wrong? What else do I need to do?
 
Old 05-27-2001, 08:19 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If u did like tar -xzvf util-linux-2.10o.tar.gz u gotta cd util-linux-2.10o/ before configuring.
 
Old 05-27-2001, 08:19 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Question more details please!

Are you trying to issue
Code:
./configure
to compile util-linux-2.10o yeah? 'Cos it ain't gonna work to build the kernel! If you are trying to build the kernel like this then check out http://www.linuxquestions.org/questi...?threadid=2821

The other thing that isn't clear is when you say "issue the command './configure' from within root" - do you mean you are running the ./configure command from / as root or are you running it in the util-linux directory as root? The latter sounds correct.

Some more details are need I feel.

HTH

Jamie...
 
Old 05-27-2001, 10:33 AM   #4
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
Problem with ./configure

unspawn:
You say: "If u did like tar -xzvf util-linux-2.10o.tar.gz u gotta cd util-linux-2.10o/ before configuring"
Okay, this makes sense.

jharris:
I am trying to run this from / as root. I will try your suggestion. Also will look at the URL you suggest.

Thanks to both of you for your help. I will post my progress later.
 
Old 05-28-2001, 12:53 PM   #5
rdaves@earthlink.net
Member
 
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Original Poster
Rep: Reputation: 30
./configure

Well, I am trying to upgrade my Kernel (Red Hat 7, kernel 2.2 to kernel 2.4) because I am led to believe that then I might be able to get Linux to recognize my printer and modem.
-
So I surfed around and found an article at http://www.linuxnewbie.org/nhf/intel...4upgrade.html. The author upgraded to Linux 2.4 on Red Hat 7 and his platform was an AMD 700 MHZ. That is close to what I have (850 MHZ AMD), so it looked like a close match. Anyway, I get to the part where I am supposed to install util-linux-2.10o.tar.gz. The guy says "7. Next I ...grabbed util-linux-2,10o. I installed it
'./configure
'make'
'make install'
-
Here's the problem: I don't know if this ./configure thing even exists. I cannot find it anywhere in any directories and bash tells me that it does not exist. I don't understand what the author is doing here.
-
I looked at http://www.lunuxquestions.org/questi...?threadid=2821, which seems to be a fairly authoritative How To. This is good, but it doesn't tell me how to install the packages that the "changes" file recommends. As yet, I don't understand how to do this. It seems that just unpacking a package is only the first step. Then it is necessary to install it. That's where I am stuck.
-
I also have printed the document from http://linuxdocs.org/HOWTOs/Kernel-HOWTO.html and have, yet another, approach which differs from the other stuff I have read. It appears that generic linux and Red Hat linux don't use the same directories for many of the executable programs required for upgrading.
-
I think I can muddle through configuring the kernel. Where I am stuck is how to install all these packages that the "changes" file says I need.
Here's what I am working with as recommended by the "changes" file:
-
Gnu C V 2.96 (I have this installed...I think)
-
Gnu make 3.79.1 (ditto)
-
binutils 2.10.90 (ditto)
-
modutils - have 2.4.0 and have downloade V 2.4.2 but can't
install
-
e2fsprogs - have 1.18 and have downloaded 1.19 but can't install
-
reiserfsprogs - no idea what to do with this. "changes" file says to use 'reiserfsck2.1 | grep reisersprogs' to query what version is installed, but it doesn't work and I can't install.

pcmcia-cs have 3.1.19 and have downloaded 3.1.21 but can't install.
-
PPP have 2.3.11 and have downloaded 2.4.0. "changes" file says to use pppd --version, but this doesn't work and I can't install the upgrade.
-
isdn4k-utils-have 2.3.11 and have downloaded 3.1prel from a slackware site (will this work?)no idea what to do with this. "changes" file says to use isdncntrl>&1 | grep version' to query what version is installed, but it doesn't work and I can't install.

Lots of problems here. Would appreciate any help I can get.


[Edited by rdaves@earthlink.net on 05-28-2001 at 02:12 PM]
 
Old 05-28-2001, 01:25 PM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
OK, here we go...

Installing all those program from source will follow the same sorta lines. That configure command will be in the directory that is created when you unpack the tar.gz file. For example, imagine you had some-setof-utils-v1.2.tar.gz. If you were to unpack this using
Code:
tar xvfz some-setof-utils-v1.2.tar.gz
it would normally produce a directory called some-setof-utils-v1.2. You would change into that directory and *then* run ./configure etc...

You mention updating the 'reiserfsprogs' - you only need this if you are planning to use ReiserFS for your filesystem, if you're not going to then you don't need it. In a similar fashion unless you are going to use PCMCIA card s you don't need the pcmcia-cs files, if you're not on an ISDN link you also won't need the ISDN tools. On my system I upgraded to 2.4.3 on my system that was previously 2.2 and only updated the mod-utils, everthing else has been fine.

I'd suggest you just give it a go and see what happens. So long as you keep an option to boot your old kernel in LILO then even if it all goes horribly wrong you havn't lost anything.

Good luck!

Jamie...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
./configure command kitsune55 Linux - General 3 04-21-2005 09:17 AM
problem when use command [./configure] vanhelsing Linux - Software 3 06-14-2004 04:44 PM
Hai i still have the problem with configure command invinciblemk Linux - Newbie 2 02-04-2004 11:13 AM
'configure' command not found invinciblemk Linux - Newbie 4 02-02-2004 04:39 PM
problem with the configure command landshark753 Linux - General 6 01-31-2002 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:42 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