Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yum provides */rpc/rpc.h
(outputs the following)
glibc-headers-2.14-5.x86_64 : Header files for development using standard C libraries.
Repo : installed
Matched from:
Filename : /usr/include/rpc/rpc.h
>> Hi,
>> >> I'm now having trouble with Linux-PAM.
>> >> I get the following error:
>> >>
>> >> pam_unix_passwd.c:57:21: fatal error: rpc/rpc.h: No such file or directory
>> >> compilation terminated.
>> >> make[3]: *** [pam_unix_passwd.lo] Error 1
>> >> make[3]: Leaving directory `/sources/Linux-PAM-1.1.3/modules/pam_unix'
>> >> make[2]: *** [all-recursive] Error 1
>> >> make[2]: Leaving directory `/sources/Linux-PAM-1.1.3/modules'
>> >> make[1]: *** [all-recursive] Error 1
>> >> make[1]: Leaving directory `/sources/Linux-PAM-1.1.3'
>> >> make: *** [all] Error 2
>> >>
>> >> Not sure which package rpc.h belongs to.
>> >> Any help would be appreciated.
> >
> > Try configuring pam with --disable-nis
> >
> > Andy
Thanks for all the suggestions.
I think I'll stick with the --disable-nis with Linux-PAM-1.1.4 since I
will never use NIS. FYI, version 1.1.3 did not work.
Does any one know where the official download site for Linux-PAM is
located? It seems that all the kernel.org links are still broken. Can
some please post the md5sum for Linux-PAM-1.1.4.tar.bz2. I just want to
make sure I've downloaded the correct version.
Thanks,
Wayne
Another option you could try would be installing libtirpc before building linux PAM.
Based on this info:
Quote:
On 09/09/2011 19:11, Walter Webb wrote:
> I don't know if it's my own problem or a general one, but the directory
> /usr/include/rpc contains one file; netdb.h. /tools/include/rpc also has
> the one file. I discovered this when trying to install portmap in a
> completed system.
Yes, this has been reported previously. It's because upstream Glibc no
longer installs the rpc headers. Upstream now expect folks to install
libtirpc http://sourceforge.net/projects/libtirpc/). That said,
libtirpc itself depends on some of the Glibc rpc headers, or did last
time I tried to install it.
Probably another issue to sort out before LFS-7.0 final (either put
libtirpc or a pointer to it in the book).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.