Problemas ao instala SQUID...Erro de compilador C

1. Problemas ao instala SQUID...Erro de compilador C

Danilo MArques
danilofbr

(usa Red Hat)

Enviado em 05/05/2009 - 10:35h

quando dou um ./configure... para instalar o squid ele me retorna este erro...tenho o conectiva 10...já instalei todos pacotes possíveis e imagináveis relacionados ao compilador C e mesmo assim ele me retona a mensagem abaixo...alguém pode me ajudar?

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for ranlib... (cached) ranlib
checking whether compiler accepts -fhuge-objects... no
Store modules built: ufs
IO Modules built: Blocking
Removal policies built: lru
Auth scheme modules built: ntlm basic digest negotiate
unlinkd enabled
checking for cppunit-config... false
cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail.
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /bin/false
checking for true... /bin/true
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for perl... /usr/bin/perl
checking for ar... /usr/bin/ar
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking gnumalloc.h usability... no
checking gnumalloc.h presence... no
checking for gnumalloc.h... no
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking ip_compat.h usability... no
checking ip_compat.h presence... no
checking for ip_compat.h... no
checking ip_fil_compat.h usability... no
checking ip_fil_compat.h presence... no
checking for ip_fil_compat.h... no
checking ip_fil.h usability... no
checking ip_fil.h presence... no
checking for ip_fil.h... no
checking ip_nat.h usability... no
checking ip_nat.h presence... no
checking for ip_nat.h... no
checking ipl.h usability... no
checking ipl.h presence... no
checking for ipl.h... no
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for memory.h... (cached) yes
checking mount.h usability... no
checking mount.h presence... no
checking for mount.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/ip_fil_compat.h usability... no
checking netinet/ip_fil_compat.h presence... no
checking for netinet/ip_fil_compat.h... no
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking openssl/err.h usability... no
checking openssl/err.h presence... no
checking for openssl/err.h... no
checking openssl/md5.h usability... no
checking openssl/md5.h presence... no
checking for openssl/md5.h... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking openssl/engine.h usability... no
checking openssl/engine.h presence... no
checking for openssl/engine.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking sys/bswap.h usability... no
checking sys/bswap.h presence... no
checking for sys/bswap.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/md5.h usability... no
checking sys/md5.h presence... no
checking for sys/md5.h... no
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for grp.h... (cached) yes
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking for linux/netfilter_ipv4.h... yes
checking for linux/netfilter_ipv4/ip_tproxy.h... no
checking for net/if.h... yes
checking for net/pfvar.h... no
checking for netinet/if_ether.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_compat.h... no
checking for netinet/ip_fil.h... no
checking for netinet/ip_icmp.h... yes
checking for netinet/ip_nat.h... no
checking for netinet/ipl.h... no
checking for sys/mount.h... yes
checking for resolv.h... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... yes
checking for struct mallinfo... yes
checking for struct mallinfo.mxfast... no
checking for struct rusage... yes
checking for struct iphdr.ip_hl... yes
checking size of void *... 4
checking for int8_t... yes
checking size of int8_t... 1
checking for char... yes
checking size of char... 1
checking for u_int8_t... yes
checking size of u_int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for u_int16_t... yes
checking size of u_int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for long... yes
checking size of long... 4
checking for u_int32_t... yes
checking size of u_int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for __int64... no
checking for long long... yes
checking size of long long... 8
checking for u_int64_t... yes
checking size of u_int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for pad128_t... no
checking for upad128_t... no
checking for pid_t... yes
checking for size_t... yes
checking size of size_t... 4
checking for ssize_t... yes
checking for off_t... yes
checking size of off_t... 4
checking for mode_t... yes
checking for fd_mask... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for socklen_t... yes
checking for mtyp_t... no
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for unix domain sockets... yes
checking for main in -lgnumalloc... no
checking for main in -lmalloc... no
checking for main in -lbsd... no
checking for main in -lregex... no
checking for gethostbyname in -lbind... no
checking for inet_aton in -lresolv... yes
checking for inet_aton in -l44bsd... no
checking for main in -lresolv... yes
checking for main in -lm... yes
checking for crypt in -lcrypt... yes
checking for MD5Init in -lmd5... no
checking for main in -llber... no
checking if dbopen needs -ldb... no
checking for backtrace_symbols_fd... yes
checking for bcopy... yes
checking for bswap_16... no
checking for bswap_32... no
checking for bswap16... no
checking for bswap32... no
checking for fchmod... yes
checking for getdtablesize... yes
checking for getpagesize... yes
checking for getpass... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for getspnam... yes
checking for gettimeofday... yes
checking for glob... yes
checking for htobe16... no
checking for htole16... no
checking for kqueue... no
checking for lrand48... yes
checking for mallinfo... yes
checking for mallocblksize... no
checking for mallopt... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for mktime... yes
checking for mstats... no
checking for poll... yes
checking for prctl... yes
checking for pthread_attr_setschedparam... yes
checking for pthread_attr_setscope... yes
checking for pthread_setschedparam... yes
checking for pthread_sigmask... no
checking for putenv... yes
checking for random... yes
checking for regcomp... yes
checking for regexec... yes
checking for regfree... yes
checking for res_init... no
checking for __res_init... yes
checking for rint... yes
checking for sbrk... yes
checking for select... yes
checking for seteuid... yes
checking for setgroups... yes
checking for setpgrp... yes
checking for setrlimit... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for socketpair... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for strsep... yes
checking for strtoll... yes
checking for sysconf... yes
checking for syslog... yes
checking for timegm... yes
checking for vsnprintf... yes
checking for drand48... yes
checking for initgroups... yes
checking for strerror... yes
checking for tempnam... yes
checking for crypt... yes
checking for epoll_ctl in -lepoll... no
checking for epoll_ctl... no
Using poll for the IO loop.
checking if setresuid is implemented... yes
checking if strnstr is well implemented... no
checking if va_copy is implemented... yes
checking if __va_copy is implemented... yes
checking if GNUregex needs to be compiled... no
checking Default FD_SETSIZE value... 1024
checking Maximum number of filedescriptors we can open... 1024
checking Default UDP send buffer size... 110592
checking Default UDP receive buffer size... 110592
checking Default TCP send buffer size... 16384
checking Default TCP receive buffer size... 87380
Limiting receive buffer size to 64K
checking if sys_errlist is already defined... no
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... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/RunCache
config.status: creating scripts/RunAccel
config.status: creating src/Makefile
config.status: creating src/fs/Makefile
config.status: creating src/repl/Makefile
config.status: creating src/auth/Makefile
config.status: creating contrib/Makefile
config.status: creating snmplib/Makefile
config.status: creating icons/Makefile
config.status: creating errors/Makefile
config.status: creating test-suite/Makefile
config.status: creating doc/Makefile
config.status: creating helpers/Makefile
config.status: creating helpers/basic_auth/Makefile
config.status: creating helpers/basic_auth/LDAP/Makefile
config.status: creating helpers/basic_auth/MSNT/Makefile
config.status: creating helpers/basic_auth/NCSA/Makefile
config.status: creating helpers/basic_auth/PAM/Makefile
config.status: creating helpers/basic_auth/SMB/Makefile
config.status: creating helpers/basic_auth/mswin_sspi/Makefile
config.status: creating helpers/basic_auth/YP/Makefile
config.status: creating helpers/basic_auth/getpwnam/Makefile
config.status: creating helpers/basic_auth/multi-domain-NTLM/Makefile
config.status: creating helpers/basic_auth/SASL/Makefile
config.status: creating helpers/basic_auth/POP3/Makefile
config.status: creating helpers/basic_auth/DB/Makefile
config.status: creating helpers/basic_auth/squid_radius_auth/Makefile
config.status: creating helpers/digest_auth/Makefile
config.status: creating helpers/digest_auth/password/Makefile
config.status: creating helpers/digest_auth/ldap/Makefile
config.status: creating helpers/digest_auth/eDirectory/Makefile
config.status: creating helpers/ntlm_auth/Makefile
config.status: creating helpers/ntlm_auth/fakeauth/Makefile
config.status: creating helpers/ntlm_auth/no_check/Makefile
config.status: creating helpers/ntlm_auth/SMB/Makefile
config.status: creating helpers/ntlm_auth/SMB/smbval/Makefile
config.status: creating helpers/ntlm_auth/mswin_sspi/Makefile
config.status: creating helpers/negotiate_auth/Makefile
config.status: creating helpers/negotiate_auth/mswin_sspi/Makefile
config.status: creating helpers/negotiate_auth/squid_kerb_auth/Makefile
config.status: creating helpers/external_acl/Makefile
config.status: creating helpers/external_acl/ip_user/Makefile
config.status: creating helpers/external_acl/ldap_group/Makefile
config.status: creating helpers/external_acl/session/Makefile
config.status: creating helpers/external_acl/unix_group/Makefile
config.status: creating helpers/external_acl/wbinfo_group/Makefile
config.status: creating helpers/external_acl/mswin_ad_group/Makefile
config.status: creating helpers/external_acl/mswin_lm_group/Makefile
config.status: creating tools/Makefile
config.status: creating include/autoconf.h
config.status: include/autoconf.h is unchanged
config.status: executing depfiles commands
=== configuring in lib/libTrie (/etc/squid-3.0.STABLE14/lib/libTrie)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/etc/squid' --cache-file=/dev/null --srcdir=.
checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for lib/libTrie



  


2. Re: Problemas ao instala SQUID...Erro de compilador C

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 05/05/2009 - 18:11h

o compilador aparentemente está ok, o problema deve estar na instalação do linker/loader ou da libc. tente reinstalar o binutils. caso não resolva, reinstale as headers da libc. se ainda assim não resolver, poste o config.log de lib/libTrie






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts