ajuda pra instalar GCC 4.7.2

1. ajuda pra instalar GCC 4.7.2


kabut

(usa Debian)

Enviado em 16/01/2013 - 16:46h

boa tarde!
bem,estou tentando instalar o Gcc 4.7.2.tar.bz2.eu descopacto ele no terminal tudo certinho,faço o ./configure e vai tudo bem.mas na hora do MAKE eu pego esse erro que não sei resolver,ele aparece lá no final:

[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory `/root/gcc-4.7.2'
make[2]: Entering directory `/root/gcc-4.7.2'
make[3]: Entering directory `/root/gcc-4.7.2'
rm -f stage_current
make[3]: Leaving directory `/root/gcc-4.7.2'
make[2]: Leaving directory `/root/gcc-4.7.2'
make[2]: Entering directory `/root/gcc-4.7.2'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/lto-plugin'
make all-am
make[4]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/lto-plugin'
make[4]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/lto-plugin'
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/lto-plugin'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/intl'
make[3]: Entering directory `/root/gcc-4.7.2/build-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory `/root/gcc-4.7.2/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/gcc-4.7.2/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory `/root/gcc-4.7.2/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory `/root/gcc-4.7.2/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/gcc-4.7.2/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -fkeep-inline-functions" "CXXFLAGS=-g -fkeep-inline-functions" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/root/gcc-4.7.2/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/x86_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/zlib'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libcpp'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libdecnumber'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/libdecnumber'
make[3]: Entering directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc'
make[3]: Leaving directory `/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc'
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: loading cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/root/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/root/gcc-4.7.2/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/root/gcc-4.7.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/root/gcc-4.7.2'
make: *** [all] Error 2

estou tentando a tarde inteira um meio de instalar o gcc corretamente mas não dá.espero que possam me ajudar.




  


2. Re: ajuda pra instalar GCC 4.7.2

Arthur J. Hoch
Arthur_Hoch

(usa FreeBSD)

Enviado em 16/01/2013 - 16:52h

configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.


Deu erro no comando ./configure deve estar faltando alguma coisa, para saber é só consultar o config.log. É isso que ta escrito.


3. Re: ajuda pra instalar GCC 4.7.2


kabut

(usa Debian)

Enviado em 16/01/2013 - 17:17h

eu olhei esse arquivo config.log mas nao vi nada que pudesse me ajudar

aqui está ele:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = bt
uname -m = x86_64
uname -r = 3.2.6
uname -s = Linux
uname -v = #1 SMP Fri Feb 17 10:34:20 EST 2012

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /etc/alternatives/gem-bin
PATH: /etc/alternatives/gem-bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2237: checking build system type
configure:2251: result: x86_64-unknown-linux-gnu
configure:2298: checking host system type
configure:2311: result: x86_64-unknown-linux-gnu
configure:2331: checking target system type
configure:2344: result: x86_64-unknown-linux-gnu
configure:2398: checking for a BSD-compatible install
configure:2466: result: /usr/bin/install -c
configure:2477: checking whether ln works
configure:2499: result: yes
configure:2503: checking whether ln -s works
configure:2507: result: yes
configure:2514: checking for a sed that does not truncate output
configure:2578: result: /bin/sed
configure:2587: checking for gawk
configure:2603: found /usr/bin/gawk
configure:2614: result: gawk
configure:3070: checking for libitm support
configure:3080: result: yes
configure:3776: checking for gcc
configure:3792: found /usr/bin/gcc
configure:3803: result: gcc
configure:4032: checking for C compiler version
configure:4041: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4052: $? = 0
configure:4041: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configure:4052: $? = 0
configure:4041: gcc -V >&5
gcc: '-V' option must have argument
configure:4052: $? = 1
configure:4041: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4052: $? = 1
configure:4072: checking for C compiler default output file name
configure:4094: gcc conftest.c >&5
configure:4098: $? = 0
configure:4135: result: a.out
configure:4151: checking whether the C compiler works
configure:4160: ./a.out
configure:4164: $? = 0
configure:4179: result: yes
configure:4186: checking whether we are cross compiling
configure:4188: result: no
configure:4191: checking for suffix of executables
configure:4198: gcc -o conftest conftest.c >&5
configure:4202: $? = 0
configure:4224: result:
configure:4230: checking for suffix of object files
configure:4252: gcc -c conftest.c >&5
configure:4256: $? = 0
configure:4277: result: o
configure:4281: checking whether we are using the GNU C compiler
configure:4300: gcc -c conftest.c >&5
configure:4300: $? = 0
configure:4309: result: yes
configure:4318: checking whether gcc accepts -g
configure:4338: gcc -c -g conftest.c >&5
configure:4338: $? = 0
configure:4379: result: yes
configure:4396: checking for gcc option to accept ISO C89
configure:4460: gcc -c -g -O2 conftest.c >&5
configure:4460: $? = 0
configure:4473: result: none needed
configure:4551: checking for g++
configure:4567: found /usr/bin/g++
configure:4578: result: g++
configure:4605: checking for C++ compiler version
configure:4614: g++ --version >&5
g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4625: $? = 0
configure:4614: g++ -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configure:4625: $? = 0
configure:4614: g++ -V >&5
g++: '-V' option must have argument
configure:4625: $? = 1
configure:4614: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4625: $? = 1
configure:4629: checking whether we are using the GNU C++ compiler
configure:4648: g++ -c conftest.cpp >&5
configure:4648: $? = 0
configure:4657: result: yes
configure:4666: checking whether g++ accepts -g
configure:4686: g++ -c -g conftest.cpp >&5
configure:4686: $? = 0
configure:4727: result: yes
configure:4816: checking for gnatbind
configure:4846: result: no
configure:4908: checking for gnatmake
configure:4938: result: no
configure:4957: checking whether compiler driver understands Ada
configure:4980: result: no
configure:4989: checking how to compare bootstrapped objects
configure:5014: result: cmp --ignore-initial=16 $$f1 $$f2
configure:5086: checking for objdir
configure:5101: result: .libs
configure:5267: checking for the correct version of gmp.h
configure:5287: gcc -c -g -O2 conftest.c >&5
configure:5287: $? = 0
configure:5305: gcc -c -g -O2 conftest.c >&5
configure:5305: $? = 0
configure:5306: result: yes
configure:5322: checking for the correct version of mpfr.h
configure:5340: gcc -c -g -O2 conftest.c >&5
configure:5340: $? = 0
configure:5357: gcc -c -g -O2 conftest.c >&5
configure:5357: $? = 0
configure:5358: result: yes
configure:5375: checking for the correct version of mpc.h
configure:5392: gcc -c -g -O2 conftest.c >&5
configure:5392: $? = 0
configure:5408: gcc -c -g -O2 conftest.c >&5
configure:5408: $? = 0
configure:5409: result: yes
configure:5427: checking for the correct version of the gmp/mpfr/mpc libraries
configure:5458: gcc -o conftest -g -O2 conftest.c -lmpc -lmpfr -lgmp >&5
configure:5458: $? = 0
configure:5459: result: yes
configure:5643: checking for PWL_handle_timeout in -lpwl
configure:5668: gcc -o conftest -g -O2 conftest.c -lpwl -lstdc++ -lm >&5
/usr/bin/ld: cannot find -lpwl
collect2: ld returned 1 exit status
configure:5668: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char PWL_handle_timeout ();
| int
| main ()
| {
| return PWL_handle_timeout ();
| ;
| return 0;
| }
configure:5677: result: no
configure:5691: checking for version 0.11 (revision 0 or later) of PPL
configure:5708: gcc -c -g -O2 conftest.c >&5
conftest.c:10:19: error: ppl_c.h: No such file or directory
conftest.c: In function 'main':
conftest.c:16: error: 'choke' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
conftest.c:16: error: expected ';' before 'me'
configure:5708: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include "ppl_c.h"
| int
| main ()
| {
|
| #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
| choke me
| #endif
|
| ;
| return 0;
| }
configure:5712: result: no
configure:7026: checking for default BUILD_CONFIG
configure:7058: result: bootstrap-debug
configure:7547: checking for bison
configure:7563: found /usr/bin/bison
configure:7574: result: bison -y
configure:7594: checking for bison
configure:7610: found /usr/bin/bison
configure:7621: result: bison
configure:7641: checking for gm4
configure:7671: result: no
configure:7641: checking for gnum4
configure:7671: result: no
configure:7641: checking for m4
configure:7657: found /usr/bin/m4
configure:7668: result: m4
configure:7688: checking for flex
configure:7704: found /usr/bin/flex
configure:7715: result: flex
configure:7736: checking for flex
configure:7752: found /usr/bin/flex
configure:7763: result: flex
configure:7783: checking for makeinfo
configure:7813: result: no
configure:7844: checking for expect
configure:7874: result: no
configure:7893: checking for runtest
configure:7923: result: no
configure:8038: checking for ar
configure:8054: found /usr/bin/ar
configure:8065: result: ar
configure:8179: checking for as
configure:8195: found /usr/bin/as
configure:8206: result: as
configure:8320: checking for dlltool
configure:8350: result: no
configure:8461: checking for ld
configure:8477: found /usr/bin/ld
configure:8488: result: ld
configure:8602: checking for lipo
configure:8632: result: no
configure:8743: checking for nm
configure:8759: found /usr/bin/nm
configure:8770: result: nm
configure:8884: checking for ranlib
configure:8900: found /usr/bin/ranlib
configure:8911: result: ranlib
configure:9020: checking for strip
configure:9036: found /usr/bin/strip
configure:9047: result: strip
configure:9156: checking for windres
configure:9186: result: no
configure:9297: checking for windmc
configure:9327: result: no
configure:9438: checking for objcopy
configure:9454: found /usr/bin/objcopy
configure:9465: result: objcopy
configure:9579: checking for objdump
configure:9595: found /usr/bin/objdump
configure:9606: result: objdump
configure:9720: checking for readelf
configure:9736: found /usr/bin/readelf
configure:9747: result: readelf
configure:9900: checking for cc
configure:9916: found /usr/bin/cc
configure:9927: result: cc
configure:10061: checking for c++
configure:10077: found /usr/bin/c++
configure:10088: result: c++
configure:10222: checking for gcc
configure:10238: found /usr/bin/gcc
configure:10249: result: gcc
configure:10378: checking for gcj
configure:10408: result: no
configure:10539: checking for gfortran
configure:10569: result: no
configure:10700: checking for gccgo
configure:10730: result: no
configure:10791: checking for ar
configure:10824: result: no
configure:10941: checking for ar
configure:10957: found /usr/bin/ar
configure:10968: result: ar
configure:11021: checking for as
configure:11054: result: no
configure:11171: checking for as
configure:11187: found /usr/bin/as
configure:11198: result: as
configure:11251: checking for dlltool
configure:11284: result: no
configure:11401: checking for dlltool
configure:11431: result: no
configure:11481: checking for ld
configure:11514: result: no
configure:11631: checking for ld
configure:11647: found /usr/bin/ld
configure:11658: result: ld
configure:11711: checking for lipo
configure:11744: result: no
configure:11861: checking for lipo
configure:11891: result: no
configure:11941: checking for nm
configure:11974: result: no
configure:12091: checking for nm
configure:12107: found /usr/bin/nm
configure:12118: result: nm
configure:12171: checking for objdump
configure:12204: result: no
configure:12321: checking for objdump
configure:12337: found /usr/bin/objdump
configure:12348: result: objdump
configure:12401: checking for ranlib
configure:12434: result: no
configure:12551: checking for ranlib
configure:12567: found /usr/bin/ranlib
configure:12578: result: ranlib
configure:12631: checking for readelf
configure:12664: result: no
configure:12781: checking for readelf
configure:12797: found /usr/bin/readelf
configure:12808: result: readelf
configure:12861: checking for strip
configure:12894: result: no
configure:13011: checking for strip
configure:13027: found /usr/bin/strip
configure:13038: result: strip
configure:13091: checking for windres
configure:13124: result: no
configure:13241: checking for windres
configure:13271: result: no
configure:13321: checking for windmc
configure:13354: result: no
configure:13471: checking for windmc
configure:13501: result: no
configure:13529: checking where to find the target ar
configure:13562: result: host tool
configure:13571: checking where to find the target as
configure:13604: result: host tool
configure:13613: checking where to find the target cc
configure:13636: result: just compiled
configure:13655: checking where to find the target c++
configure:13681: result: just compiled
configure:13700: checking where to find the target c++ for libstdc++
configure:13726: result: just compiled
configure:13745: checking where to find the target dlltool
configure:13778: result: host tool
configure:13787: checking where to find the target gcc
configure:13810: result: just compiled
configure:13829: checking where to find the target gcj
configure:13855: result: just compiled
configure:13874: checking where to find the target gfortran
configure:13900: result: just compiled
configure:13919: checking where to find the target gccgo
configure:13955: result: host tool
configure:13964: checking where to find the target ld
configure:13997: result: host tool
configure:14006: checking where to find the target lipo
configure:14028: result: host tool
configure:14037: checking where to find the target nm
configure:14070: result: host tool
configure:14079: checking where to find the target objdump
configure:14112: result: host tool
configure:14121: checking where to find the target ranlib
configure:14154: result: host tool
configure:14163: checking where to find the target readelf
configure:14196: result: host tool
configure:14205: checking where to find the target strip
configure:14238: result: host tool
configure:14247: checking where to find the target windres
configure:14280: result: host tool
configure:14289: checking where to find the target windmc
configure:14322: result: host tool
configure:14359: checking whether to enable maintainer-specific portions of Makefiles
configure:14368: result: no
configure:14401: checking whether -fkeep-inline-functions is supported
configure:14420: gcc -c -g -O2 -fkeep-inline-functions conftest.c >&5
configure:14420: $? = 0
configure:14421: result: yes
configure:14627: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.64. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on bt

config.status:990: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_pwl_PWL_handle_timeout=no
ac_cv_objext=o
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AR_FOR_TARGET=ar
ac_cv_prog_AS=as
ac_cv_prog_AS_FOR_TARGET=as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_FLEX=flex
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_LD=ld
ac_cv_prog_LD_FOR_TARGET=ld
ac_cv_prog_LEX=flex
ac_cv_prog_M4=m4
ac_cv_prog_NM=nm
ac_cv_prog_NM_FOR_TARGET=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_OBJDUMP_FOR_TARGET=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_RANLIB_FOR_TARGET=ranlib
ac_cv_prog_READELF=readelf
ac_cv_prog_READELF_FOR_TARGET=readelf
ac_cv_prog_STRIP=strip
ac_cv_prog_STRIP_FOR_TARGET=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-unknown-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2:/usr/local/libexec/gcc/x86_64-unknown-linux-gnu:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2:/usr/lib/gcc/x86_64-unknown-linux-gnu:/usr/local/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu/4.7.2:/usr/local/x86_64-unknown-linux-gnu/bin:
gcc_cv_tool_prefix=/usr/local
lt_cv_objdir=.libs

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='$(AR)'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='$(AS)'
AWK='gawk'
BISON='bison'
BUILD_CONFIG='bootstrap-debug'
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DLT_OBJDIR=\".libs/\"'
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='$(DLLTOOL)'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
GNATBIND='no'
GNATMAKE='no'
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET='$(GOC)'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='$(LD)'
LEX='flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='$(LIPO)'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='/root/gcc-4.7.2/missing makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='$(NM)'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='$(OBJDUMP)'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSTSTAGE1_CONFIGURE_FLAGS='--enable-build-with-cxx'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='$(RANLIB)'
RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
READELF='readelf'
READELF_FOR_TARGET='$(READELF)'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SED='/bin/sed'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='$(STRIP)'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='./configure'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$(WINDMC)'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$(WINDRES)'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_configargs=' --cache-file=../config.cache '\''--enable-languages=c,c++,fortran,java,lto,objc'\'' --program-transform-name='\''s,y,y,'\'' --disable-option-checking'
build_configdirs=' libiberty fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_noncanonical='x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_tooldir='${exec_prefix}/x86_64-unknown-linux-gnu'
build_vendor='unknown'
clooginc=''
clooglibs=''
compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/*tools/*'
configdirs=' intl libiberty zlib libcpp libdecnumber fixincludes gcc lto-plugin'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extra_host_libiberty_configure_flags='--enable-shared'
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
gmpinc=''
gmplibs='-lmpc -lmpfr -lgmp'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_configargs=' --cache-file=./config.cache '\''--enable-languages=c,c++,fortran,java,lto,objc'\'' --program-transform-name='\''s,y,y,'\'' --disable-option-checking'
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
host_subdir='host-x86_64-unknown-linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags='-static-libstdc++ -static-libgcc'
poststage1_libs=''
pplinc=''
ppllibs=''
prefix='/usr/local'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g -fkeep-inline-functions'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c,c++,lto'
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_configargs='--cache-file=./config.cache --enable-multilib '\''--enable-languages=c,c++,fortran,java,lto,objc'\'' --program-transform-name='\''s,y,y,'\'' --disable-option-checking'
target_configdirs=' libgcc libgomp libitm libstdc++-v3 libmudflap libssp libquadmath libgfortran boehm-gc libffi zlib libjava libobjc'
target_cpu='x86_64'
target_noncanonical='x86_64-unknown-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-unknown-linux-gnu'
target_vendor='unknown'
tooldir='${exec_prefix}/x86_64-unknown-linux-gnu'

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='/dev/null'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='./config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LT_OBJDIR ".libs/"

configure: exit 0





4. Re: ajuda pra instalar GCC 4.7.2

Arthur J. Hoch
Arthur_Hoch

(usa FreeBSD)

Enviado em 16/01/2013 - 17:31h

configure:5691: checking for version 0.11 (revision 0 or later) of PPL
configure:5708: gcc -c -g -O2 conftest.c >&5
conftest.c:10:19: error: ppl_c.h: No such file or directory
conftest.c: In function 'main':
conftest.c:16: error: 'choke' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
conftest.c:16: error: expected ';' before 'me'
configure:5708: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include "ppl_c.h"
| int
| main ()
| {
|
| #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
| choke me
| #endif
|


Você precisa instalar as bibliotecas PPL.

Mais informações sobre pré-requisitos para a construção gcc está disponível aqui: http://gcc.gnu.org/install/prerequisites.html


5. Re: ajuda pra instalar GCC 4.7.2


kabut

(usa Debian)

Enviado em 16/01/2013 - 17:33h

beleza,vou instalar o ppl pra ver se vai.


6. Re: ajuda pra instalar GCC 4.7.2

Arthur J. Hoch
Arthur_Hoch

(usa FreeBSD)

Enviado em 16/01/2013 - 18:06h

Conseguistes?
Dei uma fusada por ai e encontrei o link de download.
Pelo que parece se instala com aptitude ou synaptic.

http://packages.debian.org/sid/libcloog-ppl-dev


7. Re: ajuda pra instalar GCC 4.7.2


kabut

(usa Debian)

Enviado em 16/01/2013 - 18:25h

tentei instalar o ppl mas fala que preciso do GMP versão 4.1.3 ou maior.mas acontece que já tenho ele instalado,na versão 5.1.0

olha o erro que deu na hora de instalar o ppl:


checking for the GMP library version 4.1.3 or above... no
configure: error: Cannot find GMP version 4.1.3 or higher.
GMP is the GNU Multi-Precision library:
see http://www.swox.com/gmp/ for more information.
When compiling the GMP library, do not forget to enable the C++ interface:
add --enable-cxx to the configuration options.



8. Re: ajuda pra instalar GCC 4.7.2

Arthur J. Hoch
Arthur_Hoch

(usa FreeBSD)

Enviado em 16/01/2013 - 20:19h

Sinceramente acho que seria mais fácil você instalar o GCC pelo apt-get.
$sudo apt-get install gcc
ou
#apt-get install gcc
Ou mesmo baixa - lo aqui por pacote .deb.
http://packages.debian.org/wheezy/gcc
E instala - lo com:

# dkpg -i (gcc-version).deb

Se você quiser ficar copilando tudo o Debian não é a distribuição correta.

Mas, se você quiser teimar em copila - lo, instala a versão mais velha daquele programa ali.

Edit:

Acho que tem a opção para instala - lo ainda pelo Synaptic .


9. Re: ajuda pra instalar GCC 4.7.2


kabut

(usa Debian)

Enviado em 16/01/2013 - 20:35h

mas as versoes que tem pelo synaptic e apt-get sempre sao desatualizadas,por isso baixei a mais nova do site oficial.no synaptic tem só que é a versao 4.4.3 se nao me engano.sempre gostei dos meus programas atualizados :(



10. Re: ajuda pra instalar GCC 4.7.2

Arthur J. Hoch
Arthur_Hoch

(usa FreeBSD)

Enviado em 16/01/2013 - 20:41h

kabut escreveu:

mas as versoes que tem pelo synaptic e apt-get sempre sao desatualizadas,por isso baixei a mais nova do site oficial.no synaptic tem só que é a versao 4.4.3 se nao me engano.


Bom se você quiser uma distro que sempre ta atualizada na ultima versão, eu recomendo você usar um deste Majaro, Arch Linux ou Sabayon.

Majaro: http://manjaro.org/

Arch Linux: http://archlinux-br.org/

Sabayon: http://www.sabayon.org/

E se quiser ficar copilando tudo o que você enxerga e enxergara o Gentoo ou Slakcware. Distros mais ou menos complicadas.


11. Re: ajuda pra instalar GCC 4.7.2


kabut

(usa Debian)

Enviado em 16/01/2013 - 20:52h

que tenso.eu queria aprender a instalar programas sem depender do synaptic e apt-get,na raça mesmo,mas tudo que tento instalar sempre da erro,não imorta qual programa seja.no caso sempre falta uma dependencia pra poder instalar um programa,e pra instalar essa dependencia precisa de outra dependecia e assim por diante.



12. Re: ajuda pra instalar GCC 4.7.2

Arthur J. Hoch
Arthur_Hoch

(usa FreeBSD)

Enviado em 16/01/2013 - 20:57h

kabut escreveu:

que tenso.eu queria aprender a instalar programas sem depender do synaptic e apt-get,na raça mesmo,mas tudo que tento instalar sempre da erro,não imorta qual programa seja.no caso sempre falta uma dependencia pra poder instalar um programa,e pra instalar essa dependencia precisa de outra dependecia e assim por diante.


É assim mesmo, ainda bem que você não tentou instalar o Vlc.

Tem algumas distros que já vem mais completas com as bibliotecas.

Já pessoas instalando as bibliotecas pelo apt-get, e depois copilavam o programa.



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts