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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Code:
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?
"Checking for gcc... no" -- this means that you don't have a c/c++ compiler installed. Hopefully this (along with the standard c libraries) is also on your Fedora disks.
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
Code:
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
Code:
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.
Code:
./configure --x-libraries=DIR
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
Code:
yum search xlibs
yum search x11
Cheers,
Michel
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
Are you sure that you have full and reliable mirrors listed for Yum ? It may be worth checking your /etc/yum.conf -- there is an example at www.fedorafaq.org if you need it.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.