+ Responder ao Tópico



  1. #1
    Visitante

    Padrão mod_auth

    /tmp# rpm -ivh mod_auth_pam-2.0.1.1.1-28387cl.i386.rpm
    error: failed dependencies:
    perl-base is needed by mod_auth_pam-2.0.1.1.1-28387cl


    e tem o perl instalado!

    com o source da erro de axps.

  2. #2

    Padrão mod_auth

    cara...

    tente instalar o libperl...

    valew



  3. #3
    Visitante

    Padrão mod_auth

    já tem

  4. #4

    Padrão mod_auth

    cara..

    vc jah tentou com "--nodeps"??

    isso faz com q ele nao verifique as dependêcias...

    pode funcionar, mas se estas forem essenciais vc sabe no q vai dar..

    valew



  5. #5

    Padrão mod_auth

    # rpm -qa | grep perl

    ve o que da.

  6. #6
    Visitante

    Padrão mod_auth

    perl-5.8.5-8tr,

    eu tentei por fonte tb...


    (wget http://pam.sourceforge.net/mod_auth....0-1.1.1.tar.gz)

    [email protected] ~# cd /tmp/mod_auth_pam#


    [email protected] /tmp/mod_auth_pam# make
    apxs -c mod_auth_pam.c -lpam
    /home/httpd/build/libtool --silent --mode=compile i586-trustix-linux-gcc -prefer -pic -O3 -fomit-frame-pointer -pipe -s -mpentium -mcpu=pentium -march=pentium -f expensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -D_LARGEFILE64_S OURCE=1 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE= 500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache - I/usr/include/apache -I/usr/include/apache -c -o mod_auth_pam.lo mod_auth_pa m.c && touch mod_auth_pam.slo
    mod_auth_pam.c:145:31: security/pam_appl.h: No such file or directory
    mod_auth_pam.c:255: warning: `struct pam_response' declared inside parameter list
    mod_auth_pam.c:255: warning: its scope is only this definition or declaration, which is probably not what you want
    mod_auth_pam.c:255: warning: `struct pam_message' declared inside parameter list
    mod_auth_pam.c: In function `auth_pam_talker':
    mod_auth_pam.c:269: error: `PAM_CONV_ERR' undeclared (first use in this function)
    mod_auth_pam.c:269: error: (Each undeclared identifier is reported only once
    mod_auth_pam.c:269: error: for each function it appears in.)
    mod_auth_pam.c:272: error: invalid application of `sizeof' to an incomplete type
    mod_auth_pam.c:279: error: invalid use of undefined type `struct pam_response'
    mod_auth_pam.c:279: error: dereferencing pointer to incomplete type
    mod_auth_pam.c:280: error: invalid use of undefined type `struct pam_response'
    mod_auth_pam.c:280: error: dereferencing pointer to incomplete type
    mod_auth_pam.c:283: error: dereferencing pointer to incomplete type
    mod_auth_pam.c:284: error: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
    mod_auth_pam.c:286: error: invalid use of undefined type `struct pam_response'
    mod_auth_pam.c:286: error: dereferencing pointer to incomplete type
    mod_auth_pam.c:288: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
    mod_auth_pam.c:289: error: invalid use of undefined type `struct pam_response'
    mod_auth_pam.c:289: error: dereferencing pointer to incomplete type
    mod_auth_pam.c:299: error: `PAM_SUCCESS' undeclared (first use in this function)
    mod_auth_pam.c: In function `pam_auth_basic_user':
    mod_auth_pam.c:325: error: variable `conv_info' has initializer but incomplete type
    mod_auth_pam.c:325: warning: excess elements in struct initializer
    mod_auth_pam.c:325: warning: (near initialization for `conv_info')
    mod_auth_pam.c:325: warning: excess elements in struct initializer
    mod_auth_pam.c:325: warning: (near initialization for `conv_info')
    mod_auth_pam.c:325: error: storage size of `conv_info' isn't known
    mod_auth_pam.c:326: error: `pam_handle_t' undeclared (first use in this function)
    mod_auth_pam.c:326: error: `pamh' undeclared (first use in this function)
    mod_auth_pam.c:347: error: `PAM_SUCCESS' undeclared (first use in this function)
    mod_auth_pam.c:368: error: `PAM_DISALLOW_NULL_AUTHTOK' undeclared (first use in this function)
    mod_auth_pam.c:373: error: `PAM_USER_UNKNOWN' undeclared (first use in this function)
    apxs:Error: Command failed with rc=65536
    .
    make: *** [mod_auth_pam.la] Error 1



  7. #7
    Visitante

    Padrão mod_auth

    acho que esse modulo nao funciona no apache2, sinceramente olhei no google milhares de pessoas com esse problema, e nenhuma resposta

  8. #8
    Visitante

    Padrão mod_auth

    Alguém já enfrentou este problema ? :toim:



  9. #9
    Visitante

    Padrão mod_auth

    ninguém utilizou esse modo ??!?

  10. #10

    Padrão mod_auth

    Estou utilizando sem problemas Guest.


    Consegui fazer rodar no Slackware, claro tive que isntalar o Pam.

    e estou rodando tambem nos Fedoras sem problemas.

    Qual distro você está utilizando???



  11. #11
    Visitante

    Padrão mod_auth

    olá major, obrigado por sua resposta.
    Estou usando tsl, que é um rh da vida.

  12. #12
    Visitante

    Padrão mod_auth

    para complementar, tenho todos os pacotes de desenvolvimento, você está utilizando nessas distros, com o apache 2 ?



  13. #13

    Padrão mod_auth

    Guest , você consegue localizar essa biblioteca que ele está reclamando na compilação?

    pam_appl.h


    use o locate ou o find

    find / -name pam_appl.h

    ou o locate
    updatedb
    locate pam_appl.h

    fico no aguardo.
    caso não ache
    de uma procurada nos contestos dos rpms em rpm.pbone.net

  14. #14
    Visitante

    Padrão mod_auth

    eu verifiquei, tem essas bibliotecas, é algo com meu apache