SlackwareThis Forum is for the discussion of Slackware Linux.
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.
After an upgrade yesterday my whole system broke... little by little I have been able to bring it back up. The major issue I have right now is that I am unable to install the nvidia drivers. It complains that there is no gcc libc devel packages installed... It also complains that the kernel source is not installed... Which they are.... Any ideas whats going on?
I also notice that my KDE went from 4.4 to 4.5 and a lot of the applications are broken like digikam complains that some lib are missing... something like "libmarble" or something like that....
I did a slapt-get --upgrade and let the system upgrade everything except for the kernel.
After the system came back up it complaint that GLX was unable to load as per the nvidia log. Than I try to reinstall the nvidia driver and it complains that nvidia is unable to continue because there is no gcc development and libc development packege installed. It also complain that the kernel source is not present. So it can not build the modules...
Here is the warning I get..
The C compiler 'cc' does not appear to be able to
create executables. Please make sure you have
your Linux distribution's gcc and libc development
Well I was not trying to upgrade my OS just upgrading the pkgs.
Best practice is to keep up to date.
At this rate I think this is the last time I do a pkg upgrade to anything in my slackware OS....
For the regular updates my advice is to use the slackpkg tool that is included with stock Slackware. It is simple to use and I have had no issues with it so far. Using stock packages is always better than resorting to third-party tools. Do not blame Slackware for something that went wrong due to third-party tools!
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 195.36.24.
-> There appears to already be a driver installed on your system (version: 195.
36.24). As part of installing this driver (version: 195.36.24), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
... not anymore! I do not think it was your intention, but apparently slapt-get upgraded your Slackware 13.1 to slackware-current, which is the development version of Slackware (13.1 is the most recent stable release).
And it did a less-than-perfect job too. Your gcc issues are probably caused by a missing package (between 13.1 and -current some packages were added to Slackware).
Do you have a libelf package installed? Running this command should reveal one package:
ls -la /var/log/packages/libelf*
If not, download the package from a Slackware mirror (it is in the "L" series) or ask slapt-get to install it.
Well, another package was added in -current after Slackware 13.1 was released, which is also required by gcc: libmpc (also found in the "L" series). You will probably not have that one, either.
By now I hope you have realized that your conversion to -current is incomplete, and that slapt-get upgraded a whole lot, but failed to install new packages... there are a few more than the two I already mentioned.
Check the Slackware-current ChangeLog.txt for anything you are missing, or better even: configure the file /etc/slackpkg/mirrors with exactly one slackware-current mirror (a 32-bit one, not a 64-bit one, I assume you are not running 64-bit Slackware). Then run "slackpkg update; slackpkg install-new" and let slackpkg find and install the package you're still missing.