Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-23-2011, 11:48 AM
|
#1
|
|
Member
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 349
Rep:
|
Linux-PAM
i'm having problem with making this pachage.i'm getting this error:
Code:
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
i'm not sure rpc.h is belong to which package!!!
|
|
|
|
11-23-2011, 11:59 AM
|
#2
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
I'm running Fedora, FYI....
Code:
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
Do you have glibc-headers installed?
|
|
|
|
11-23-2011, 12:09 PM
|
#3
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,695
|
Hi,
rpc.h is installed by glibc during the installation of LFS 7.0 ( This one).
It should reside in: /usr/include/rpc
@corp769: Yep, roughly the same answer, but Fedora and LFS do things differently 
|
|
|
|
11-23-2011, 12:10 PM
|
#4
|
|
Member
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 349
Original Poster
Rep:
|
Code:
glibc-headers-2.14-5.x86_64
is this package contained in blfs?
i think i installed in lfs!!!
|
|
|
|
11-23-2011, 12:16 PM
|
#5
|
|
Member
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS
Posts: 349
Original Poster
Rep:
|
Code:
rpc.h is installed by glibc during the installation of LFS 7.0
i didn't get any error during the installation of glibc in lfs, but i don't hace rpc.h in /usr/include/rpc/ !!!
|
|
|
|
11-23-2011, 12:16 PM
|
#6
|
|
Guru
Registered: Apr 2005
Location: /dev/null
Distribution: technixOS
Posts: 5,723
|
Quote:
Originally Posted by druuna
Hi,
rpc.h is installed by glibc during the installation of LFS 7.0 ( This one).
It should reside in: /usr/include/rpc
@corp769: Yep, roughly the same answer, but Fedora and LFS do things differently 
|
Oh I know, it was just a reference, nothing more. 
|
|
|
|
11-23-2011, 12:36 PM
|
#7
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,557
|
There was a report from blfs support
Quote:
>> 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
|
|
|
|
|
11-23-2011, 01:09 PM
|
#8
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,695
|
Hi,
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).
Regards,
Matt.
|
( lfs-7.0-rc1 glibc-2.14 rpc)
The above was a discussion during the 7.0rc1 period, things might be ironed out now that we use 7.0 final.
Hope this helps.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|