I hope this hasn't been covered before, I searched the archives with
little luck.
I'm trying to install squid using the command:
./configure --prefix=/home/hallch/squid
(which is a directory I've created)
The output of the configure command does not indicate any errors, but
nothing is placed into the /home/hallch/squid directory. Looking more
closely there are a number of errors in the config.log file that is
created.
I've included the portions of the config.log file that have errors with
each line preceeded by a line number. Sorry for flooding your inboxes.
Thanks in advance!
--Chris
29 configure: In function `main':
30 configure:2421: warning: unused variable `dirp'
31 configure:2450: checking for opendir in -ldir
32 configure:2469: gcc -o conftest -g -O2 -Wall -g conftest.c -ldir
1>&5
33 ld: fatal: library -ldir: not found
34 ld: fatal: File processing errors. No output written to conftest
35 collect2: ld returned 1 exit status
36 configure: failed program was:
37 #line 2458 "configure"
38 #include "confdefs.h"
39 /* Override any gcc2 internal prototype to avoid an error. */
40 /* We use char because int might match the return type of a gcc2
41 builtin and then its argument prototype would still apply. */
42 char opendir();
43
44 int main() {
45 opendir()
46 ; return 0; }
56 configure:2708: checking for bstring.h
57 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
58 configure:2714: bstring.h: No such file or directory
59 configure: failed program was:
60 #line 2713 "configure"
61 #include "confdefs.h"
62 #include <bstring.h>
63 configure:2708: checking for config.h
64 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
65 configure:2714: config.h: No such file or directory
66 configure: failed program was:
67 #line 2713 "configure"
68 #include "confdefs.h"
69 #include <config.h>
76 configure:2708: checking for execinfo.h
77 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
78 configure:2714: execinfo.h: No such file or directory
79 configure: failed program was:
80 #line 2713 "configure"
81 #include "confdefs.h"
82 #include <execinfo.h>
85 configure:2708: checking for getopt.h
86 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
87 configure:2714: getopt.h: No such file or directory
88 configure: failed program was:
89 #line 2713 "configure"
90 #include "confdefs.h"
91 #include <getopt.h>
92 configure:2708: checking for gnumalloc.h
93 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
94 configure:2714: gnumalloc.h: No such file or directory
95 configure: failed program was:
96 #line 2713 "configure"
97 #include "confdefs.h"
98 #include <gnumalloc.h>
101 configure:2708: checking for ip_compat.h
102 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
103 configure:2714: ip_compat.h: No such file or directory
104 configure: failed program was:
105 #line 2713 "configure"
106 #include "confdefs.h"
107 #include <ip_compat.h>
108 configure:2708: checking for ip_fil_compat.h
109 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
110 configure:2714: ip_fil_compat.h: No such file or directory
111 configure: failed program was:
112 #line 2713 "configure"
113 #include "confdefs.h"
114 #include <ip_fil_compat.h>
115 configure:2708: checking for ip_fil.h
116 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
117 configure:2714: ip_fil.h: No such file or directory
118 configure: failed program was:
119 #line 2713 "configure"
120 #include "confdefs.h"
121 #include <ip_fil.h>
122 configure:2708: checking for ip_nat.h
123 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
124 configure:2714: ip_nat.h: No such file or directory
125 configure: failed program was:
126 #line 2713 "configure"
127 #include "confdefs.h"
128 #include <ip_nat.h>
129 configure:2708: checking for libc.h
130 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
131 configure:2714: libc.h: No such file or directory
132 configure: failed program was:
133 #line 2713 "configure"
134 #include "confdefs.h"
135 #include <libc.h>
138 configure:2708: checking for linux/netfilter_ipv4.h
139 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
140 configure:2714: linux/netfilter_ipv4.h: No such file or directory
141 configure: failed program was:
142 #line 2713 "configure"
143 #include "confdefs.h"
144 #include <linux/netfilter_ipv4.h>
151 configure:2708: checking for mount.h
152 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
153 configure:2714: mount.h: No such file or directory
154 configure: failed program was:
155 #line 2713 "configure"
156 #include "confdefs.h"
157 #include <mount.h>
168 configure:2708: checking for netinet/ip_compat.h
169 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
170 configure:2714: netinet/ip_compat.h: No such file or directory
171 configure: failed program was:
172 #line 2713 "configure"
173 #include "confdefs.h"
174 #include <netinet/ip_compat.h>
175 configure:2708: checking for netinet/ip_fil_compat.h
176 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
177 configure:2714: netinet/ip_fil_compat.h: No such file or directory
178 configure: failed program was:
179 #line 2713 "configure"
180 #include "confdefs.h"
181 #include <netinet/ip_fil_compat.h>
182 configure:2708: checking for netinet/ip_fil.h
183 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
184 configure:2714: netinet/ip_fil.h: No such file or directory
185 configure: failed program was:
186 #line 2713 "configure"
187 #include "confdefs.h"
188 #include <netinet/ip_fil.h>
189 configure:2708: checking for netinet/ip_nat.h
190 configure:2718: gcc -E conftest.c >/dev/null 2>conftest.out
191 configure:2714: netinet/ip_nat.h: No such file or directory
192 configure: failed program was:
193 #line 2713 "configure"
194 #include "confdefs.h"
195 #include <netinet/ip_nat.h>
270 configure:2821: checking whether byte ordering is bigendian
271 configure:2839: gcc -c -g -O2 -Wall conftest.c 1>&5
272 configure: In function `main':
273 configure:2834: `bogus' undeclared (first use in this function)
274 configure:2834: (Each undeclared identifier is reported only once
275 configure:2834: for each function it appears in.)
276 configure:2834: parse error before `endian'
277 configure: failed program was:
278 #line 2828 "configure"
279 #include "confdefs.h"
280 #include <sys/types.h>
281 #include <sys/param.h>
282 int main() {
283
284 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
285 bogus endian macros
286 #endif
287 ; return 0; }
288 configure:2887: gcc -o conftest -g -O2 -Wall -g conftest.c 1>&5
289 configure:2875: warning: return-type defaults to `int'
290 configure: failed program was:
291 #line 2874 "configure"
292 #include "confdefs.h"
293 main () {
294 /* Are we little or big endian? From Harbison&Steele. */
295 union
296 {
297 long l;
298 char c[sizeof (long)];
299 } u;
300 u.l = 1;
301 exit (u.c[sizeof (long) - 1] == 1);
302 }
306 configure:2962: gcc -c -g -O2 -Wall conftest.c 1>&5
307 configure: In function `main':
308 configure:2958: structure has no member named `tm_gmtoff'
309 configure: failed program was:
310 #line 2953 "configure"
311 #include "confdefs.h"
312 #include <time.h>
313 #include <sys/time.h>
314 int main() {
315 struct tm foo;
316 foo.tm_gmtoff = 0;
317 ; return 0; }
321 configure:3045: gcc -c -g -O2 -Wall conftest.c 1>&5
322 configure: In function `main':
323 configure:3041: structure has no member named `mxfast'
324 configure: failed program was:
325 #line 3036 "configure"
326 #include "confdefs.h"
327 #include <sys/types.h>
328 #include <malloc.h>
329 int main() {
330 struct mallinfo foo;
331 foo.mxfast = 0;
332 ; return 0; }
368 configure:3868: checking for main in -lgnumalloc
369 configure:3883: gcc -o conftest -g -O2 -Wall -g conftest.c
-lgnumalloc
-lsocket -lnsl 1>&5
370 ld: fatal: library -lgnumalloc: not found
371 ld: fatal: File processing errors. No output written to conftest
372 collect2: ld returned 1 exit status
373 configure: failed program was:
374 #line 3876 "configure"
375 #include "confdefs.h"
376
377 int main() {
378 main()
379 ; return 0; }
380 configure:3974: checking for main in -lbsd
381 configure:3989: gcc -o conftest -g -O2 -Wall -g conftest.c -lbsd
-lsoc
ket -lnsl 1>&5
382 ld: fatal: library -lbsd: not found
383 ld: fatal: File processing errors. No output written to conftest
384 collect2: ld returned 1 exit status
385 configure: failed program was:
386 #line 3982 "configure"
387 #include "confdefs.h"
388
389 int main() {
390 main()
391 ; return 0; }
392 configure:4017: checking for main in -lregex
393 configure:4032: gcc -o conftest -g -O2 -Wall -g conftest.c
-lregex -ls
ocket -lnsl 1>&5
394 ld: fatal: library -lregex: not found
395 ld: fatal: File processing errors. No output written to conftest
396 collect2: ld returned 1 exit status
397 configure: failed program was:
398 #line 4025 "configure"
399 #include "confdefs.h"
400
401 int main() {
402 main()
403 ; return 0; }
404 configure:4053: checking for gethostbyname in -lbind
405 configure:4072: gcc -o conftest -g -O2 -Wall -g conftest.c -lbind
-lso
cket -lnsl 1>&5
406 ld: fatal: library -lbind: not found
407 ld: fatal: File processing errors. No output written to conftest
408 collect2: ld returned 1 exit status
409 configure: failed program was:
410 #line 4061 "configure"
411 #include "confdefs.h"
412 /* Override any gcc2 internal prototype to avoid an error. */
413 /* We use char because int might match the return type of a gcc2
414 builtin and then its argument prototype would still apply. */
415 char gethostbyname();
416
417 int main() {
418 gethostbyname()
419 ; return 0; }
420 configure:4106: checking for inet_aton in -lresolv
421 configure:4125: gcc -o conftest -g -O2 -Wall -g conftest.c
-lresolv -l
socket -lnsl 1>&5
422 configure:4141: checking for inet_aton in -l44bsd
423 configure:4160: gcc -o conftest -g -O2 -Wall -g conftest.c
-l44bsd -ls
ocket -lnsl 1>&5
424 ld: fatal: library -l44bsd: not found
425 ld: fatal: File processing errors. No output written to conftest
426 collect2: ld returned 1 exit status
427 configure: failed program was:
428 #line 4149 "configure"
429 #include "confdefs.h"
430 /* Override any gcc2 internal prototype to avoid an error. */
431 /* We use char because int might match the return type of a gcc2
432 builtin and then its argument prototype would still apply. */
433 char inet_aton();
434
435 int main() {
436 inet_aton()
437 ; return 0; }
450 configure:4608: checking for backtrace_symbols_fd
451 configure:4636: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
452 Undefined first referenced
453 symbol in file
454 backtrace_symbols_fd /var/tmp/ccQ6mAEk.o
455 ld: fatal: Symbol referencing errors. No output written to
conftest
456 collect2: ld returned 1 exit status
457 configure: failed program was:
458 #line 4613 "configure"
459 #include "confdefs.h"
460 /* System header to define __stub macros and hopefully few
prototypes,
461 which can conflict with char backtrace_symbols_fd(); below.
*/
462 #include <assert.h>
463 /* Override any gcc2 internal prototype to avoid an error. */
464 /* We use char because int might match the return type of a gcc2
465 builtin and then its argument prototype would still apply. */
466 char backtrace_symbols_fd();
467
468 int main() {
469
470 /* The GNU C library defines this for functions which it
implements
471 to always fail with ENOSYS. Some functions are actually named
472 something starting with __ and the normal name is an alias.
*/
473 #if defined (__stub_backtrace_symbols_fd) || defined
(__stub___backtrace
_symbols_fd)
474 choke me
475 #else
476 backtrace_symbols_fd();
477 #endif
478
479 ; return 0; }
494 configure:4608: checking for mallinfo
495 configure:4636: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
496 Undefined first referenced
497 symbol in file
498 mallinfo /var/tmp/cc3uhXXC.o
499 ld: fatal: Symbol referencing errors. No output written to
conftest
500 collect2: ld returned 1 exit status
501 configure: failed program was:
502 #line 4613 "configure"
503 #include "confdefs.h"
504 /* System header to define __stub macros and hopefully few
prototypes,
505 which can conflict with char mallinfo(); below. */
506 #include <assert.h>
507 /* Override any gcc2 internal prototype to avoid an error. */
508 /* We use char because int might match the return type of a gcc2
509 builtin and then its argument prototype would still apply. */
510 char mallinfo();
511
512 int main() {
513
514 /* The GNU C library defines this for functions which it
implements
515 to always fail with ENOSYS. Some functions are actually named
516 something starting with __ and the normal name is an alias.
*/
517 #if defined (__stub_mallinfo) || defined (__stub___mallinfo)
518 choke me
519 #else
520 mallinfo();
521 #endif
522
523 ; return 0; }
524 configure:4608: checking for mallocblksize
525 configure:4636: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
526 Undefined first referenced
527 symbol in file
528 mallocblksize /var/tmp/ccovLlsE.o
529 ld: fatal: Symbol referencing errors. No output written to
conftest
530 collect2: ld returned 1 exit status
531 configure: failed program was:
532 #line 4613 "configure"
533 #include "confdefs.h"
534 /* System header to define __stub macros and hopefully few
prototypes,
535 which can conflict with char mallocblksize(); below. */
536 #include <assert.h>
537 /* Override any gcc2 internal prototype to avoid an error. */
538 /* We use char because int might match the return type of a gcc2
539 builtin and then its argument prototype would still apply. */
540 char mallocblksize();
541
542 int main() {
543
544 /* The GNU C library defines this for functions which it
implements
545 to always fail with ENOSYS. Some functions are actually named
546 something starting with __ and the normal name is an alias.
*/
547 #if defined (__stub_mallocblksize) || defined
(__stub___mallocblksize)
548 choke me
549 #else
550 mallocblksize();
551 #endif
552
553 ; return 0; }
554 configure:4608: checking for mallopt
555 configure:4636: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
556 Undefined first referenced
557 symbol in file
558 mallopt /var/tmp/cckeV1cJ.o
559 ld: fatal: Symbol referencing errors. No output written to
conftest
560 collect2: ld returned 1 exit status
561 configure: failed program was:
562 #line 4613 "configure"
563 #include "confdefs.h"
564 /* System header to define __stub macros and hopefully few
prototypes,
565 which can conflict with char mallopt(); below. */
566 #include <assert.h>
567 /* Override any gcc2 internal prototype to avoid an error. */
568 /* We use char because int might match the return type of a gcc2
569 builtin and then its argument prototype would still apply. */
570 char mallopt();
571
572 int main() {
573
574 /* The GNU C library defines this for functions which it
implements
575 to always fail with ENOSYS. Some functions are actually named
576 something starting with __ and the normal name is an alias.
*/
577 #if defined (__stub_mallopt) || defined (__stub___mallopt)
578 choke me
579 #else
580 mallopt();
581 #endif
582
583 ; return 0; }
596 configure:4608: checking for mstats
597 configure:4636: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
598 Undefined first referenced
599 symbol in file
600 mstats /var/tmp/cc6T0CKr.o
601 ld: fatal: Symbol referencing errors. No output written to
conftest
602 collect2: ld returned 1 exit status
603 configure: failed program was:
604 #line 4613 "configure"
605 #include "confdefs.h"
606 /* System header to define __stub macros and hopefully few
prototypes,
607 which can conflict with char mstats(); below. */
608 #include <assert.h>
609 /* Override any gcc2 internal prototype to avoid an error. */
610 /* We use char because int might match the return type of a gcc2
611 builtin and then its argument prototype would still apply. */
612 char mstats();
613
614 int main() {
615
616 /* The GNU C library defines this for functions which it
implements
617 to always fail with ENOSYS. Some functions are actually named
618 something starting with __ and the normal name is an alias.
*/
619 #if defined (__stub_mstats) || defined (__stub___mstats)
620 choke me
621 #else
622 mstats();
623 #endif
624
625 ; return 0; }
676 configure:4608: checking for timegm
677 configure:4636: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
678 Undefined first referenced
679 symbol in file
680 timegm /var/tmp/ccHfhMG1.o
681 ld: fatal: Symbol referencing errors. No output written to
conftest
682 collect2: ld returned 1 exit status
683 configure: failed program was:
684 #line 4613 "configure"
685 #include "confdefs.h"
686 /* System header to define __stub macros and hopefully few
prototypes,
687 which can conflict with char timegm(); below. */
688 #include <assert.h>
689 /* Override any gcc2 internal prototype to avoid an error. */
690 /* We use char because int might match the return type of a gcc2
691 builtin and then its argument prototype would still apply. */
692 char timegm();
693
694 int main() {
695
696 /* The GNU C library defines this for functions which it
implements
697 to always fail with ENOSYS. Some functions are actually named
698 something starting with __ and the normal name is an alias.
*/
699 #if defined (__stub_timegm) || defined (__stub___timegm)
700 choke me
701 #else
702 timegm();
703 #endif
704
705 ; return 0; }
708 configure:4662: checking if setresuid is implemented
709 configure:4683: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
710 configure: In function `main':
711 configure:4674: warning: implicit declaration of function
`setresuid'
712 configure:4675: warning: implicit declaration of function `perror'
713 Undefined first referenced
714 symbol in file
715 setresuid /var/tmp/ccdauYyg.o
716 ld: fatal: Symbol referencing errors. No output written to
conftest
717 collect2: ld returned 1 exit status
718 configure: failed program was:
719 #line 4670 "configure"
720 #include "confdefs.h"
721
722 #include <stdlib.h>
723 int main() {
724 if(setresuid(-1,-1,-1)) {
725 perror("setresuid:");
726 exit(1);
727 }
728 exit(0);
729 }
757 configure:5212: checking if sys_errlist is already defined
758 configure:5224: gcc -c -g -Wall conftest.c 1>&5
759 configure: In function `main':
760 configure:5220: `sys_errlist' undeclared (first use in this
function)
761 configure:5220: (Each undeclared identifier is reported only once
762 configure:5220: for each function it appears in.)
763 configure:5220: warning: unused variable `s'
764 configure: failed program was:
765 #line 5217 "configure"
766 #include "confdefs.h"
767 #include <stdio.h>
768 int main() {
769 char *s = sys_errlist;
770 ; return 0; }
771 configure:5246: checking for libresolv _dns_ttl_ hack
772 configure:5255: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
773 Undefined first referenced
774 symbol in file
775 _dns_ttl_ /var/tmp/ccFUp9Ox.o
776 ld: fatal: Symbol referencing errors. No output written to
conftest
777 collect2: ld returned 1 exit status
778 configure: failed program was:
779 #line 5248 "configure"
780 #include "confdefs.h"
781 extern int _dns_ttl_;
782 int main() {
783 return _dns_ttl_;
784 ; return 0; }
785 configure:5271: checking if inet_ntoa() actually works
786 configure:5295: gcc -o conftest -g -Wall -g conftest.c -lm
-lresolv -l
socket -lnsl 1>&5
787 configure:5284: warning: return-type defaults to `int'
788 configure:5321: checking for working statvfs() interface
789 configure:5340: gcc -c -g -Wall conftest.c 1>&5
790 configure:5360: checking for _res.nsaddr_list
791 configure:5388: gcc -c -g -Wall conftest.c 1>&5
792 configure: In function `main':
793 configure:5384: warning: statement with no effect
Received on Fri Apr 27 2001 - 11:17:58 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:38 MST