[SQU] ntlm compile with squid

From: Rick Francis <rfrancis@dont-contact.us>
Date: Wed, 22 Nov 2000 16:35:39 -0600

#11-22-2000, ntlm compiling problem, submitted by mr. rick francis.
#
patching file ChangeLog
Hunk #1 FAILED at 58.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
patching file configure.in
Hunk #1 succeeded at 493 (offset -111 lines).
Hunk #2 FAILED at 576.
Hunk #3 succeeded at 1617 with fuzz 2 (offset -89 lines).
Hunk #4 FAILED at 1648.
2 out of 4 hunks FAILED -- saving rejects to file configure.in.rej
patching file makefile.in
Hunk #1 FAILED at 14.
Hunk #2 FAILED at 38.
2 out of 2 hunks FAILED -- saving rejects to file makefile.in.rej
patching file auth_modules/SMB/smb_auth.c
patching file doc/debug-sections.txt
patching file include/util.h
Hunk #1 succeeded at 108 (offset -3 lines).
patching file include/version.h
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file include/version.h.rej
patching file lib/base64.c
patching file ntlm_auth_modules/Makefile.in
patching file ntlm_auth_modules/NTLMSSP/Makefile.in
patching file ntlm_auth_modules/NTLMSSP/libntlmssp.c
patching file ntlm_auth_modules/NTLMSSP/ntlm.h
patching file ntlm_auth_modules/NTLMSSP/ntlm_auth.c
patching file ntlm_auth_modules/NTLMSSP/smbval/Makefile.in
patching file ntlm_auth_modules/NTLMSSP/smbval/byteorder.h
patching file ntlm_auth_modules/NTLMSSP/smbval/config.h
patching file ntlm_auth_modules/NTLMSSP/smbval/md4.c
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-common.h
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-error.h
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-io.c
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-io.h
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-priv.h
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-util.c
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb-util.h
patching file ntlm_auth_modules/NTLMSSP/smbval/rfcnb.h
patching file ntlm_auth_modules/NTLMSSP/smbval/session.c
patching file ntlm_auth_modules/NTLMSSP/smbval/smbdes.c
patching file ntlm_auth_modules/NTLMSSP/smbval/smbencrypt.c
patching file ntlm_auth_modules/NTLMSSP/smbval/smblib-common.h
patching file ntlm_auth_modules/NTLMSSP/smbval/smblib-priv.h
patching file ntlm_auth_modules/NTLMSSP/smbval/smblib-util.c
patching file ntlm_auth_modules/NTLMSSP/smbval/smblib.c
patching file ntlm_auth_modules/NTLMSSP/smbval/smblib.h
patching file ntlm_auth_modules/NTLMSSP/smbval/std-defines.h
patching file ntlm_auth_modules/NTLMSSP/smbval/std-includes.h
patching file ntlm_auth_modules/NTLMSSP/smbval/valid.c
patching file ntlm_auth_modules/NTLMSSP/smbval/valid.h
patching file ntlm_auth_modules/fakeauth/Makefile.in
patching file ntlm_auth_modules/fakeauth/fakeauth_auth.c
patching file ntlm_auth_modules/fakeauth/ntlm.h
patching file ntlm_auth_modules/no_check/Makefile.in
patching file ntlm_auth_modules/no_check/README.no_check_ntlm_auth
patching file ntlm_auth_modules/no_check/no_check
patching file src/HttpRequest.c
patching file src/Makefile.in
Hunk #1 succeeded at 141 with fuzz 2 (offset -7 lines).
patching file src/access_log.c
Hunk #1 FAILED at 182.
Hunk #2 FAILED at 251.
Hunk #3 FAILED at 282.
3 out of 3 hunks FAILED -- saving rejects to file src/access_log.c.rej
patching file src/acl.c
Hunk #5 succeeded at 464 (offset -12 lines).
Hunk #7 succeeded at 482 (offset -12 lines).
Hunk #9 FAILED at 586.
Hunk #10 succeeded at 613 (offset -12 lines).
Hunk #12 succeeded at 722 (offset -12 lines).
Hunk #13 FAILED at 779.
Hunk #14 succeeded at 892 with fuzz 1 (offset -14 lines).
Hunk #15 FAILED at 946.
Hunk #16 FAILED at 980.
Hunk #17 succeeded at 1061 (offset -12 lines).
Hunk #18 FAILED at 1071.
Hunk #19 succeeded at 1808 (offset -30 lines).
Hunk #20 succeeded at 1875 (offset -12 lines).
Hunk #21 succeeded at 1873 (offset -30 lines).
Hunk #22 succeeded at 1900 (offset -12 lines).
Hunk #23 succeeded at 1902 (offset -30 lines).
Hunk #24 FAILED at 1911.
Hunk #25 FAILED at 1971.
Hunk #26 FAILED at 2009.
Hunk #27 succeeded at 2043 (offset -22 lines).
Hunk #28 succeeded at 2060 (offset -30 lines).
Hunk #29 FAILED at 2078.
Hunk #30 succeeded at 2143 (offset -29 lines).
Hunk #31 succeeded at 2162 (offset -30 lines).
Hunk #32 succeeded at 2221 (offset -29 lines).
Hunk #33 succeeded at 2262 (offset -24 lines).
Hunk #34 succeeded at 2267 (offset -29 lines).
Hunk #35 succeeded at 2325 (offset -24 lines).
Hunk #36 succeeded at 2480 (offset -29 lines).
Hunk #37 succeeded at 2500 (offset -24 lines).
Hunk #38 FAILED at 2527.
Hunk #39 succeeded at 2624 (offset -33 lines).
Hunk #40 FAILED at 2668.
Hunk #41 succeeded at 2829 (offset -10 lines).
Hunk #42 succeeded at 2936 (offset -39 lines).
Hunk #43 succeeded at 3061 (offset -15 lines).
Hunk #44 succeeded at 3115 (offset -39 lines).
Hunk #45 succeeded at 3172 (offset -15 lines).
Hunk #46 succeeded at 3176 (offset -39 lines).
Hunk #47 FAILED at 3221.
12 out of 47 hunks FAILED -- saving rejects to file src/acl.c.rej
patching file src/authenticate.c
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file src/authenticate.c.rej
patching file src/cache_cf.c
Hunk #1 succeeded at 259 (offset -35 lines).
Hunk #2 succeeded at 377 with fuzz 1 (offset 6 lines).
patching file src/cf.data.pre
Hunk #1 succeeded at 1023 (offset -59 lines).
Hunk #2 FAILED at 1082.
1 out of 2 hunks FAILED -- saving rejects to file src/cf.data.pre.rej
patching file src/client_side.c
Hunk #1 succeeded at 110 (offset -3 lines).
Hunk #3 FAILED at 147.
Hunk #4 succeeded at 203 (offset -12 lines).
Hunk #6 succeeded at 292 with fuzz 1 (offset -12 lines).
Hunk #7 FAILED at 692.
Hunk #8 succeeded at 701 (offset -45 lines).
Hunk #9 succeeded at 770 (offset -14 lines).
Hunk #10 succeeded at 753 (offset -45 lines).
Hunk #11 succeeded at 793 (offset -14 lines).
Hunk #12 succeeded at 945 (offset -31 lines).
Hunk #13 succeeded at 1799 (offset -47 lines).
Hunk #14 FAILED at 2081.
Hunk #15 succeeded at 2190 (offset -98 lines).
Hunk #16 succeeded at 2428 (offset -64 lines).
Hunk #17 succeeded at 2429 (offset -99 lines).
Hunk #18 succeeded at 2486 (offset -64 lines).
Hunk #19 succeeded at 2466 (offset -99 lines).
Hunk #20 succeeded at 2526 (offset -64 lines).
Hunk #21 succeeded at 2581 (offset -100 lines).
Hunk #22 succeeded at 2627 (offset -64 lines).
Hunk #23 succeeded at 2607 (offset -100 lines).
Hunk #24 succeeded at 2676 (offset -70 lines).
3 out of 24 hunks FAILED -- saving rejects to file src/client_side.c.rej
patching file src/defines.h
patching file src/enums.h
Hunk #1 succeeded at 127 (offset -3 lines).
Hunk #2 succeeded at 491 (offset -6 lines).
Hunk #3 succeeded at 547 with fuzz 2 (offset -6 lines).
Hunk #4 succeeded at 585 (offset -4 lines).
Hunk #5 succeeded at 638 with fuzz 2 (offset -12 lines).
patching file src/errorpage.c
patching file src/forward.c
Hunk #1 succeeded at 112 (offset -11 lines).
Hunk #2 succeeded at 391 (offset -31 lines).
patching file src/ftp.c
Hunk #7 succeeded at 837 (offset -5 lines).
Hunk #9 succeeded at 920 (offset -5 lines).
Hunk #12 succeeded at 1902 (offset -12 lines).
Hunk #14 succeeded at 2158 (offset -12 lines).
Hunk #16 succeeded at 2412 (offset -12 lines).
patching file src/globals.h
Hunk #1 FAILED at 152.
1 out of 1 hunk FAILED -- saving rejects to file src/globals.h.rej
patching file src/helper.c
Hunk #1 succeeded at 3 (offset -35 lines).
Hunk #3 succeeded at 198 (offset -35 lines).
Hunk #4 succeeded at 358 (offset -2 lines).
Hunk #5 succeeded at 404 (offset -36 lines).
Hunk #6 succeeded at 488 (offset -2 lines).
Hunk #7 succeeded at 474 (offset -36 lines).
Hunk #8 succeeded at 556 (offset -2 lines).
Hunk #9 succeeded at 608 (offset -37 lines).
Hunk #10 succeeded at 755 (offset -2 lines).
Hunk #11 succeeded at 775 (offset -37 lines).
Hunk #12 succeeded at 856 (offset -2 lines).
Hunk #13 succeeded at 874 (offset -37 lines).
Hunk #14 succeeded at 948 (offset -2 lines).
patching file src/http.c
Hunk #2 succeeded at 835 (offset -19 lines).
Hunk #3 FAILED at 933.
Hunk #4 succeeded at 1011 with fuzz 2 (offset -1 lines).
1 out of 4 hunks FAILED -- saving rejects to file src/http.c.rej
patching file src/main.c
Hunk #1 succeeded at 346 with fuzz 1 (offset -12 lines).
Hunk #2 succeeded at 701 (offset -18 lines).
patching file src/mem.c
Hunk #1 FAILED at 206.
Hunk #2 succeeded at 292 with fuzz 2 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/mem.c.rej
patching file src/protos.h
Hunk #1 succeeded at 42 with fuzz 2 (offset -4 lines).
Hunk #2 succeeded at 68 with fuzz 2.
Hunk #3 succeeded at 139 (offset 20 lines).
Hunk #4 succeeded at 676 (offset -26 lines).
Hunk #5 FAILED at 1020.
Hunk #6 succeeded at 1241 (offset 42 lines).
1 out of 6 hunks FAILED -- saving rejects to file src/protos.h.rej
patching file src/pump.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 1.
File src/pump.c is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file src/pump.c.rej
patching file src/redirect.c
patching file src/squid.h
Hunk #1 succeeded at 424 with fuzz 2 (offset -4 lines).
patching file src/stat.c
Hunk #1 succeeded at 1332 (offset -81 lines).
patching file src/structs.h
Hunk #1 FAILED at 56.
Hunk #2 succeeded at 150 (offset 8 lines).
Hunk #3 succeeded at 191 (offset -5 lines).
Hunk #4 succeeded at 252 (offset 13 lines).
Hunk #5 FAILED at 382.
Hunk #6 FAILED at 395.
Hunk #7 succeeded at 875 (offset -37 lines).
Hunk #8 succeeded at 981 (offset 12 lines).
Hunk #9 succeeded at 1438 (offset -38 lines).
Hunk #10 succeeded at 1539 (offset 30 lines).
Hunk #11 succeeded at 1488 (offset -38 lines).
Hunk #12 succeeded at 1601 (offset 30 lines).
Hunk #13 succeeded at 1816 (offset -49 lines).
Hunk #14 succeeded at 1940 (offset 30 lines).
3 out of 14 hunks FAILED -- saving rejects to file src/structs.h.rej
patching file src/typedefs.h
Hunk #1 succeeded at 55 (offset -4 lines).
Hunk #2 succeeded at 113 with fuzz 2 (offset 3 lines).
Hunk #3 succeeded at 138 (offset -2 lines).
Hunk #4 succeeded at 169 with fuzz 1 (offset 3 lines).
Hunk #5 succeeded at 202 with fuzz 1 (offset -22 lines).
Hunk #6 succeeded at 246 (offset 2 lines).
can't find file to patch at input line 13523
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid/src/fs/ufs/store_dir_ufs.c
|diff -u squid/src/fs/ufs/store_dir_ufs.c:1.4
squid/src/fs/ufs/store_dir_ufs.c:1.1.10.8
|--- squid/src/fs/ufs/store_dir_ufs.c:1.4 Fri Nov 10 08:36:47 2000
|+++ squid/src/fs/ufs/store_dir_ufs.c Fri Nov 10 17:54:03 2000
--------------------------
File to patch: none
none: No such file or directory
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored

