Page 1 of 1

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

PostPosted: Sep 19th, '14, 17:22
by egoitzro
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

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

PostPosted: Sep 20th, '14, 15:48
by doktor5000
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?

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

PostPosted: Sep 20th, '14, 15:54
by egoitzro
OK, Thank you

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

PostPosted: Sep 20th, '14, 15:57
by doktor5000
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 ]

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

PostPosted: Sep 20th, '14, 16:09
by egoitzro
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.

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

PostPosted: Sep 20th, '14, 19:39
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks