Re: NNTPC: compile nntpcache 2.4.0b5 error on Sol 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are my findings..

ran  configure with :
./configure --without-authinfo-ldap --without-authinfo-radius

in libproff/Makefile
remove all intances of lists_test

In src/Makefile, tried with and without -lpam support..

I continually get stuck with the error below.. despite the --without-pam
flags, src/Makefile still tries to compile with authinfo_pam.c
I have also noticed that irrespective of the flags used to run configure,
the contents of  nntpcached_SOURCES in src/Makefile remain the same. I
believe these pam related enteries are causing the problems. I have even
tried to compile with all authinfo turned off, same problem..

If anyone has any idea what I'm missing please pilot me.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cf        -I../common     -I../libprof
f   -I../libconfused        -I../mmap       -I../libmmalloc         -I../lib
dbz    -g -O2 -Wall -pipe -c authinfo_pam.c
authinfo_pam.c:28: `pam_got_pass' undeclared here (not in a function)
authinfo_pam.c:28: initializer element for `pam_authenticator.authinfo_pass'
is not constant
authinfo_pam.c: In function `pam_got_pass':
authinfo_pam.c:88: warning: initialization from incompatible pointer type
make: *** [authinfo_pam.o] Error 1


Megatons of thanks,
Dotun


----- Original Message -----
From: "Joel Billiotte" <Joel.Billiotte@cgi.ensmp.fr>
To: <nntpcache-users@suburbia.net>
Cc: <nntpcache-users@suburbia.net>
Sent: Thursday, March 08, 2001 12:53 PM
Subject: NNTPC: compile nntpcache 2.4.0b5 error on Sol 2.6


>
> Date sent:      Thu, 08 Mar 2001 10:31:01 -0500
> From:           dotun@tgnt.net
> Copies to:      tschweikle@FIDUCIA.de
> To:             nntpcache-users@suburbia.net
> Forwarded by:   nntpcache-users@suburbia.net
> Subject:        NNTPC: compile nntpcache 2.4.0b5  error on Sol 2.6
> Date forwarded: Fri,  9 Mar 2001 02:35:47 +1100 (EST)
>
> > Thomas Wrote in his
> >
> >     >authinfo_pam.c:26: `pam_got_pass' undeclared here (not in a
function)=
> >     >authinfo_pam.c:26: initializer element is not constant
> >     >authinfo_pam.c:26: (near initialization for
`pam_authenticator.authin=
> >     fo_pass')
> >     >make[2]: *** [authinfo_pam.o] Error 1
> >     >make[2]: Leaving directory
`/home/xch4008/cvs/nntpcache-2.4.0b5/src'
> >     >make[1]: *** [all-recursive] Error 1
> >    > make[1]: Leaving directory `/home/xch4008/cvs/nntpcache-2.4.0b5'
> >     .make: *** [all-recursive-am] Error 2
> >
> >
> You can try
> make clean
> ./configure --without-authinfo-ldap
> make
> Best regards
>
>
> > I'm having the same problems and hope someone can point me in the right
direction.. I have read  tons of messages all the way from Jan 2000 from the
archive, I saw  many messages sent with the same problem, but none with a
solution.
> > I have tried to comment out authinfo_pam.c from the Makefile file , no
joy..
> > The file pam_misc.h also does not exit on my server.
> >
> > All hints and tips will be warmly appreciated.
> >
> > Dotun
> >
>
>
> _____________________________________________________________
> Joel Billiotte                   Joel.Billiotte@cgi.ensmp.fr
> Centre de Geologie de l'Ingenieur
> Universite de Marne-la-Vallee - Batiment IFI
> Cite Descartes - 5,Bd Descartes - 77454 Marne-la-Vallee cedex2
> tel : +33 1 49 32 90 89               fax: +33 1 49 32 91 28
> _____________________________________________________________
> Ce message est emis a titre personnel et n'engage pas l'Ecole
> des Mines de Paris// This message reflects my own opinion and
> does not engage the Ecole des Mines de Paris.
> _____________________________________________________________
>
>



[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux