Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssh fails to emerge after 2004.3 -> 2005.1 migration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Vespira
n00b
n00b


Joined: 20 Feb 2005
Posts: 33
Location: Arizona, USA

PostPosted: Mon Aug 08, 2005 10:49 pm    Post subject: openssh fails to emerge after 2004.3 -> 2005.1 migration Reply with quote

as i attempt to finish up the migration to 2005.1, i run emerge -uv system and all is well until openssh has it's turn at bat..

despite having pam installed, i am presented with

checking for pam_set_item in -lpam... no
configure: error: *** libpam missing

during configure >.<

the config.log file shows
Code:
| #include <pam/pam_appl.h>
configure:6913: result: no
configure:6917: checking pam/pam_appl.h presence
configure:6927: x86_64-pc-linux-gnu-gcc -E  conftest.c
conftest.c:38:26: pam/pam_appl.h: No such file or directory
configure:6933: $? = 1
configure: failed program was:
| /* confdefs.h.  */


a quick search shows pam_appl.h to be residing on the system as /usr/include/security/pam_appl.h

sorry if this is a total noob question, but i could not find a solution using search within this forum.
Back to top
View user's profile Send private message
MRB
n00b
n00b


Joined: 21 Oct 2003
Posts: 16
Location: Vienna, Austria

PostPosted: Mon Aug 08, 2005 11:24 pm    Post subject: Reply with quote

I'm not an expert whatsoever but as a quick, dirty and brutal hack I'd suggest

Code:
ln -s /usr/include/security /usr/include/pam

assuming that /usr/include/pam does not already exist. It could of course expect a different version of pam and completely fail compiling. This is also only a workaround, you'd be better off finding the source of the problem even if it works. If it doesn't then better remove the created symlink and try re-emerging or updating pam and openssh.
Back to top
View user's profile Send private message
Vespira
n00b
n00b


Joined: 20 Feb 2005
Posts: 33
Location: Arizona, USA

PostPosted: Mon Aug 08, 2005 11:33 pm    Post subject: Reply with quote

tried that, no resolution >.<

that was actually my first attempt, even though i knew it was a no-no

i'd post the config.log entirely, but it is fairly large...
Back to top
View user's profile Send private message
MRB
n00b
n00b


Joined: 21 Oct 2003
Posts: 16
Location: Vienna, Austria

PostPosted: Mon Aug 08, 2005 11:54 pm    Post subject: Reply with quote

No other errors or linker hiccups before the pam_appl.h error? Does emerge -pu pam show any available updates or does re-emerging it help? You could also check whether there are any multilib or similar updates, emerge those and try again.
Back to top
View user's profile Send private message
Vespira
n00b
n00b


Joined: 20 Feb 2005
Posts: 33
Location: Arizona, USA

PostPosted: Tue Aug 09, 2005 12:11 am    Post subject: Reply with quote

pam gave no problems, and i re-emerged it with the same results..

if i run USE=-pam emerge openssh it goes beyond that point, but then configure chokes with

configure: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***

interestingly enough, i can't find mention of libcrypto in the config.log file at all :P

sucks too, my emerge updated well over 200 packages, and only openssh died ; ;
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Tue Aug 09, 2005 1:26 am    Post subject: Reply with quote

you should migrate to 2005.0 first... then to 2005.1
read this https://forums.gentoo.org/viewtopic-t-364426.html
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
Vespira
n00b
n00b


Joined: 20 Feb 2005
Posts: 33
Location: Arizona, USA

PostPosted: Tue Aug 09, 2005 3:51 am    Post subject: Reply with quote

that is the guide i followed, i suppose i was somewhat misguided ^-^ i upgraded to 2005.0 then.

still have this problem though. will have to mess with it after i get back from work i suppose.
Back to top
View user's profile Send private message
blubb
Retired Dev
Retired Dev


Joined: 16 Feb 2004
Posts: 51
Location: Switzerland

PostPosted: Tue Aug 09, 2005 11:19 am    Post subject: Reply with quote

please report that issue on https://bugs.gentoo.org/, all bugs should go there, and a compile error certainly is one
Back to top
View user's profile Send private message
useperl
n00b
n00b


Joined: 14 Dec 2004
Posts: 19

PostPosted: Fri Oct 07, 2005 3:55 pm    Post subject: Reply with quote

Just an FYI if anyone else is attempting to fix this, my particular problem seemed to stem from openldap/pam/pam_ldap being out of sync. (Wrong symbol names etc)

To fix:

emerge in this order:

openldap
pam
pam_ldap

Run etc-update, fix your files, then re-emerge openssh. Once you do this it should work ok.

Thanks!

-useperl
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu Feb 16, 2006 12:29 am    Post subject: Reply with quote

Moved from Gentoo on AMD64 to Duplicate Threads, please see this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum