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

Re: 0.7rc2 with mod_auth_kerb 5 rc6



./configure --without-krb4  --with-krb5=/usr/kth --with-apache=/usr/kth

Edit makefile to change "-pthread" to "-Wl,-pthreads" and add  
corresponding CFLAGS entry.

Make log at end.

On Jun 8, 2005, at 11:56 PM, Henry B. Hotz wrote:

> On Jun 7, 2005, at 10:01 AM, Daniel Kouril wrote:
>
>> Could you send me snip of the error messages you're getting? I use  
>> the module
>> with Heimdal without any problems. If I phased out the built-in SPNEGO
>> support it would efectively make the module the module unusable with  
>> older
>> releases of Heimdal, not speaking of MIT.
>
> I've been meaning to check, but I think both MIT 1.4.1 and Solaris 10  
> have spnego in their gssapi libraries now.  If it really is that  
> common in new implementations, then going forward I think you should  
> disable your spnego code in favor of what's in the available gssapi  
> library.  Do a configure check.
>
> I'm out of town this week, so it's hard.  I'll try to get to recreate  
> the problem next week.

OK, here it is.  Notice that the der.h file is the one from  
/usr/kth/include/, not the one in  
.../mod_auth_kerb-5.0-rc6/spnegokrb5/.

> /usr/kth/bin/apxs -c -I. -Ispnegokrb5 -I/usr/kth/include  
> -I/usr/kth/include -Wc,-pthreads    -L/usr/kth/lib -lgssapi -lkrb5  
> -lasn1 -lcom_err -L/usr/kth/lib -lcrypto -lroken -lresolv -lnsl  
> -lsocket -Wl,-pthreads  -lresolv src/mod_auth_kerb.c  
> spnegokrb5/asn1_MechType.c                  
> spnegokrb5/asn1_MechTypeList.c              
> spnegokrb5/asn1_ContextFlags.c              
> spnegokrb5/asn1_NegTokenInit.c              
> spnegokrb5/asn1_NegTokenTarg.c             spnegokrb5/der_get.c         
>                spnegokrb5/der_put.c                        
> spnegokrb5/der_free.c                      spnegokrb5/der_length.c      
>                spnegokrb5/der_copy.c                       
> spnegokrb5/timegm.c                         
> spnegokrb5/init_sec_context.c               
> spnegokrb5/accept_sec_context.c            spnegokrb5/encapsulate.c     
>                spnegokrb5/decapsulate.c                    
> spnegokrb5/external.c
> /usr/kth/build/libtool --silent --mode=compile gcc -prefer-pic -g  
> -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=9  
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthreads -I/usr/kth/include   
> -I/usr/kth/include   -I/usr/kth/include  -pthreads -I. -Ispnegokrb5  
> -I/usr/kth/include -I/usr/kth/include  -c -o src/mod_auth_kerb.lo  
> src/mod_auth_kerb.c && touch src/mod_auth_kerb.slo
> src/mod_auth_kerb.c:155: warning: initialization from incompatible  
> pointer type
> src/mod_auth_kerb.c:158: warning: initialization from incompatible  
> pointer type
> /usr/kth/build/libtool --silent --mode=compile gcc -prefer-pic -g  
> -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=9  
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthreads -I/usr/kth/include   
> -I/usr/kth/include   -I/usr/kth/include  -pthreads -I. -Ispnegokrb5  
> -I/usr/kth/include -I/usr/kth/include  -c -o  
> spnegokrb5/asn1_MechType.lo spnegokrb5/asn1_MechType.c && touch  
> spnegokrb5/asn1_MechType.slo
> In file included from spnegokrb5/asn1_MechType.c:11:
> /usr/kth/include/der.h:77: error: parse error before  
> "heim_octet_string"
> /usr/kth/include/der.h:85: error: parse error before  
> "heim_general_string"
> /usr/kth/include/der.h:87: error: parse error before  
> "heim_octet_string"
> /usr/kth/include/der.h:89: error: parse error before "heim_oid"
> /usr/kth/include/der.h:106: error: parse error before  
> "heim_general_string"
> /usr/kth/include/der.h:108: error: parse error before "heim_oid"
> /usr/kth/include/der.h:110: error: parse error before  
> "heim_octet_string"
> /usr/kth/include/der.h:114: error: parse error before  
> "heim_utf8_string"
> /usr/kth/include/der.h:120: error: parse error before '*' token
> /usr/kth/include/der.h:122: error: parse error before '*' token
> /usr/kth/include/der.h:124: error: parse error before '*' token
> /usr/kth/include/der.h:139: error: parse error before '*' token
> /usr/kth/include/der.h:141: error: parse error before '*' token
> /usr/kth/include/der.h:143: error: parse error before '*' token
> /usr/kth/include/der.h:148: error: parse error before '*' token
> /usr/kth/include/der.h:151: error: parse error before '*' token
> /usr/kth/include/der.h:152: error: parse error before '*' token
> /usr/kth/include/der.h:153: error: parse error before '*' token
> /usr/kth/include/der.h:155: error: parse error before '*' token
> /usr/kth/include/der.h:162: error: parse error before '*' token
> /usr/kth/include/der.h:163: error: parse error before '*' token
> /usr/kth/include/der.h:164: error: parse error before '*' token
> /usr/kth/include/der.h:167: error: parse error before '*' token
> /usr/kth/include/der.h:169: error: parse error before '*' token
> /usr/kth/include/der.h:170: error: parse error before '*' token
> /usr/kth/include/der.h:171: error: parse error before '*' token
> /usr/kth/include/der.h:173: error: parse error before '*' token
> /usr/kth/include/der.h:175: error: parse error before '*' token
> /usr/kth/include/der.h:176: error: parse error before '*' token
> apxs:Error: Command failed with rc=65536
> .
> make: *** [src/mod_auth_kerb.so] Error 1

------------------------------------------------------------------------ 
----
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu