Re: [NNTPCACHE] some problems compiling nntpcache

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

 



Mauro Vidal wrote:
> 
> hello,
> 
> Can you help me on this?
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cf -I../common -I../libproff
> -I../libconfused -I../mmap -I../libmmalloc -I../libdbz    -g -O2 -Wall
> -pipe -c authinfo_pam.c
> In file included from nglobal.h:18,
>                  from authinfo_pam.c:7:
> log.h:134:8: warning: extra tokens at end of #endif directive
> 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.authinfo_pass')
> gmake[2]: *** [authinfo_pam.o] Error 1
> gmake[2]: Leaving directory `/opt/nntpcache-2.4.0b5/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/opt/nntpcache-2.4.0b5'
> gmake: *** [all-recursive-am] Error 2
> 
> Mauro Vidal
> Senior Systems Engineer
> mvidal@vianetworks.pt
> Tel.:  +351 21 319 9200
> Fax.: +351 21 319 9201
> 
> VIA NET.WORKS Portugal
> http://www.vianetworks.pt
> local touch global reach


Hi Mauro,

I run into same problem here as configure seems to autodetect PAM
support on our linux dual processor server with 2.4.17 kernel (if PAM
support is not detected the problem does not show up).

If you do not need PAM support for authentication you can simply switch
off this feature at all. This solved the problem for us.

Edit config.h and find a line containing "PAM" (PAM support) and
uncomment the define line:

> /* define this if you want to include PAM AUTHINFO support. */
> /* #define AUTHINFO_PAM 1 */

While compiling I also noticed problems with Radius and LDAP support in
our case. If you get these compiler errors simply do not set these
options with ./configure --with-authinfo-{radius, LDAP}.

I hope that there will be a new version with radius, LDAP, PAM support
working ok in future. I would prefer to use our working RADIUS database
server for authenticated server access.

HTH

[cc technik@bnv-gz.de]

Best regards,
Thaddäus Slany, BNV-GZ Technik
Bürgernetz Günzburg
http://www.bnv-gz.de

_______________________________________________
NNTPCache-users mailing list
NNTPCache-users@nntpcache.org
http://www.nntpcache.org/cgi-bin/mailman/listinfo/nntpcache-users

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

Powered by Linux