Re: Errors Building kmdls Myself

George Galt <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.general
Message-ID <CA+-thJNZcTxLLx2OstD2=Qb2N-4Wd13NdQNkjA=+Rkp1KTGFcA@mail.gmail.com>
Paulo:

Thanks.  I added 0 1 to the end and got a little further, but I've had
a bunch of other issues.  I had to create a directory /etc/OpenCL and
chmod 777, but I still get a bunch of errors.  It seems like it is
trying to uninstall the current nvidia driver before building.  I'm
not sure that is what is supposed to happen.

I'm going to give up for the time being -- I have something else I
have to finish -- but I'll try to come back to this later.

However, so you (or others) can see the types of errors I'm getting,
here is a sampling.. I can send the full output if you want, but it is
rather long.

George

WARNING: You specified the '--no-kernel-module' command line option,
nvidia-installer will not install a kernel module as part of this
driver installation,
         and it will not remove existing NVIDIA kernel modules not
part of an earlier NVIDIA driver installation.  Please ensure that an
NVIDIA kernel
         module matching this driver version is installed seperately.


WARNING: Your driver installation has been altered since it was
initially installed; this may happen, for example, if you have since
installed the NVIDIA
         driver through a mechanism other than nvidia-installer (such
as your distribution's native package management system).
nvidia-installer will
         attempt to uninstall as best it can.  Please see the file
'user.log' for details.


ERROR: Unable to create
'/usr/share/kde-settings/kde-profile/default/share/applications/nvidia-settings.desktop'
for copying (Permission denied)


-> There appears to already be a driver installed on your system
(version: 302.17).  As part of installing this driver (version:
302.17), the existing driver will be uninstalled.  Are you sure you
want to continue? ('no' will abort installation) (Answer: Yes)
-> No distribution pre-install script found.

-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/libnvidia-glcore.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/libGL.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/xorg/modules/extensions/libglx.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/libnvidia-tls.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/tls/libnvidia-tls.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/xorg/modules/drivers/nvidia_drv.so'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/xorg/modules/libnvidia-wfb.so.302.17'
(No such file or directory).

-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (302.17):
-> Deleting: /usr/lib64/libGL.so.1.2
-> The installer has encountered the following error during
installation: 'Cannot delete /usr/lib64/libGL.so.1.2'.  Continue
anyway? ("no" will abort)? (Answer: Yes)
-> Deleting: /usr/lib64/libGL.so.1
-> The installer has encountered the following error during
installation: 'Cannot delete /usr/lib64/libGL.so.1'.  Continue anyway?
("no" will abort)? (Answer: Yes)
-> Deleting: /usr/lib64/libGL.so
-> The installer has encountered the following error during
installation: 'Cannot delete /usr/lib64/libGL.so'.  Continue anyway?
("no" will abort)? (Answer: Yes)


On Thu, Aug 16, 2012 at 11:09 AM, Paulo Cavalcanti <[email protected]> wrote:
>
>
> On Thu, Aug 16, 2012 at 11:58 AM, George Galt <[email protected]> wrote:
>>
>> Thanks, I've grabbed the src.rpm  from Axel's site (here:
>> http://dl.atrpms.net/all/fakeroot-1.11-19.src.rpm) and built it
>> myself, but I am still getting an error that says: ERROR: No NVIDIA
>> driver is currently installed; the '--kernel-module-only' option can
>> only be used to install the NVIDIA kernel module on top of an existing
>> driver installation.
>>
>> /var/lib is set to 777
>>
>> Can you spot anything else wrong below?
>>
>
> You have to build the libs first for all new driver version.
> Just add 0 1 (0 space 1) at the end of the command line
> you used to build the kmdl. After building the libs, you can build the kmdl
> by removing the 0 1 extra parameters.
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.