[Ocfs2-users] Need help in building RPM for OCFS2

Randy Ramsdell rramsdell at livedatagroup.com
Thu Jan 24 05:34:48 PST 2008


Kirk Anderson wrote:
> To get the make to start I used make rhel4_55.0.12_rpm  
> If I tried make rhel4_2.6.9-55.0.12_rpm it did not attempt to work.  
> Now I receive the message kernel-devel = 55.0.12 is needed by
> ocfs2-55.0.12-1.2.7-0.local.el4.i686
> I checked and package kernel-devel-2.6.9-55.0.12.EL is already installed.
>
> Any ideas?
>
> Thanks,
>
> Kirk
>
> -----Original Message-----
> From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
> Sent: Wednesday, January 23, 2008 8:13 PM
> To: Kirk Anderson
> Cc: ocfs2-users at oss.oracle.com
> Subject: Re: [Ocfs2-users] Need help in building RPM for OCFS2
>
> Your target name is incorrect. Read the faq entry again.
>
> Kirk Anderson wrote:
>   
>> Thank you.  
>> When I try the make rhel4_2.6.9-55.0.12.EL-i686 
>> I receive the message "make: *** No rule to make target '
>> rhel4_2.6.9-55.0.12.EL-i686_rpm'"
>> There were no error messages from the configure command.
>>
>> Where am I going wrong?
>>
>> Thanks,
>>
>> Kirk
>>
>> -----Original Message-----
>> From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com] 
>> Sent: Wednesday, January 23, 2008 6:46 PM
>> To: Kirk Anderson
>> Cc: ocfs2-users at oss.oracle.com
>> Subject: Re: [Ocfs2-users] Need help in building RPM for OCFS2
>>
>> The entry in the faq has been updated.
>>
>> Kirk Anderson wrote:
>>   
>>     
>>> I have kernel 2.6.9-55.0.12.EL-i686 that I build the fire wire RPM for 
>>> without issue. I am trying to do the same for the OCFS2 and tools. I 
>>> have attempted to follow the FAQ. There is item number 96 that is 
>>> titled "How to build OCFS2 packages for a hotfix kernel" that has the 
>>> steps to build the rpm. The issue that I am having is under the 
>>> Configure and make. The step is to issue ../configure 
>>> -with-kernel=/usr/src/kernels/2.6.9-42.X.EL_rpm. My command line is 
>>> ./configure -with-kernel=/usr/src/kernels/2.6.9-55.0.12.EL-i686_rpm 
>>> When I try that it gives the error "configure: error: Could not 
>>> determine kernel version." If I try the same command without the 
>>> /_/rpm then I do not receive any error messages. I then try to find 
>>> the rhel4_2.6.9-55.0.12.EL-i686 and it does not exist.
>>>
>>> Please let me know what the steps are for me to build the rpms for ocfs2.
>>>
>>> Thanks,
>>>
>>> Kirk
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Ocfs2-users mailing list
>>> Ocfs2-users at oss.oracle.com
>>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>>       

I have my old spec file for building the ocfs2 rpm that works for any 
distro if you want it. You just have to make sure your build environment 
has been set up correctly.

Thanks,
Randy Ramsdell




More information about the Ocfs2-users mailing list