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 07-26-2003, 06:38 AM   #16
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68

I'm in WA I work nights though, so my 3AM is roughly ~ to your 3PM

Good Luck, and feel free to post back. Just a quick follow up to your tarball problem, that's because you don't have the kernel source installed for your version (likely anyway). That's the whole reason we are doing the kernel recompile.

Cool
 
Old 07-26-2003, 04:15 PM   #17
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
im stuck on make xconfig it give me this make[1]:gcc:command not found
make[1]***[tkparse.p] error 127
make[1]: leaving directory '/usr/src/linux-2.4.21/scripts
make:***[xconfig] error 2
i think its because i dont know how to start x?
->(The make xconfig requires you to be in an X session that root owns (meaning you will have to have started X as root or given root permissions using xhost or something similar)<-
on the make menuconfig it says that ncurses isnt installed. where can i find this ''ncurses''
but the uninstallment of NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9
works i remove the ending like u say .athlon.rpm

Last edited by strider_D_3000; 07-26-2003 at 10:02 PM.
 
Old 07-26-2003, 10:43 PM   #18
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
With RedHat to get GCC installed I tend to suggest using:
www.freshrpms.net
And download/install:
apt
(both dev and regular)
And:
synaptic
Once those are installed, you should then install GCC. The reason for apt/synaptic is because GCC has SOOO many dependencies that you don't wanna go around messing with em. Just fire up synaptic after it's installed and it will resolve all dependencies for GCC for you. Excellent tool IMHO for RPM users.

As for Ncurses bit, that's likely because you don't have the libncurses-devel package installed. Locate it on your install CD's and install it. You do (likely) have the ncurses package(s) installed, it's the libncurses-devel that it's looking for that is likely missing. After you get that installed (btw the command to install it should be:
rpm -Uvh libncurses5-devel.version.rpm where version.rpm is the rest of the info on the filename ) try running make menuconfig again.



I'm heading to work, I'll be back on in ~2 hours or so (that'll be 9 or 10 PM our time).

Cool
 
Old 07-27-2003, 12:08 AM   #19
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
on the first download apt where do i find dev? i only see one file for redhat 9 and where do i find this gcc? in other words i dont know what to get first! ill work on the ncurses first
 
Old 07-27-2003, 12:48 AM   #20
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
http://shrike.freshrpms.net/rpm.html?id=650

Use the 2 file links at the top of the page

Cool
 
Old 07-27-2003, 01:08 AM   #21
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
ok both files are installed now what?where do i get this gcc u talk about? also libncurses dont seem to be in my /mnt/cdrom/RedHat/RPMS
<--me

Last edited by strider_D_3000; 07-27-2003 at 01:16 AM.
 
Old 07-27-2003, 01:22 AM   #22
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68


To install GCC it would be something like:
apt install gcc
However you might wanna read the man page for more info:
man apt

Once you get that all setup then you can compile your kernel.



What a process eh?

Cool
 
Old 07-27-2003, 01:28 AM   #23
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
but where do i get this gcc?
and i only need to install the 2files from above right or do i need to isntall more before i can get gcc?
 
Old 07-27-2003, 01:32 AM   #24
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
apt should resolve that for you, it should determine the location to grab the files from:
apt install gcc

And let it ride, I'd suppose. You can also (if you'd like) use your install CD's to get it installed. Put in the CD, browse to the directory where the RPM's are, open up a terminal and type:
ls | grep gcc
And whatever pops up, you'll need to install. Also, during the installation of those files, more will be required. This is what apt should take care of, all of this by just typing in 1 commands:
apt install gcc
However I don't use RedHat, I don't use Apt, and I don't use RPM's, so all of this could be slightly different, that's why I suggest you take a look at the man page of apt to see if:
apt install gcc
Is what one would type, for example it could be (instead) something like:
apt-get install gcc

HTH

Cool
 
Old 07-27-2003, 01:34 AM   #25
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by strider_D_3000
but where do i get this gcc?
and i only need to install the 2files from above right or do i need to isntall more before i can get gcc?
Yeah, just the 2 apt files, apt and apt-devel should do it. From there it's all gonna be done by using the app above you've installed.

Cool
 
Old 07-27-2003, 01:38 AM   #26
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
on the cd note it say this l: no such file directory grep isnt one and gc isnt one 2
is the apt main page http://freshrpms.net/apt/ ? cuse i dont see the command for gcc any where there
''apt should resolve that for you, it should determine the location to grab the files from:
apt install gcc''
apt isnt a bash command do i type that some where else?

Last edited by strider_D_3000; 07-27-2003 at 01:42 AM.
 
Old 07-27-2003, 01:49 AM   #27
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
As for the above command, that's a pipe not an L the pipe key is just above the return (Enter) key:
rpm -qa PIPE grep gcc but don't type the word PIPE instead press the key with the PIPE on it:
rpm -qa | grep gcc

As for apt:
http://ftp.freshrpms.net/pub/freshrp...6-fr1.i386.rpm
Download that, and:
http://ftp.freshrpms.net/pub/freshrp...6-fr1.i386.rpm
Assuming you download them to your home directory, open up a terminal and type:
cd /home/user
Where user is your user's name, then, to install them:
rpm -Uvh apt-devel-0.5.5cnc6-fr1.i386.rpm apt-0.5.5cnc6-fr1.i386.rpm

Just like that, all on one line. Then, after they get installed, you will need to update your database, so as root type:
whereis apt
If it returns a path, use that for the full path:
/full/path/apt install gcc
If it returns nothing, use:
locate apt
And when it locates the apt file, use that path instead. Either way, you should end up with the ability to read a man file on the new program, to do that type:
man apt
And see what it says about the syntax to use when using apt to install applications. It's likely however, that it's just (as root):
/path/to/apt install gcc

WHere /path/to/apt is the actual path you find from your locate or whereis commands above.



HTH

Post back if none of this helps or if none of this makes sense.

Cool
 
Old 07-27-2003, 02:02 AM   #28
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
after i type whereis apt it gave me
apt: /ect/apt /usr/lib/apt / usr/share/man/man8/apt.8.gz
which of the 3 dir i use
(on this command ls | grep gcc noughting pop up u sure its installation cd redhat cd 1?)

Last edited by strider_D_3000; 07-27-2003 at 02:05 AM.
 
Old 07-27-2003, 02:04 AM   #29
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
man apt

That's gonna be the one that you read first, in there it should describe quite a bit to you, if you have problems reading the man page post it up (I know those things can read very cryptically sometimes, like lawyer gibberish).

Cool
 
Old 07-27-2003, 02:06 AM   #30
strider_D_3000
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
man apt

That's gonna be the one that you read first, in there it should describe quite a bit to you, if you have problems reading the man page post it up (I know those things can read very cryptically sometimes, like lawyer gibberish).

Cool
huh?
 
  


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
Wine question?? plez help?? :cry: gammak7 Linux - Newbie 11 02-19-2004 10:38 PM

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

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