new compiler, still no source
well i d/l a new gcc, and still no luck. the source is not where its supposed to be...how do i get it there? the only dir in /usr/src is "redhat" and within that, no source code....only several folders scattered around. how do i install the source? should i install a new kernel and go from there or no?
thankz. |
If you are trying to install gcc or upgrade it, you can use up2date (redhat's updater) and make it easy if you have it. If you want to install it FROM source, either way it doesn't install into /usr/src, it installs files into the /usr/lib, /usr/doc, /usr/bin etc...The last (the bin dir) is where you'll find executable files such as cpp etc...A new kernel shouldn't matter although more specific info on what you're doing might say otherwise...
|
kernel source
well i made a mistake with the forum....i ended up starting a new thread instead of replying, but its no big deal haha....
i cant find the kernel source in RH 7.0....i tried installing it from the source cd, but that just scatters files everywhere, and doesnt install to /usr/src/linux-x.x.x.... my original point was that im trying to compile sound card drivers, and someone told me that 7.0 came with a broken compiler. i installed a gcc patch from rpmfind.net (or is it com) and that did nothing, because the source is still missing.... where is the kernel source and how can i put it where its supposed to be, so i can compile my drivers? thanx taz. |
Ok, I gotcha. I'm unsure why after installing redhat there wouldn't be a /usr/src/linux-2.x.x directory containing the source, and likewise a /usr/src/linux symlink pointing to that directory. That being true, then i'd want to put the install cd in, find the rpm and install it and it should be there. The other option you specified, downloading another kernel is also a way to go. If you have the bandwidth, downloading the newest kernel 2.4.17 would probably be a good idear anyhow. Just untar or bunzip2 (.bz2 files are smaller) it to /usr/src and start the recompile process from there. You may just wanna do that.
|
figures.....new DISTRO, still no source
well now it seems that i have a new problem. i obtained mandrake 8.1, after some begging, and i have the same problem....no kernel source. the rpm in the source cd....cd 3 if im not mistaken, just installs files wherever, and i cant find them at all. :cry: ive tried so hard!! maybe im still just stuck in the newbie world...
|
kernel source is on the 2nd cd
/mnt/cdrom/Mandrake/RPMS2/kernel-source-2.4.8-26mdk.i586.rpm |
IIRC, RedHat kernel source RPM doesn't really install the kernel sources directly into /usr/src/linux... It puts a tarball into /usr/src/redhat/SOURCES and you have to untar that into /usr/src/linux and then apply patches. At least that's the way they used to do it in the 5.x days.
|
Quote:
Cheers, Finegan |
thanks everyone
well it was for an SB Audigy, which the alsa driver does not support yet. actually i got the driver from opensource.creative.com, which posts its linux drivers on sourceforge.
i did figure out how to install the kernel source, (thanks acid) and after toying with my internet connection for two weeks (which i still dont understand why it just "magically" started working), i finally got my dialup to work. thanks everyone! im posting from linux, and im never going back! :Pengy: |
All times are GMT -5. The time now is 09:14 PM. |