You are not logged in.

#1 2007-08-24 23:46:52

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

pam_ssh v. 1.92 compile error

Hi!

I'm trying to get pam_ssh module working but, for an unknown reason, it won't compile.

./configure script says everything's fine, but make makes this:

....
pam_ssh.c: In function 'pam_ssh_log':
pam_ssh.c:156: warning: implicit declaration of function 'vsyslog'
pam_ssh.c: In function 'auth_via_key':
pam_ssh.c:246: error: 'LOG_CRIT' undeclared (first use in this function)
pam_ssh.c:246: error: (Each undeclared identifier is reported only once
pam_ssh.c:246: error: for each function it appears in.)
pam_ssh.c: In function 'add_keys':
pam_ssh.c:316: error: 'LOG_ERR' undeclared (first use in this function)
pam_ssh.c:325: error: 'LOG_CRIT' undeclared (first use in this function)
pam_ssh.c: In function 'pam_sm_authenticate':
pam_ssh.c:378: error: 'SYSLOG_FACILITY_AUTHPRIV' undeclared (first use in this function)
pam_ssh.c:434: error: 'LOG_ERR' undeclared (first use in this function)
pam_ssh.c:463: error: 'LOG_CRIT' undeclared (first use in this function)
pam_ssh.c: In function 'pam_sm_open_session':
pam_ssh.c:540: error: 'SYSLOG_FACILITY_AUTHPRIV' undeclared (first use in this function)
pam_ssh.c:550: error: 'LOG_ERR' undeclared (first use in this function)
pam_ssh.c:572: error: 'LOG_CRIT' undeclared (first use in this function)
pam_ssh.c: In function 'pam_sm_close_session':
pam_ssh.c:873: error: 'LOG_ERR' undeclared (first use in this function)
make[1]: *** [pam_ssh.lo] Error 1
make[1]: Leaving directory `/usr/src/pam_ssh-1.92'
make: *** [all] Error 2

Looks like some arch's syslog system incompatibility but I couldn't find any reference to such error not at arch forum nor using google.

I'd rather not try messing with syslog but I think I just missed some dependency.

Just for sure I tried to compile version 1.91 for no avail except that I got different error:

....
cipher.c: In function 'cipher_set_key_string':
cipher.c:296: error: 'MD5_CTX' undeclared (first use in this function)
cipher.c:296: error: (Each undeclared identifier is reported only once
cipher.c:296: error: for each function it appears in.)
cipher.c:296: error: expected ';' before 'md'
cipher.c:299: warning: implicit declaration of function 'MD5_Init'
cipher.c:299: error: 'md' undeclared (first use in this function)
cipher.c:300: warning: implicit declaration of function 'MD5_Update'
cipher.c:301: warning: implicit declaration of function 'MD5_Final'
make[1]: *** [cipher.lo] Error 1
make[1]: Leaving directory `/var/abs/local/pam_ssh/src/pam_ssh-1.91'
make: *** [all] Error 2

Any points appreciated since I have no idea what to look for or where to look for it..:(

thanks,

-miky


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#2 2007-08-29 15:45:31

xyn
Member
From: Las Vegas
Registered: 2007-08-28
Posts: 7
Website

Re: pam_ssh v. 1.92 compile error

Give 1.92 a shot, they just released it. Compiled on my Dont Panic box with a simple ./configure && make &&  make install

Offline

#3 2007-10-07 14:11:09

tkjacobsen
Member
From: Denmark
Registered: 2007-07-07
Posts: 29

Re: pam_ssh v. 1.92 compile error

Do you guys happen to know how to make pam_ssh work with kdm/kde. I have made AUR package, but will not publish until I have tested.
All documentation tells me to edit /etc/pam.d/kdm or /etc/pam.d/system-auth, but these is missing in arch...


To save time, reboot your computer in the background using "reboot &"

Offline

#4 2007-10-07 15:04:46

tkjacobsen
Member
From: Denmark
Registered: 2007-07-07
Posts: 29

Re: pam_ssh v. 1.92 compile error

I got it working with console login, that must be good enough.

Have made a package on AUR:
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd


To save time, reboot your computer in the background using "reboot &"

Offline

Board footer

Powered by FluxBB