Alan, Steve, thank you both for such quick responses!
Alan, I'm going to give your suggestion a try and see if it works for
me. In the meantime, I thought I'd post my config.log for Steve and
anyone else interested to see if they can find out anything useful from
it. Here it is:
--------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:537: checking for gcc
configure:650: checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs ) works
configure:666: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
conftest.c -lnsl -lresolv -lpthread 1>&5
configure:663: warning: return type defaults to `int'
configure:663: warning: function declaration isn't a prototype
configure:692: checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs ) is a cross-compiler
configure:697: checking whether we are using GNU C
configure:725: checking whether gcc accepts -g
configure:757: checking how to run the C preprocessor
configure:878: checking for krb5.h
configure:892: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
conftest.c 1>&5
configure:886:18: krb5.h: No such file or directory
configure:887: warning: function declaration isn't a prototype
configure: In function `main':
configure:888: warning: unused variable `a'
configure: failed program was:
#line 885 "configure"
#include "confdefs.h"
#include <krb5.h>
int main() {
int a = 1;
; return 0; }
configure:943: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-I/usr/kerberos/include conftest.c 1>&5
In file included from /usr/kerberos/include/krb5.h:138,
from configure:937:
/usr/kerberos/include/profile.h:188: warning: function declaration isn't a prototype
In file included from configure:937:
/usr/kerberos/include/krb5.h:2967: warning: function declaration isn't a prototype
/usr/kerberos/include/krb5.h:3019: warning: function declaration isn't a prototype
/usr/kerberos/include/krb5.h:3096: warning: function declaration isn't a prototype
/usr/kerberos/include/krb5.h:3132: warning: function declaration isn't a prototype
configure:938: warning: function declaration isn't a prototype
configure: In function `main':
configure:939: warning: unused variable `a'
configure:974: checking for krb5_encrypt_data in -lk5crypto
configure:993: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-I/usr/kerberos/include conftest.c -lk5crypto -lnsl -lresolv -lpthread 1>&5
configure:986: warning: function declaration isn't a prototype
configure:988: warning: function declaration isn't a prototype
/usr/bin/ld: cannot find -lk5crypto
collect2: ld returned 1 exit status
configure: failed program was:
#line 982 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char krb5_encrypt_data();
int main() {
krb5_encrypt_data()
; return 0; }
configure:1015: checking for DH_new in -lcrypto
configure:1061: checking for set_com_err_hook in -lcom_err
configure:1080: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-I/usr/kerberos/include conftest.c -lcom_err -lnsl -lresolv -lpthread 1>&5
configure:1073: warning: function declaration isn't a prototype
configure:1075: warning: function declaration isn't a prototype
/usr/bin/ld: cannot find -lcom_err
collect2: ld returned 1 exit status
configure: failed program was:
#line 1069 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char set_com_err_hook();
int main() {
set_com_err_hook()
; return 0; }
configure:1104: checking for krb5_init_context in -lkrb5
configure:1124: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-I/usr/kerberos/include conftest.c -lkrb5
-lnsl -lresolv -lpthread 1>&5
configure:1117: warning: function declaration isn't a prototype
configure:1119: warning: function declaration isn't a prototype
/usr/bin/ld: cannot find -lkrb5
collect2: ld returned 1 exit status
configure: failed program was:
#line 1113 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char krb5_init_context();
int main() {
krb5_init_context()
; return 0; }
-------
Thank you all again for your help!
Brian
On Tue, 29 Oct 2002, Steve Langasek wrote:
> Yes, please post the config.log so we can see what's failing when it
> tries to find these libraries.
>
> Steve Langasek
> postmodern programmer
>
-------------
Brian Johnson
ECI Data
[EMAIL PROTECTED]
919-668-6492
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html