LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help plez (https://www.linuxquestions.org/questions/linux-newbie-8/help-plez-75736/)

MasterC 07-26-2003 05:38 AM

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

strider_D_3000 07-26-2003 03:15 PM

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

MasterC 07-26-2003 09:43 PM

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

strider_D_3000 07-26-2003 11:08 PM

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

MasterC 07-26-2003 11:48 PM

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

Use the 2 file links at the top of the page :)

Cool

strider_D_3000 07-27-2003 12:08 AM

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
:newbie: <--me

MasterC 07-27-2003 12:22 AM

;)

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

strider_D_3000 07-27-2003 12:28 AM

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?

MasterC 07-27-2003 12:32 AM

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

MasterC 07-27-2003 12:34 AM

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

strider_D_3000 07-27-2003 12:38 AM

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?

MasterC 07-27-2003 12:49 AM

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

strider_D_3000 07-27-2003 01:02 AM

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?)

MasterC 07-27-2003 01:04 AM

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

strider_D_3000 07-27-2003 01:06 AM

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?


All times are GMT -5. The time now is 12:26 PM.