[OpenAFS] Suse 9.3 Professional RPMS

Ken Aaker kenaaker@silverbacksystems.com
Fri, 14 Apr 2006 17:03:46 -0500


Try running

rpm -qf /usr/src/linux/include/linux/types.h

It should come back with a kernel-source-* package name.

(I don't have a 9.3 system handy at the moment, but that's where the 9.2 
system I have points to sys/types.h).

Ken


David Sonenberg wrote:
> Tried that but I'm still getting the same problem.
>
> Ken Aaker wrote:
>   
>> Hi,
>>
>> The simplest drill I've come up with for setting up a SuSE system to
>> build OpenAFS is something like this.
>>
>> cd /usr/src/linux
>> make cloneconfig
>> make modules_prepare
>>
>> Then I can build from the OpenAFS tree.
>> I don't have to build a whole kernel or modules.
>>
>> Ken
>>
>> (Sorry Derek... Note to self.. CHECK the To: Field EVERY TIME..)
>>
>>
>> Derek Atkins wrote:
>>     
>>> On my FC3 system:
>>>
>>> rpm -qf /usr/include/sys/types.h
>>> glibc-headers-2.3.6-0.fc3.1
>>>
>>> There's another copy in the kernel sources, provided the AFS symlinks
>>> worked correctly.  Do you have the correct kernel headers for your
>>> running kernel?  What ./configure options did you use?
>>>
>>> -derek
>>>
>>> Quoting David Sonenberg <dsonenberg@strozllc.com>:
>>>
>>>       
>>>> Does anybody have any idea which package this would be in?
>>>>
>>>> Derek Atkins wrote:
>>>>         
>>>>> Um, sys/types.h is a SYSTEM include file..  Should be in your system.
>>>>> It's not an AFS include file.
>>>>>
>>>>> -derek
>>>>>
>>>>> Quoting David Sonenberg <dsonenberg@strozllc.com>:
>>>>>
>>>>>           
>>>>>> Well I went and rechecked the md5 hash(it was ok), deleted the source
>>>>>> tree and recreated it from the tar ball(bz2), and still no
>>>>>> sys/types.h.
>>>>>> Here are the exact steps I took:
>>>>>>
>>>>>> tar xjvf openafs-1.4.0-src.tar.bz2
>>>>>> cd openafs-1.4.0
>>>>>> configure --prefix=/
>>>>>> make
>>>>>>
>>>>>>
>>>>>> Derek Atkins wrote:
>>>>>>             
>>>>>>> Quoting David Sonenberg <dsonenberg@strozllc.com>:
>>>>>>>
>>>>>>>               
>>>>>>>> I decided to just build from sources but now I'm running into some
>>>>>>>> compilation errors:
>>>>>>>>
>>>>>>>> In file included from
>>>>>>>> /root/openafs-1.4.0/include/afs/afs_sysnames.h:25,
>>>>>>>>                 from /root/openafs-1.4.0/include/afs/param.h:58,
>>>>>>>>                 from
>>>>>>>> /root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:11:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> /root/openafs-1.4.0/include/afs/stds.h:14:23: sys/types.h: No
>>>>>>>> such file
>>>>>>>> or directory
>>>>>>>>                 
>>>>>>> Well, this is the problem -- no sys/types.h?  Why can't it find this
>>>>>>> header?
>>>>>>>
>>>>>>> -derek
>>>>>>>
>>>>>>>               
>>>>>> -- 
>>>>>> David Sonenberg
>>>>>> Manager, Information Technology
>>>>>> Stroz Friedberg, LLC
>>>>>> 15 Maiden Lane
>>>>>> 15th Floor
>>>>>> New York, NY 10038
>>>>>> Tel 212.981.6527
>>>>>> Fax 212.981.6545
>>>>>>
>>>>>> This message is for the named person's use only.  It may contain
>>>>>> confidential, proprietary or legally privileged information. No
>>>>>> right to
>>>>>> confidential or privileged treatment of this message is waived or lost
>>>>>> by any error in transmission.  If you have received this message in
>>>>>> error, please immediately notify the sender by e-mail or by
>>>>>> telephone at
>>>>>> 212.981.6540, delete the message and all copies from your system and
>>>>>> destroy any hard copies.  You must not, directly or indirectly, use,
>>>>>> disclose, distribute, print or copy any part of this message if you
>>>>>> are
>>>>>> not the intended recipient.
>>>>>>
>>>>>>             
>>>>>
>>>>>           
>>>> -- 
>>>> David Sonenberg
>>>> Manager, Information Technology
>>>> Stroz Friedberg, LLC
>>>> 15 Maiden Lane
>>>> 15th Floor
>>>> New York, NY 10038
>>>> Tel 212.981.6527
>>>> Fax 212.981.6545
>>>>
>>>> This message is for the named person's use only.  It may contain
>>>> confidential, proprietary or legally privileged information. No right to
>>>> confidential or privileged treatment of this message is waived or lost
>>>> by any error in transmission.  If you have received this message in
>>>> error, please immediately notify the sender by e-mail or by telephone at
>>>> 212.981.6540, delete the message and all copies from your system and
>>>> destroy any hard copies.  You must not, directly or indirectly, use,
>>>> disclose, distribute, print or copy any part of this message if you are
>>>> not the intended recipient.
>>>> _______________________________________________
>>>> OpenAFS-info mailing list
>>>> OpenAFS-info@openafs.org
>>>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>>>
>>>>         
>>>
>>>       
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>     
>
>