having trouble building the .rpm from .run of nvidia [Solv]

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

having trouble building the .rpm from .run of nvidia [Solv]

Postby egoitzro » Sep 19th, '14, 17:22

Hi, I don't know if the problem that i have to make rpm from the latest drivers of nvidia is because the nvidia-mgabuild is old or the problem is other. I want to explain what happens to me. I have subscritio to news about nvidia new drivers, and I have received news about new driver "343.22" that has been released today, and I've downloaded it, but when I'm trying to create the rpm for them to have a little repository to me, I get an error that says "Building package failed", first I thought I had the script and .spec files old, and I have download again. The .spec was old, but the nvidia-mgabuild script was well. Someone could tell me what can i do, or wait a while to come out a new script?

The Nvidia driver that i downloaded:
http://es.download.nvidia.com/XFree86/L ... 343.22.run

P.D: the nvidia-mgabuild.sh script is downloaded from: http://onse.fi/nvidia-mgabuild/nvidia-mgabuild.sh, and I use Mageia 4 of 64 bits

Thank you
Last edited by egoitzro on Sep 20th, '14, 19:42, edited 1 time in total.
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I'm having trouble building the .rpm from .run of nvidia

Postby doktor5000 » Sep 20th, '14, 15:48

Would have been helpful if you would have posted the output, and not only "Building package failed" as that will always be shown when the build breaks for whatever reasons.
Seems they change the tables of supported graphics cards in newer nvidia driver versions, the test in line 972 of nvidia-mgabuild.sh breaks, after trying to build the table of supported cards.

So either you try to fix the script or you install the nvidia driver directly from the .run file.

Apart from that, any specific requirement on that newer driver?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I'm having trouble building the .rpm from .run of nvidia

Postby egoitzro » Sep 20th, '14, 15:54

OK, Thank you
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I'm having trouble building the .rpm from .run of nvidia

Postby doktor5000 » Sep 20th, '14, 15:57

Or comment out line 972 in the script, should look like this afterwards:
Code: Select all
# [ $(wc -l pcitable.nvidia.lst | cut -f1 -d" ") -gt 200 ]
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: I'm having trouble building the .rpm from .run of nvidia

Postby egoitzro » Sep 20th, '14, 16:09

doktor5000 wrote:Or comment out line 972 in the script, should look like this afterwards:
Code: Select all
# [ $(wc -l pcitable.nvidia.lst | cut -f1 -d" ") -gt 200 ]



Thank you, I comment this line and it seems that everything has gone well.
egoitzro
 
Posts: 36
Joined: Nov 16th, '13, 15:40

Re: I'm having trouble building the .rpm from .run of nvidia

Postby doktor5000 » Sep 20th, '14, 19:39

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest