Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Tried to run minicom onred hat enterprise 5.2, but this failed because gcc was not installed. Installed gcc, but now when I do ./configure, i get the following error:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/admin/minicom-2.6.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
Can someone help me figure out what is going on here?
It's VERY rare that you need to install directly from the RPM, especially for something as core as gcc. Chances are you installed gcc, but none of the libraries that it needs, which is why it doesn't work. Use YUM for this kind of thing.
I would start by removing the RPM you installed by hand, and issue a "yum install gcc" or similar. YUM probably has minicom as well:
yum list | grep -i minicom
Any time you want a program in any of the Redhat-based distros (RHEL, CentOS, Fedora), start by doing a "yum list | grep" to find if it's in yum. If it isn't, find the source. When you go to configure/compile the source, if you encounter any missing libraries or programs, again use yum to find and install them. 99% of the time you can use "yum provides" to find your missing library/binary.
Last edited by suicidaleggroll; 03-26-2012 at 11:27 AM.
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
The default "Redhat EL 5.x" compiler is version 4.1.2.
( gcc version 18.104.22.168 is usually totally unusable for an OS from this century.)
Required packages, for gcc to be usable :
gcc, gcc-c++, glibc-devel-2.5-24, glibc-headers-2.5-24, kernel-headers-2.6.18-92
The shown versions are the old RHEL 5.2 versions.
Can be installed from your install DVD.
If you can use yum, glibc will be updated to version 2.5-81.el5_8.1.