On Sat, 27 Dec 2003 16:20:40 +0800 Peter wrote: > > Trying to install a program I get: > > checking for C compiler default output... configure: error: C compiler cannot > create executables > > when doing ./configure in RH9. > > How do I correct this error? I can't be of much help here since I stopped using RedHat at version 7.3. However it sounds like your C compiler may be broken. What do you get from the following commands:
rpm -qa | grep gcc gcc --version Can you write a hello world program and compile it by hand? If gcc is installed and working, perhaps the configure script is not finding it. Try ./configure --help. You can usually pass ./configure an option to force it to use your gcc. Hth. John - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
