[OpenAFS] problem installing OpenAFS on FC5

Ron Croonenberg ronc@depauw.edu
Wed, 25 Oct 2006 12:04:16 -0400


Ok,

I installed FC5 and I also installed the kernel source.

Then I tried to rebuild the rpms:

[root@io OpenAFS]# rpmbuild --rebuild --target x86_64 
openafs-1.4.2-fc5.1.src.rpm
Installing openafs-1.4.2-fc5.1.src.rpm
Building target platforms: x86_64
Building for target x86_64
/bin/ls: /lib/modules/*/build/include/linux/version.h: No such file or 
directory
unable to determine kernel version
/bin/ls: /lib/modules/*/build/include/linux/version.h: No such file or 
directory
unable to determine kernel version
error: error
/bin/ls: /lib/modules/*/build/include/linux/version.h: No such file or 
directory
unable to determine kernel version
error: line 131: Unknown tag:  "unknown kernel version: ${kvers} (parsed 
from )"

It doesn't seem to be able to determine the kernel version ?
and I don't know if that is an OS problem ?

thanks,

Ron



Derek Atkins wrote:
> Geez, the OpenAFS RPM is self-help-describing..  Also, I've described
> this multiple times on this list.   Also, "man rpmbuild"...
> 
>  rpmbuild --rebuild openafs....src.rpm
> 
> -derek
> 
> Quoting Ron Croonenberg <ronc@depauw.edu>:
> 
>> Ok,  I might be able to give it a shot...
>>
>> But since I am a rookie at this...
>>
>> How was that done again ?
>>
>> it was something with rpm and rpmbuild...   right ?
>>
>> Ron
>>
>> Derek Atkins wrote:
>>> I dont think Derrick built FC5 x86_64 RPMs, so you'll have to
>>> build them yourself from the SRPM.
>>>
>>> -derek
>>>
>>> Quoting Ron Croonenberg <ronc@depauw.edu>:
>>>
>>>> Ahh  ok...
>>>>
>>>> So i have the wrong rpm's, I thought it would/might work
>>>>
>>>> The kernel,  well thatone came straight from the distribution,  I 
>>>> didn't build a new kernel or anything.
>>>>
>>>> So what rpm's do I need for the "standard" FC5 smp x86_64 2054 kernel ?
>>>>
>>>> Or do I just build everything myself ?
>>>>
>>>> thanks,
>>>>
>>>> Ron
>>>>
>>>> Derek Atkins wrote:
>>>>> Jeffrey Hutzelman <jhutz@cmu.edu> writes:
>>>>>
>>>>>> On Tuesday, October 24, 2006 09:15:23 AM +0200 Stephan Wiesand 
>>>>>> <Stephan.Wiesand@desy.de> wrote:
>>>>>>
>>>>>>> You're trying to use the i686 module with an x86_64 kernel?
>>>>>> Good catch; Derek and I both missed that.
>>>>>
>>>>> Indeed.  That would also explain the "SMP" without the kernel
>>>>> named SMP.  Good catch!
>>>>>
>>>>> -derek
>>>>
>>>> -- 
>>>> =================================================================
>>>>  "I didn't hit it, it's just my way of parking."
>>>> =================================================================
>>>>  Ron Croonenberg                   |
>>>>                                    | Phone: 1 765 658 4761
>>>>  Lab Instructor &                  | Fax:   1 765 658 4732
>>>>          Technology Coordinator    |
>>>>                                    |
>>>>  Department of Computer Science    | e-mail: ronc@DePauw.edu
>>>>  DePauw University                 |
>>>>  275 Julian Science & Math Center  |
>>>>  602 South College Ave.            |
>>>>  Greencastle, IN  46135            |
>>>> =================================================================
>>>>  http://www.csc.depauw.edu/RonCroonenberg.html
>>>> =================================================================
>>>>
>>>> _______________________________________________
>>>> OpenAFS-info mailing list
>>>> OpenAFS-info@openafs.org
>>>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>>>
>>>
>>>
>>>
>>
>> -- 
>> =================================================================
>>  "I didn't hit it, it's just my way of parking.
>> =================================================================
>>  Ron Croonenberg                   |
>>                                    | Phone: 1 765 658 4761
>>  Lab Instructor &                  | Fax:   1 765 658 4732
>>          Technology Coordinator    |
>>                                    |
>>  Department of Computer Science    | e-mail: ronc@DePauw.edu
>>  DePauw University                 |
>>  275 Julian Science & Math Center  |
>>  602 South College Ave.            |
>>  Greencastle, IN  46135            |
>> =================================================================
>>  http://www.csc.depauw.edu/RonCroonenberg.html
>> =================================================================
>>
> 
> 
> 

-- 
=================================================================
  "I didn't hit it, it's just my way of parking.
=================================================================
  Ron Croonenberg                   |
                                    | Phone: 1 765 658 4761
  Lab Instructor &                  | Fax:   1 765 658 4732
          Technology Coordinator    |
                                    |
  Department of Computer Science    | e-mail: ronc@DePauw.edu
  DePauw University                 |
  275 Julian Science & Math Center  |
  602 South College Ave.            |
  Greencastle, IN  46135            |
=================================================================
  http://www.csc.depauw.edu/RonCroonenberg.html
=================================================================