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.
I am attempting to install a full package of xscreensaver, as the one that came on the Fedora disks I burned didn't have any screensavers with it. However, upon typing ./config as per the installation instructions, I got the following.
current directory: /home/Chaemera/Desktop/xscreensaver
command line was: ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I am unsure of what this error means, or how to fix it. Should I also include config.log, or is this enough information?
The compiler should be called GCC (short for Gnu C Compiler) -- you can either install them from the command line, eg. open a gterm/aterm/konsole and type
su [enter root password]
yum install gcc
Or, you can use the KYum or Yumex graphical installers from the menu. Just search for "gcc", and make sure that all the dependent packages (mostly libraries, from memory) are also selected before installing.
When you compile a package from source code you generally need a few extra c/c++ libraries installed. Your last error message simply tells you that it can't find the X11 library development files. To install them, you can either search for "Xll library" in KYum, or at a command line (as root) use
yum install xlibs*
yum install libx11-dev
There is also the (slim) chance that you do have the libraries installed, but at a location that the configure script hasn't thought of. If this is the case, then you can pass the location of the libraries to configure, eg.
A full list of these options can be printed out by using ./configure --help. It is possible that you'll also need other libraries, but configure will tell you at the next attempt. After compiling a few packages from source you usually end up with most of the common libraries in use, and compilation becomes far more enjoyable (if there is such a thing
It most likely means that the package names are different from what I had expected -- much apologies (the above is what they go by under Debian, which is what I'm currently running). I'm not sure of what they are called under Fedora, but you can search for them using
yum search xlibs
yum search x11
PS. Odd that the version of xscreensaver that came with Fedora didn't have any/many screensavers with it. As a last resort, you could always download some of the xscreensaver-extras packages from rpmseek.com.
Sadly, the search for xlibs returned no results, and the search for x11 returned so many that a good chunk scrolled completely out of my console's buffer. I think I may be missing some repositories, and/or not have the ones I do have configured right, as up2date says my system is as updated as they come. :P
I updated my .conf from that site, and the searches returned the same results as before.
Installed Yumex in an attempt to get a better look at what all yum was attempting to show me, but I can't seem to get it to display any of the packages. Probably just don't have something set up right.
Is there anything I should show you from my system to help diagnose this?
Unfortunately, this is probably about the limit of what I can help with, as I am currently don't have access to Redhat/Fedora. The most likely problem is that the libraries you need are in an unexpected package, thus I would recommend having a close look at the "configure" script to see exactly which libraries it is looking for, and then search for those files using Yumex.
Hopefully someone else with access to FC3 will be able to post something more useful (it may be worth asking in the Fedora forums also).
Good luck, and let us know how it goes, either way.