glibc-headers-2.13.90-10.x86_64 missing /usr/include/rpc/netdb.h

Brian Millett bmillett at gmail.com
Thu May 5 13:48:18 UTC 2011


Is this an error or a feature?

I was trying to compile emacs and to my surprise, I got the following error:

In file included from /home/bpm/src/emacs/trunk/lib-src/movemail.c:671:0:
/usr/include/netdb.h:33:24: fatal error: rpc/netdb.h: No such file or directory
compilation terminated.

What??  Investigation shows that it used to be there but is now gone!

yum whatprovides "*/netdb.h"


glibc-headers-2.13.90-9.x86_64 : Header files for development using standard C libraries.
Repo        : fedora
Matched from:
Filename    : /usr/include/rpc/netdb.h
Filename    : /usr/include/bits/netdb.h
Filename    : /usr/include/netdb.h


glibc-headers-2.13.90-10.x86_64 : Header files for development using standard C libraries.
Repo        : installed
Matched from:
Filename    : /usr/include/bits/netdb.h
Filename    : /usr/include/netdb.h


Yet the /usr/include/netdb.h contains:

#include <netinet/in.h>
#include <stdint.h>
#ifdef __USE_MISC
/* This is necessary to make this include file properly replace the
   Sun version.  */
# include <rpc/netdb.h>
#endif


and nothing provides rpc/netdb.h

-- 
Brian Millett - [ Kalain and Sheridan, "Points of Departure"]
"Everyone knows Minbari do not kill Minbari."
'Then why are you here?'
"Perhaps everyone is wrong." 
        
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110505/70b078c2/attachment.bin 


More information about the test mailing list