On a system without pam, xrdp-0.3.1 (the only version) fails to compile with an error, failing to find security/pam_appl.h As far as I can tell this isn't an optional dependency, but I didn't look for long really. A quick google search reveals a slackware user somewhere trying to hack the pam dependency out. I'll probably investigate this later, as I despise pam. In the meantime I installed the x86 and ~x86 versions of pam and it now works, so please add sys-libs/pam to the DEPEND list. -Ferret
Note I tested the 0.7 version of pam with USE=-* to make sure xrdp doesn't use any of the optional features like pam_console etc. It doesn't.
Please, post the actual errors instead of decribing them when filing bugs.
I didn't have time and had to catch a coach to the other side of the country. ;p I can ssh in I guess and do it... gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -I../common -DSESMAN_CFG_FILE=\"/etc/xrdp/sesman.ini\" -DSESMAN_PID_FILE=\"/var/run/sesman.pid\" -DSESMAN_DESTDIR=\"/usr/lib/xrdp\" -c -o scp_v0.o scp_v0.c gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -I../common -DSESMAN_CFG_FILE=\"/etc/xrdp/sesman.ini\" -DSESMAN_PID_FILE=\"/var/run/sesman.pid\" -DSESMAN_DESTDIR=\"/usr/lib/xrdp\" -c -o verify_user_pam.o verify_user_pam.c verify_user_pam.c:32:31: error: security/pam_appl.h: No such file or directory verify_user_pam.c:45: error: field 'pamc' has incomplete type verify_user_pam.c:46: error: expected specifier-qualifier-list before 'pam_handle_t'
The package has been removed from portage.