Dave Wagler wrote:

>> The polkit configure script is quite complicated. This is the only section
> that looks significant:
>
> have_pam=no
> if test "$need_pam" = yes ; then
>    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam"

So do you have /bin/libpam.so?

>> &5
> $as_echo_n "checking for pam_start in -lpam... " >&6; }
> if ${ac_cv_lib_pam_pam_start+:} false; then :
>    $as_echo_n "(cached) " >&6
> else
>    ac_check_lib_save_LIBS=$LIBS
> LIBS="-lpam  $LIBS"
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h.  */
>
> /* Override any GCC internal prototype to avoid an error.
>     Use char because int might match the return type of a GCC
>     builtin and then its argument prototype would still apply.  */
> #ifdef __cplusplus
> extern "C"
> #endif
> char pam_start ();
> int
> main ()
> {
> return pam_start ();
>    ;
>    return 0;
> }


If you do have /bin/libpam.so, does the command `nm  /lib/libpam.so | 
grep pam_start` give a result like:

0000000000007470 T pam_start

> _ACEOF
> if ac_fn_c_try_link "$LINENO"; then :
>    ac_cv_lib_pam_pam_start=yes
> else
>    ac_cv_lib_pam_pam_start=no
> fi
> rm -f core conftest.err conftest.$ac_objext \
>      conftest$ac_exeext conftest.$ac_ext
> LIBS=$ac_check_lib_save_LIBS
> fi
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start"
>> &5
> $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
> if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
>    have_pam=yes
> fi
>
> This is the only place in the script where have_pam can be set to yes. Can
> you decipher what is being tested?
>
> There do not appear to be any error messages in config.log.

See above.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to