LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem with ./configure command (https://www.linuxquestions.org/questions/linux-general-1/problem-with-configure-command-2819/)

rdaves@earthlink.net 05-27-2001 01:31 AM

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?

unSpawn 05-27-2001 08:19 AM

If u did like tar -xzvf util-linux-2.10o.tar.gz u gotta cd util-linux-2.10o/ before configuring.

jharris 05-27-2001 08:19 AM

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...

rdaves@earthlink.net 05-27-2001 10:33 AM

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.

rdaves@earthlink.net 05-28-2001 12:53 PM

./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]

jharris 05-28-2001 01:25 PM

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...


All times are GMT -5. The time now is 09:45 AM.