SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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
packages installed.
You should upgrade your system following the instructions in the UPGRADE.TXT file on the installation CD. This is the officially supported upgrade and a guarantee that everything will be all right.
You should upgrade your system following the instructions in the UPGRADE.TXT file on the installation CD. This is the officially supported upgrade and a guarantee that everything will be all right.
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....
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:
Code:
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.
You nailed it!
You are right it did bump me to current and is whats causing my issues. I wonder how the hell the repo got enabled... Must have been my kids...
As per your instructions...
root@darken:/home/darken/Downloads/nvidia/nvidia-kernel# ls -la /var/log/packages/libelf*
/bin/ls: cannot access /var/log/packages/libelf*: No such file or directory
My next step is to install the package and see if I can get this all sort it out.
I try the install again and it failed with the same issue.
Am I in darkness here? am I going to have to re install from scratch?
so far nothing wants to compile
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.