Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-01-2012, 07:29 AM   #1
LQ Newbie
Registered: Mar 2009
Location: Makassar, Indonesia
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Error when compiling Linux-PAM in slackware64-current

First, Happy New Year 2012. wish the best from this year :-)

I take the source from extra directory.
I've got this error when compiling Linux-PAM on slackware64-current.
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 `/tmp/Linux-PAM-1.1.3/modules/pam_unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/Linux-PAM-1.1.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/Linux-PAM-1.1.3'
make: *** [all] Error 2

Any suggest why this happen? Is there anything that I miss?
Old 01-01-2012, 09:25 AM   #2
Registered: Feb 2008
Location: Leghorn, Tuscany, Italy
Distribution: Slackware
Posts: 107

Rep: Reputation: 33
Old 01-02-2012, 11:42 AM   #3
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,314

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
because of missing NIS stuff in the new rpc headers you have to add --disable-nis to the configure options and it will build (but obviously PAM will lack NIS support).

if you're experimenting with PAM, I suggest you to have a look at this


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error Compiling Apache fop-1.0 on Slackware64 13.1 KamasCZ Slackware 2 04-05-2011 10:38 AM
md5sum error in slackware64-current EdGr Slackware 3 04-01-2011 01:12 AM
[SOLVED] Konqueror web browser error-Slackware64 current Moch5.0 Slackware 6 12-06-2010 11:09 AM
Compiling CinePaint under Slackware64-current mats_b_tegner Slackware 0 03-21-2010 09:13 AM
F4L + Slackware64-Current = Error. Martinezio Slackware 2 11-23-2009 09:39 AM

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration