/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
openafs på Mandrake 9
Fra : Thomas Arildsen


Dato : 24-02-03 22:23

Jeg har forgæves forsøgt at installere openafs 1.2.8 på min Mandrake
9.0. Jeg installerer fra src-versionen. 'configure' returnerer ikke
nogen fejlbeskeder. Når jeg så kører en 'make', går det OK langt hen ad
vejen, men på et tidspunkt stopper den efter et hav af warnings og et
par errors. Det meste ser ud til at have noget med pam at gøre. Har
andre erfaringer med / en løsning på problemet?
Jeg kunne godt poste et dump, men jeg tror de fleste ville panikke over
at se så stort et indlæg i en nyhedsgruppe, så sig til, hvis jeg skal
poste det.

Mvh. Thomas Arildsen


 
 
Ivar Madsen (24-02-2003)
Kommentar
Fra : Ivar Madsen


Dato : 24-02-03 22:50

Thomas Arildsen skrev Mandag den 24. februar 2003 22:23 i dk.edb.system.unix:

> Jeg har forgæves forsøgt at installere openafs 1.2.8 på min Mandrake
> 9.0. Jeg installerer fra src-versionen. 'configure' returnerer ikke
> nogen fejlbeskeder. Når jeg så kører en 'make', går det OK langt hen ad
> vejen, men på et tidspunkt stopper den efter et hav af warnings og et
> par errors. Det meste ser ud til at have noget med pam at gøre. Har
> andre erfaringer med / en løsning på problemet?
> Jeg kunne godt poste et dump, men jeg tror de fleste ville panikke over
> at se så stort et indlæg i en nyhedsgruppe, så sig til, hvis jeg skal
> poste det.

Prøv at klip lidt i det, og post første error, det er ikke utænkeligt at
resten af error'ene er følge error.

--
Med venlig hilsen

Ivar Madsen

Thomas Arildsen (24-02-2003)
Kommentar
Fra : Thomas Arildsen


Dato : 24-02-03 22:59

Ivar Madsen wrote:
>
> Prøv at klip lidt i det, og post første error, det er ikke utænkeligt at
> resten af error'ene er følge error.
>

Here goes:

------ Herfra begynder det vist at gå galt: --------
Makefile:199: warning: overriding commands for target
`/usr/local/bin/udebug'
Makefile:196: warning: ignoring old commands for target
`/usr/local/bin/udebug'
Makefile:264: warning: overriding commands for target `/usr/local/bin/pts'
Makefile:261: warning: ignoring old commands for target `/usr/local/bin/pts'
Makefile:295: warning: overriding commands for target `/usr/local/sbin/kas'
Makefile:289: warning: ignoring old commands for target
`/usr/local/sbin/kas'
Makefile:298: warning: overriding commands for target
`/usr/local/sbin/kpwvalid'Makefile:292: warning: ignoring old commands
for target `/usr/local/sbin/kpwvalid'
Makefile:307: warning: overriding commands for target `/usr/local/bin/klog'
Makefile:301: warning: ignoring old commands for target
`/usr/local/bin/klog'
Makefile:310: warning: overriding commands for target
`/usr/local/bin/klog.krb'
Makefile:304: warning: ignoring old commands for target
`/usr/local/bin/klog.krb'
+ cd src
+ cd pam
+ make all
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
test_pam.c:16:31: security/pam_appl.h: No such file or directory
test_pam.c:23: warning: `struct pam_response' declared inside parameter list
test_pam.c:23: warning: its scope is only this definition or
declaration, which is probably not what you want
test_pam.c:23: warning: `struct pam_message' declared inside parameter list
test_pam.c:26: variable `pam_conv' has initializer but incomplete type
test_pam.c:26: warning: excess elements in struct initializer
test_pam.c:26: warning: (near initialization for `pam_conv')
test_pam.c:26: warning: excess elements in struct initializer
test_pam.c:26: warning: (near initialization for `pam_conv')
test_pam.c:29: parse error before '*' token
test_pam.c:29: warning: data definition has no type or storage class
test_pam.c: In function `main':
test_pam.c:65: `PAM_SUCCESS' undeclared (first use in this function)
test_pam.c:65: (Each undeclared identifier is reported only once
test_pam.c:65: for each function it appears in.)
test_pam.c:74: `PAM_ABORT' undeclared (first use in this function)
test_pam.c:87: `PAM_ESTABLISH_CRED' undeclared (first use in this function)
test_pam.c:93: `PAM_SILENT' undeclared (first use in this function)
test_pam.c:100: warning: passing arg 1 of `putenv' discards qualifiers
from pointer target type
test_pam.c:101: warning: passing arg 1 of `putenv' discards qualifiers
from pointer target type
test_pam.c:42: warning: return type of `main' is not `int'

osv. osv. osv.


Mvh. Thomas Arildsen


Peter Dalgaard BSA (24-02-2003)
Kommentar
Fra : Peter Dalgaard BSA


Dato : 24-02-03 23:05

Thomas Arildsen <tari00@REMOVETHIS.kom.auc.dk> writes:

> Ivar Madsen wrote:
> > Prøv at klip lidt i det, og post første error, det er ikke
> > utænkeligt at resten af error'ene er følge error.
> >
>
> Here goes:
>
> ------ Herfra begynder det vist at gå galt: --------
> Makefile:199: warning: overriding commands for target
> `/usr/local/bin/udebug'
> Makefile:196: warning: ignoring old commands for target
> `/usr/local/bin/udebug'

Disse er bare warnings...

> + cd pam
> + make all
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning: as it has already been specified as a non-system directory
> test_pam.c:16:31: security/pam_appl.h: No such file or directory

.... men her gik det galt: Du mangler en include-fil. Nu er jeg ikke på
Mandrake, men på RedHat er den normale situation flg.

$ locate pam_appl.h
/usr/share/doc/pam-0.75/html/pam_appl.html
/usr/include/security/pam_appl.h
$ rpm -qf /usr/include/security/pam_appl.h
pam-devel-0.75-40

så mon ikke du skulle prøve at installere pam-devel pakken?

--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907

Thomas Arildsen (25-02-2003)
Kommentar
Fra : Thomas Arildsen


Dato : 25-02-03 08:23

Peter Dalgaard BSA wrote:

>klip...
>
>så mon ikke du skulle prøve at installere pam-devel pakken
>
Det prøver jeg lige.

Mvh. Thomas Arildsen


Thomas Arildsen (27-02-2003)
Kommentar
Fra : Thomas Arildsen


Dato : 27-02-03 13:58

Peter Dalgaard BSA wrote:

>så mon ikke du skulle prøve at installere pam-devel pakken?
>
>
>
Det var vist lige det, der skulle til. Mange tak for hjælpen.

Mvh. Thomas Arildsen


Thomas Arildsen (24-02-2003)
Kommentar
Fra : Thomas Arildsen


Dato : 24-02-03 23:01

Ivar Madsen wrote:
>
> Prøv at klip lidt i det, og post første error, det er ikke utænkeligt at
> resten af error'ene er følge error.
>

Nå, det var vist temmelig meget, jeg postede der. Så kan I egentlig også
lige så godt få resten:

...
test_pam.c: At top level:
test_pam.c:109: warning: `struct pam_response' declared inside parameter
list
test_pam.c:109: warning: `struct pam_message' declared inside parameter list
test_pam.c:110: conflicting types for `my_conv'
test_pam.c:23: previous declaration of `my_conv'
test_pam.c: In function `my_conv':
test_pam.c:117: sizeof applied to an incomplete type
test_pam.c:118: `PAM_BUF_ERR' undeclared (first use in this function)
test_pam.c:125: dereferencing pointer to incomplete type
test_pam.c:126: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this
function)
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:131: dereferencing pointer to incomplete type
test_pam.c:134: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
test_pam.c:135: dereferencing pointer to incomplete type
test_pam.c:137: dereferencing pointer to incomplete type
test_pam.c:137: `PAM_MAX_RESP_SIZE' undeclared (first use in this function)
test_pam.c:138: dereferencing pointer to incomplete type
test_pam.c:139: dereferencing pointer to incomplete type
test_pam.c:140: dereferencing pointer to incomplete type
test_pam.c:140: dereferencing pointer to incomplete type
test_pam.c:141: dereferencing pointer to incomplete type
test_pam.c:144: `PAM_ERROR_MSG' undeclared (first use in this function)
test_pam.c:145: dereferencing pointer to incomplete type
test_pam.c:147: `PAM_TEXT_INFO' undeclared (first use in this function)
test_pam.c:148: dereferencing pointer to incomplete type
test_pam.c:153: increment of pointer to unknown structure
test_pam.c:153: arithmetic on pointer to an incomplete type
test_pam.c:154: increment of pointer to unknown structure
test_pam.c:154: arithmetic on pointer to an incomplete type
test_pam.c:156: `PAM_SUCCESS' undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
test_pam.c:26: storage size of `pam_conv' isn't known
make[3]: *** [test_pam.o] Error 1
make[2]: *** [login] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 2


Mvh. Thomas Arildsen


Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408943
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste