View Full Version : Getting annoyed with rpm build!
When ever I do an rpm build I keep on getting different errors, in my other thread, few weeks ago I posted an attachment with my errors.
And for your amusement, and my help.. here is the new set of errors I get! :p
Who ever can help me with compiling the kernel please download the small attachment. I'm soon upgrading to a geforce4 ti 4600, and it would be nice to know how to install the drivers flawlessly.
First Error I would like you to download is the tar.gz build.
And the second error I got was with rpm build, which is pretty much similar to the "make install" one.
Andy Mecham
11-05-02, 09:18 PM
Are you sure your kernel source tree is up to date and complete? What kernel is it?
--andy
this is the source kernel I downloaded:
NVIDIA_kernel-1.0-3123.src.rpm
uname -a brings me this:
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
Although in the Redhat auto-updates, it gave me an option to download a newer system kernel, and I downloaded that too... and grub seems to show both correctly but for this install I decided to go into the older kernel.
Sorry but I'm not too familiar in checking if my kernel source tree is up to date and complete, is there a command that will do this for me?
Andy Mecham
11-05-02, 11:36 PM
'rpm -qa | grep kernel-source'
You might want to try reinstalling kernel-source-2.4.18-14.i386.rpm (or install it if it's not there). You shouldn't be seeing those type of errors on your system.
--andy
Nothing occured when I entered that command:
[root@localhost root]# rpm -qa | grep kernel-source
[root@localhost root]#
Is it spose to reveal anything?
and once I get home I will reinstall the system kernel.
Andy Mecham
11-06-02, 10:47 AM
Then you'll need to install the matching kernel-source package as well.
--andy
Wouldn't reinstalling redhat 8 be easier?
and if i do reinstall it, the kernel should be fixed, right?
Andy Mecham
11-06-02, 12:15 PM
No, not necessarially. If you want to reinstall, that's completely up to you. But, you'll have to make sure that you check the kernel-source package for installation if you do. You won't be able to build the driver unless your kernel sources are installed. Please note that the kernel-source package is different than your kernel package.
Can you try installing kernel-source-2.4.18-14.i386.rpm before you go through a reinstall?
--andy
You may have to configure the kernel-source tree. See my post in this thread for details:
http://www.nvnews.net/vbulletin/showthread.php?s=&threadid=3656&highlight=configured
ok, i read bwkazs post... and you kind of messed up on the directory thing.
there is no /usr/src/linux-2.4.18-17.7.x but instead there is a redhat folder in /usr/src which includes the following folders: BUILD RPMS SOURCES SPECS SRPMS
Andy Mecham
11-06-02, 06:12 PM
Then you *don't* have your kernel sources installed. You have to have your kernel sources installed to rebuild the driver.
Please install kernel-source-2.4.18-14.i386.rpm.
--andy
Is it on the redhat cd?
and what command will install it?
Andy Mecham
11-06-02, 06:18 PM
It's on CD 2 of your RedHat 8.0 set.
'rpm -Uvh /path/to/CDROM/RedHat/RPMS/kernel-source-2.4.18-14.i386.rpm'
--andy
do you mean /mnt/cdrom/RedHat/RPMS/kernel-source-2.4.18-14.i386.rpm?
?
I tried:
rpm -Uvh /path/to/CDROM.... and the directory wasn't there
Andy Mecham
11-06-02, 06:35 PM
Yes, that's what "/path/to/mountpoint" means. I can't depend on everyone mounting their CDs at /mnt/cdrom. :)
--andy
that was fast and easy =)
now do I try to build the nvidia kernel again?
Andy Mecham
11-06-02, 06:44 PM
Yes.
--andy
OMG IT WORKED!!!!!!!!!!!!!!!!!
thanks sooo much!:D :D :D :D
now i havent done this in a while, but im spose to go into /etc/X11/XF86Config, then put a # before GLCore, and let Dri and Glx load??
Andy Mecham
11-06-02, 06:54 PM
In /etc/X11/XF86Config-4
1) change the Driver line to read Driver "nvidia"
2) comment out Load "GLcore"
3) comment out Load "dri"
4) make sure Load "glx" appears
See the README for a better set of directions...
--andy
redhat 8 doesnt have a XF86Config-4, only a XF86Config
and it insied the XF86Config, it does not have GLcore under Section "Module"
Andy Mecham
11-06-02, 06:57 PM
Right. Use /etc/X11/XF86Config then.
--andy
there is no glcore under Section "Module"
Andy Mecham
11-06-02, 07:01 PM
Then you won't need to comment it out.
Please see the README.
--andy
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.