# autoconf
configure.in:679: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:773: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:774: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:775: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1042: warning: AC_TRY_RUN called without default to allow cross
compiling

# autoheader
configure.in:679: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:1042: warning: AC_TRY_RUN called without default to allow cross
compiling

# echo $CC
/usr/local/bin/gcc
# pwd
/tools/root/squidsave/squid
# ls
acconfig.h contrib makefile.in.rej
auth_modules CONTRIBUTORS makefile.in~
bin COPYING ntlm.patch
cfgaux COPYRIGHT ntlm_auth_modules
cgi-bin CREDITS QUICKSTART
ChangeLog doc README
ChangeLog.rej errors scripts
ChangeLog~ etc sleezeball.conf
config.cache icons
sleezeball.definitions
config.log include
sleezeball.definitions.orig
config.status INSTALL snmplib
configure lib squid.out
configure.in logs src
configure.in.rej makefile test-suite
configure.in~ makefile.in TODO

#
./configure --prefix=/tools/root/squidsave/squid --enable-useragent-log --en
able-kill-parent-hack \
> --enable-dlmalloc=/tools/root/squidsave/squid --enable-time-hack --enable-
poll --enable-truncate \
> --enable-heap-replacement --enable-auth_modules=PAM --enable-ntlm_auth_mod
ules=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
User-Agent logging enabled
Kill parent on shutdown
Update internal timestamp only once per second
Forcing poll() to be enabled
Enabling truncate instead of unlink
Enabling HEAP_REPLACEMENT
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
# cd ntlm_au*
# ls
fakeauth Makefile.in no_check NTLMSSP
# ls
fakeauth Makefile.in no_check NTLMSSP
#

???shouldn't the makefile for NTLPSSP be here???

rf.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Nov 22 2000 - 15:37:56 MST

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