Newsgroup: it.comp.os.linux.sys
Titolo: Problema durante la configurazione di squid

Ciao a tutti,
ho downloadato squid2.5-stable10
compilato su sistema slacware10
ma durante l'esecuzione del make mi riporta questo errore:
pam_auth.c:74:31: security/pam_appl.h: No such file or directory
pam_auth.c:100: warning: `struct pam_response' declared inside
parameter list
pam_auth.c:100: warning: its scope is only this definition or
declaration, which is probably not what you want
pam_auth.c:100: warning: `struct pam_message' declared inside parameter
list
pam_auth.c: In function `password_conversation':
pam_auth.c:102: error: dereferencing pointer to incomplete type
pam_auth.c:102: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
pam_auth.c:102: error: (Each undeclared identifier is reported only
once
pam_auth.c:102: error: for each function it appears in.)
pam_auth.c:103: error: dereferencing pointer to incomplete type
pam_auth.c:103: error: dereferencing pointer to incomplete type
pam_auth.c:104: error: `PAM_CONV_ERR' undeclared (first use in this
function)
pam_auth.c:116: error: invalid application of `sizeof' to an incomplete
type
pam_auth.c:121: error: invalid use of undefined type `struct
pam_response'
pam_auth.c:121: error: dereferencing pointer to incomplete type
pam_auth.c:122: error: invalid use of undefined type `struct
pam_response'
pam_auth.c:122: error: dereferencing pointer to incomplete type
pam_auth.c:124: error: invalid use of undefined type `struct
pam_response'
pam_auth.c:124: error: dereferencing pointer to incomplete type
pam_auth.c:124: error: `PAM_SUCCESS' undeclared (first use in this
function)
pam_auth.c: At top level:
pam_auth.c:127: error: variable `conv' has initializer but incomplete
type
pam_auth.c:129: warning: excess elements in struct initializer
pam_auth.c:129: warning: (near initialization for `conv')
pam_auth.c:131: warning: excess elements in struct initializer
pam_auth.c:131: warning: (near initialization for `conv')
pam_auth.c: In function `main':
pam_auth.c:148: error: `pam_handle_t' undeclared (first use in this
function)
pam_auth.c:148: error: `pamh' undeclared (first use in this function)
pam_auth.c:149: error: `PAM_SUCCESS' undeclared (first use in this
function)
pam_auth.c:207: error: invalid use of undefined type `struct pam_conv'
pam_auth.c:211: warning: implicit declaration of function `pam_start'
pam_auth.c:219: warning: implicit declaration of function `pam_end'
pam_auth.c:237: warning: implicit declaration of function
`pam_set_item'
pam_auth.c:237: error: `PAM_USER' undeclared (first use in this
function)
pam_auth.c:239: error: `PAM_CONV' undeclared (first use in this
function)
pam_auth.c:242: warning: implicit declaration of function
`pam_authenticate'
pam_auth.c:244: warning: implicit declaration of function
`pam_acct_mgmt'
pam_auth.c: At top level:
pam_auth.c:127: error: storage size of `conv' isn't known
make[3]: *** [pam_auth.o] Error 1
make[3]: Leaving directory
`/tmp/squid-2.5.STABLE10-20050823/helpers/basic_auth/PAM'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/squid-2.5.STABLE10-20050823/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/squid-2.5.STABLE10-20050823/helpers'
make: *** [all-recursive] Error 1
i parametri che ho usato per il configure sono:
./configure --prefix=/usr/local/squid/ \
--enable-auth="basic ntlm digest" \
--enable-basic-auth-helpers="PAM winbind" \
--enable-digest-auth-helpers=password \
--enable-ntlm-auth-helpers="SMB winbind" \
--enable-ssl \
--enable-htcp \
--disable-http-violations \
--disable-ident-lookups \
--enable-useragent-log \
--enable-arp-acl \
--enable-err-languages="English Italian" \
--enable-default-err-language="Italian"
Il mio scopo finale è quello di mettere su un proxy per la mia lan che
sono circa un 100naio di utenze su client windows, che si devono
autenticare al proxy per poter navigare. Le utenze devono essere quelle
che sono sulla stessa macchina dov'è installato il proxy.
Cosa mi consigliate?
Se non sbaglio dovrei usare PAM, ma l'errore è proprio su quel modulo!
:-(
Grassie

 Cosa mi consigliate?
installare pam-devel ?
-- 
Cercare di definire se stessi e' come cercare di mordersi i propri denti.
                -- Alan Watts

 installare pam-devel ?
Slackware non supporta pam.
+Alan Hicks+ su alt.os.linux.slackware un paio di giorni fa ha
pubblicato un howto per sistemare squid e ammennicoli su slackware...ti
fara' sicuramente comodo.
Gufo
-- 
  ,___,		Never trust an operating system.
  (9v9)
  (_^((\		    .: May the owl be with you :.
-^-"-"-\\-^--	 	 -- Remove -me- to reply in email --