Re-Installing/Repairing gcc and other packages in text mode
I installed Linux 9.1 on an old Pentium II 266 MHz desktop with 64 MB of RAM. I am running in text mode, and I have it set up as a webserver which I control by SSH remotely. The software bundled with the distro run fine (Apache 2, PHP 4, Postfix). I am trying to get MySQL, Cyrus IMAP, and Phorum running on it, but I can install the software. I run a ./configure on any of new software I wish to install, I get a 'No C compiler found in $PATH'. I didn't have this problem on another PC with a similar version of Linux.
Is there a way to repair/reinstall the C compiler (It's gcc I believe) from the command line without performing a fresh install?
Thanks for your help!