Hi,
I found an url which describes how to build rpm packages from ocfs2 source code:
                
http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#BUILD

In there it says:

    *   Ensure you have all kernel-*-devel packages installed for the kernel 
version you wish to build for. If so, then the following command will list it 
as a possible target.
o       # ./vendor/rhel4/kernel.guess targets
o       rhel4_2.6.9-67.EL_rpm
o       rhel4_2.6.9-67.0.1.EL_rpm
o       rhel4_2.6.9-55.0.12.EL_rpm

I'm running rhel5, 2.6.18-53.1.14.el5. And when I run 
"./vendor/rhel5/kernel.guess targets", I get nothing. So I guess I have to 
install the kernel-*-devel packages. When I run "rpm -qa|grep kernel-", I get:
kernel-devel-2.6.18-53.1.14.el5
kernel-xen-2.6.18-53.1.14.el5
kernel-devel-2.6.18-8.el5
kernel-2.6.18-8.el5
kernel-2.6.18-53.1.14.el5
kernel-headers-2.6.18-53.1.14.el5

And when I run "yum search kernel-|grep kernel|sort -u" I get:
kernel-debug-devel.x86_64 : Development package for building kernel modules to 
match the kernel.
kernel-debug.x86_64 : The Linux kernel compiled with extra debugging enabled.
kernel-devel.x86_64 : Development package for building kernel modules to match 
the kernel.
kernel-doc.noarch : Various documentation bits found in the kernel source.
kernel-headers.x86_64 : Header files for the Linux kernel for use by glibc
kernel-xen-devel.x86_64 : Development package for building kernel modules to 
match the kernel.
kernel-xen.x86_64 : The Linux kernel compiled for Xen VM operations

Can anybody tell me what I'm missing or doing wrong?


Morten Kristiansen

_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to