RE: [SQU] squid and ntlm compile

From: Robert Collins <robert.collins@dont-contact.us>
Date: Wed, 22 Nov 2000 15:43:49 +1100

It looks to me like you didn't run
autoconf and
autoheader in $SQUID_HOME after you patched it. (This was in an earlier
post). If you look back I also asked for the exact error when you
patched - to which I got a description not the output.

I'm really keen to help and logs like the configure & make below really
help me help you.

Rob

> -----Original Message-----
> From: Rick Francis [mailto:rfrancis@mindspring.com]
> Sent: Wednesday, 22 November 2000 3:42 PM
> To: Robert Collins
> Cc: Squid-Users (E-mail)
> Subject: RE: [SQU] squid and ntlm compile
>
>
> that was a question of an earlier post...of which i no answers were
> provided.
>
> the question was that after i ran patch squid ntlm.patch i got an
> ntlm_auth_modules subdirectory in $SQUID_HOME.
> great, but do i know if squid's been patched?
> apparently from this configure, it hasn't since i don't see it
> 'creating...', am i right?
>
> i'll have to look later at acccess_log.c, thanks. rf.
>
> -----Original Message-----
> From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> Sent: Tuesday, November 21, 2000 10:25 PM
> To: Rick Francis
> Cc: Squid-Users (E-mail)
> Subject: RE: [SQU] squid and ntlm compile
>
>
> DO you have any problems applying the patch on access_log.c?
>
> The name of the structures for storing IDENT vs http
> authentication user
> details changes recently. That may be your problem.
>
> Rob
>
> > -----Original Message-----
> > From: Rick Francis [mailto:rfrancis@mindspring.com]
> > Sent: Wednesday, 22 November 2000 2:57 PM
> > To: squid users
> > Subject: [SQU] squid and ntlm compile
> >
> >
> > could you look at this and tell me why make failed?
> >
> > #
> > ./configure --prefix=/tools/root/squidsave/squid
> > --enable-dlmalloc=/tools/ro
> > ot/squidsave/squid/lib \
> > > --enable-useragent-log --enable-kill-parent-hack
> > --enable-time-hack --enab
> > le-poll \
> > > --enable-auth_modules=PAM --enable-ntlm_auth_modules=NTLMSSP
> > loading cache ./config.cache
> > checking host system type... sparc-sun-solaris2.8
> > checking for gcc... (cached) cc
> > checking whether the C compiler (cc -g) works... yes
> > checking whether the C compiler (cc -g) is a cross-compiler... no
> > checking whether we are using GNU C... (cached) no
> > checking whether cc accepts -g... (cached) yes
> > dlmalloc enabled with /tools/root/squidsave/squid/lib
> > User-Agent logging enabled
> > Kill parent on shutdown
> > Update internal timestamp only once per second
> > Forcing poll() to be enabled
> > checking how to run the C preprocessor... (cached) cc -E
> > checking for a BSD compatible install... cfgaux/install-sh -c
> > checking for ranlib... (cached) ranlib
> > checking whether ln -s works... (cached) yes
> > checking for sh... (cached) /usr/bin/sh
> > checking for false... (cached) /usr/bin/false
> > checking for true... (cached) /usr/bin/true
> > checking for rm... (cached) /usr/bin/rm
> > checking for mv... (cached) /usr/bin/mv
> > checking for mkdir... (cached) /usr/bin/mkdir
> > checking for ln... (cached) /usr/ucb/ln
> > checking for perl... (cached) /usr/bin/perl
> > checking for makedepend... (cached) /usr/openwin/bin/makedepend
> > checking for ar... (cached) /usr/ccs/bin/ar
> > checking for dirent.h that defines DIR... (cached) yes
> > checking for opendir in -ldir... (cached) no
> > checking for ANSI C header files... (cached) yes
> > checking for arpa/inet.h... (cached) yes
> > checking for arpa/nameser.h... (cached) yes
> > checking for assert.h... (cached) yes
> > checking for bstring.h... (cached) no
> > checking for config.h... (cached) no
> > checking for crypt.h... (cached) yes
> > checking for ctype.h... (cached) yes
> > checking for errno.h... (cached) yes
> > checking for fcntl.h... (cached) yes
> > checking for getopt.h... (cached) no
> > checking for gnumalloc.h... (cached) no
> > checking for grp.h... (cached) yes
> > checking for ip_compat.h... (cached) no
> > checking for ip_fil_compat.h... (cached) no
> > checking for ip_fil.h... (cached) no
> > checking for ip_nat.h... (cached) no
> > checking for libc.h... (cached) no
> > checking for limits.h... (cached) yes
> > checking for malloc.h... (cached) yes
> > checking for math.h... (cached) yes
> > checking for memory.h... (cached) yes
> > checking for mount.h... (cached) no
> > checking for net/if.h... (cached) yes
> > checking for netdb.h... (cached) yes
> > checking for netinet/if_ether.h... (cached) yes
> > checking for netinet/in.h... (cached) yes
> > checking for netinet/tcp.h... (cached) yes
> > checking for netinet/ip_compat.h... (cached) no
> > checking for netinet/ip_fil_compat.h... (cached) no
> > checking for netinet/ip_fil.h... (cached) no
> > checking for netinet/ip_nat.h... (cached) no
> > checking for poll.h... (cached) yes
> > checking for pwd.h... (cached) yes
> > checking for regex.h... (cached) yes
> > checking for resolv.h... (cached) yes
> > checking for sched.h... (cached) yes
> > checking for signal.h... (cached) yes
> > checking for stdarg.h... (cached) yes
> > checking for stddef.h... (cached) yes
> > checking for stdio.h... (cached) yes
> > checking for stdlib.h... (cached) yes
> > checking for string.h... (cached) yes
> > checking for strings.h... (cached) yes
> > checking for sys/file.h... (cached) yes
> > checking for sys/ioctl.h... (cached) yes
> > checking for sys/param.h... (cached) yes
> > checking for sys/resource.h... (cached) yes
> > checking for sys/select.h... (cached) yes
> > checking for sys/socket.h... (cached) yes
> > checking for sys/stat.h... (cached) yes
> > checking for sys/statvfs.h... (cached) yes
> > checking for sys/syscall.h... (cached) yes
> > checking for sys/time.h... (cached) yes
> > checking for sys/types.h... (cached) yes
> > checking for sys/un.h... (cached) yes
> > checking for sys/vfs.h... (cached) yes
> > checking for sys/wait.h... (cached) yes
> > checking for syslog.h... (cached) yes
> > checking for time.h... (cached) yes
> > checking for unistd.h... (cached) yes
> > checking for varargs.h... (cached) yes
> > checking for working const... (cached) yes
> > checking whether byte ordering is bigendian... (cached) yes
> > checking if ANSI prototypes work... (cached) yes
> > checking for tm->tm_gmtoff... (cached) no
> > checking for struct mallinfo... (cached) yes
> > checking for extended mallinfo... (cached) no
> > checking for struct rusage... (cached) yes
> > checking for ip->ip_hl... (cached) yes
> > checking size of int... (cached) 4
> > checking size of long... (cached) 4
> > checking size of void *... (cached) 4
> > checking for working alloca.h... (cached) yes
> > checking for alloca... (cached) yes
> > checking for pid_t... (cached) yes
> > checking for size_t... (cached) yes
> > checking for ssize_t... (cached) yes
> > checking for off_t... (cached) yes
> > checking for mode_t... (cached) yes
> > checking for fd_mask... (cached) yes
> > checking for socklen_t... (cached) yes
> > checking for main in -lnsl... (cached) yes
> > checking for main in -lsocket... (cached) yes
> > skipping libmalloc check (--enable-dlmalloc specified)
> > checking for main in -lbsd... (cached) no
> > checking for main in -lregex... (cached) no
> > checking for gethostbyname in -lbind... (cached) no
> > checking for inet_aton in -lresolv... (cached) yes
> > checking for inet_aton in -l44bsd... (cached) no
> > checking for main in -lresolv... (cached) yes
> > checking for main in -lm... (cached) yes
> > checking for crypt in -lcrypt... (cached) yes
> > checking for main in -lpthread... (cached) yes
> > checking for bcopy... (cached) yes
> > checking for crypt... (cached) yes
> > checking for fchmod... (cached) yes
> > checking for getdtablesize... (cached) yes
> > checking for getpagesize... (cached) yes
> > checking for getrusage... (cached) yes
> > checking for getspnam... (cached) yes
> > checking for lrand48... (cached) yes
> > checking for mallinfo... (cached) yes
> > checking for mallocblksize... (cached) no
> > checking for mallopt... (cached) yes
> > checking for memcpy... (cached) yes
> > checking for memmove... (cached) yes
> > checking for memset... (cached) yes
> > checking for mktime... (cached) yes
> > checking for mstats... (cached) no
> > checking for poll... (cached) yes
> > checking for pthread_sigmask... (cached) yes
> > checking for putenv... (cached) yes
> > checking for random... (cached) yes
> > checking for regcomp... (cached) yes
> > checking for regexec... (cached) yes
> > checking for regfree... (cached) yes
> > checking for res_init... (cached) yes
> > checking for rint... (cached) yes
> > checking for seteuid... (cached) yes
> > checking for setgroups... (cached) yes
> > checking for setpgrp... (cached) yes
> > checking for setrlimit... (cached) yes
> > checking for getrlimit... (cached) yes
> > checking for setsid... (cached) yes
> > checking for sigaction... (cached) yes
> > checking for snprintf... (cached) yes
> > checking for srand48... (cached) yes
> > checking for srandom... (cached) yes
> > checking for sysconf... (cached) yes
> > checking for syslog... (cached) yes
> > checking for timegm... (cached) no
> > checking for vsnprintf... (cached) yes
> > checking if setresuid is implemented... (cached) no
> > checking if GNUregex needs to be compiled... no
> > checking for drand48... (cached) yes
> > checking for tempnam... (cached) yes
> > checking for strerror... (cached) yes
> > checking Default FD_SETSIZE value... 1024
> > checking Maximum number of filedescriptors we can open... 1024
> > checking Default UDP send buffer size... 8192
> > checking Default UDP receive buffer size... 8192
> > checking Default TCP send buffer size... 65535
> > checking Default TCP receive buffer size... 65535
> > checking if sys_errlist is already defined... (cached) yes
> > checking for libresolv _dns_ttl_ hack... no
> > checking if inet_ntoa() actually works... yes
> > checking for working statvfs() interface... yes
> > checking for _res.nsaddr_list... (cached) yes
> > creating ./config.status
> > creating ./makefile
> > creating ./lib/Makefile
> > creating ./include/config.h
> > creating ./scripts/Makefile
> > creating ./scripts/RunCache
> > creating ./scripts/RunAccel
> > creating ./src/Makefile
> > creating ./contrib/Makefile
> > creating ./icons/Makefile
> > creating ./errors/Makefile
> > creating ./auth_modules/dummy
> > creating ./auth_modules/NCSA/Makefile
> > creating ./auth_modules/PAM/Makefile
> > creating ./auth_modules/SMB/Makefile
> > creating ./auth_modules/getpwnam/Makefile
> > creating ./auth_modules/LDAP/Makefile
> > creating include/autoconf.h
> > include/autoconf.h is unchanged
> > # make
> > making all in lib...
> > make[1]: Entering directory `/tools/root/squidsave/squid/lib'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/tools/root/squidsave/squid/lib'
> > Making all in scripts...
> > make[1]: Entering directory `/tools/root/squidsave/squid/scripts'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/tools/root/squidsave/squid/scripts'
> > Making all in src...
> > make[1]: Entering directory `/tools/root/squidsave/squid/src'
> > sed "\
> > s%@DEFAULT_MIME_TABLE@%/tools/root/squidsave/squid/etc/mime.conf%g;\
> > s%@DEFAULT_DNSSERVER@%/tools/root/squidsave/squid/bin/dnsserver%g;\
> > s%@DEFAULT_UNLINKD@%/tools/root/squidsave/squid/bin/unlinkd%g;\
> > s%@DEFAULT_PINGER@%/tools/root/squidsave/squid/bin/pinger%g;\
> > s%@DEFAULT_CACHE_LOG@%/tools/root/squidsave/squid/logs/cache.log%g;\
> >
> s%@DEFAULT_ACCESS_LOG@%/tools/root/squidsave/squid/logs/access.log%g;\
> > s%@DEFAULT_STORE_LOG@%/tools/root/squidsave/squid/logs/store.log%g;\
> > s%@DEFAULT_PID_FILE@%/tools/root/squidsave/squid/logs/squid.pid%g;\
> > s%@DEFAULT_SWAP_DIR@%/tools/root/squidsave/squid/cache%g;\
> > s%@DEFAULT_ICON_DIR@%/tools/root/squidsave/squid/etc/icons%g;\
> > s%@DEFAULT_MIB_PATH@%/tools/root/squidsave/squid/etc/mib.txt%g;\
> > s%@DEFAULT_ERROR_DIR@%/tools/root/squidsave/squid/etc/errors%g;\
> > s%@DEFAULT_PREFIX@%/tools/root/squidsave/squid%g;"\
> > < ./cf.data.pre >cf.data
> > ./cf_gen cf.data
> > cc -g -I. -I../include -I../include -c -o access_log.o
> access_log.c
> > access_log.c: In function `accessLogSquid':
> > access_log.c:205: structure has no member named `ident'
> > access_log.c: In function `accessLogCommon':
> > access_log.c:222: structure has no member named `ident'
> > access_log.c: In function `accessLogLog':
> > access_log.c:271: structure has no member named `ident'
> > access_log.c:271: structure has no member named `ident'
> > access_log.c:272: structure has no member named `ident'
> > access_log.c:274: structure has no member named `ident'
> > access_log.c:275: structure has no member named `ident'
> > make[1]: *** [access_log.o] Error 1
> > make[1]: Leaving directory `/tools/root/squidsave/squid/src'
> > make: *** [all] Error 1
> >
> > thanks, rf.
> >
> > --
> > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> >
> >
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 21 2000 - 21:47:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:31 MST