Can't find GCC on Mandrake 9.1
I am trying to install the Alcatel Speedtouch configuration script from Sourceforge.net, and I keep running into one error, the script is looking for but cannot find the GCC compiler.
I've tried to load GCC from the source disks (I have the two direct from Mandrake), but according to the Mandrake software management program, it's not there. According to the file management system in Root, it ain't installed on the hard drive. That matches with speedtouchconf.sh Am I missing something incredibly, stupidly obvious here? (That would NOT be a surprise, I can be incredibly obtuse sometimes...) I keep hearing that if I install Development it'll install, but I've already tried that. Where is it? What am I missing, or what am I doing wrong?:confused: |
gcc should always, always, always be installed. :)
I don't think there is any sane distro that doesn't install gcc (I'm not even very sure how well the system would work without it since you always have to install things) Try typing in, gcc -v At a console. |
As you suggested, Teval, I typed in console: gcc -v
I used both the user ID and ROOT. Same results both times. And I quote: bash: gcc: command not found |
If you have configured URPMI, at a terminal as root type:
URPMI gcc Or, you can the use the GUI to install it: From the kicker, go to Configuration>Packaging>Install Software. Search for gcc. Click the install button after it finds it and any dependencies. It will take care of the rest. |
Actually, it's
urpmi gcc # Mandrake links Mandrake home page Mandrake Users website Easy urpmi config for Mandrake urpmi mini-HOWTO All You Ever Wanted to Know About Urpmi But Never Dared Asking Before Easy software management: Red Carpet Maximum RPM rpmfind You didn't install the developmental packages? As root, command: urpmi gcc An Introduction to the Midnight Commander. You can install it by commanding: urpmi mc Midnight Commander home page |
Ok, back in Winblows again.
rpmdrake couldn't find it. I typed in "gcc" and pressed "find". I left it in the default "look at file name" mode. urpmi returned a "command not found" error, but I'd used block capitals. I'll go back and try it again, after I review the Using Urpmi website that fancypiper has a link to. And after I convince my cat to get her claws out of my pant cuffs. |
Lower-case urpmi works. Surprise! Here's what I get when I type in "urpmi gcc":
"The following contain gcc: - gcc2.96-cpp - libgcci - gcc-cpp - gcl-doc" In rpmdrake, a search for gcc found: 1) In names: none. 2) In descriptions: - gdb - p2c 3) In Files: - How to French (whoopie.) - How to Italian (whoopie.) - lbggi - man-pages-fr (again, le woop-de-doo.) - mplayer (not, I think, what I'm looking for) - tmake - wine - zsh The non-instructional files above look like they just mention gcc in passing. I suspect it's already on my hard drive, if only I could find it and somehow get it to install properly. |
# What compiler version do I have installed
gcc -v gcc --version If not installed, try urpmi gcc2.96-cpp You will probably need kernel-source as well. # Compiling/installing kernel modules You will need to have installed: 1. The developmental packages (compiler) 2. The kernel source code that matches your running kernel 3. The module source or install code Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed: Code:
[fancy@tinwhistle fancy]$ su - Code:
[root@tinwhistle root]# cd /usr/src If you don't see something similiar to this (but in color), you will need to install the kernel source. NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now: Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux Next, did I install the compiler? Code:
[root@tinwhistle src]# gcc -v If you don't have those two things installed, you have to install them first off your install CD. If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study: |
Thanks, Fancypiper. I've made progress, although I'm not there yet.
Results: - I'm running kernel version 2.4.21-0.13mdk (Tell me, is mdk where they get Murder-Death-Kill in The Demolition Man?) Do I have the proper source code? I'm missing a couple of lines, and the first three lines are quite different from your example. drwxr-xr-x 3 root root 4096 Nov 30 10:02 drxsr-xr-x 13 root root 4096 Nov 30 10:36 / lrwxrwxrwx 3 root root 4096 Nov 30 10:02 rpm/ So it looks like I don't have the same kernel source code installed, and/or I dont' have a symbolic link named linux-2.4 pointing to it. I think I need to install the kernel source - which means I need instructions. |
Can you pick out what you need from the result of
urpmi kernel-source |
What DOES "urpmi" mean, anyway? It sounds like "burp-me". :)
|
I never have seen it explained.
WAG - ultimate rpm interface - WAG |
I typed "urpmi kernel-source" and got "no such package"
I'm going to go into rpmdrake and see if there's anything like this package on the Mandrake disks. |
rpmdrake is the front end to urpmi, so unless you have configured it for internet sources, all it is aware of is what is on the CDs.
Try configuring urpmi. Easy urpmi config for Mandrake |
The screen you've pointed me to seems to require that I'm on the Internet in Linux. Talk about your catch-22's.
The primary problem is I'm only on the internet in Windoze. Any suggestions? Any way of loading this manually and working from that? |
All times are GMT -5. The time now is 08:21 AM. |