Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem on emerge gentoo-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mcardona.shadow
n00b
n00b


Joined: 23 Mar 2015
Posts: 5
Location: Guatemala

PostPosted: Mon Mar 23, 2015 5:33 pm    Post subject: Problem on emerge gentoo-sources Reply with quote

Hey, i have a problem installing gentoo the problem is "error: C compiler cannot create executables.

The config.log is:

Code:

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

It was created by bc configure 1.06.95, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit

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

hostname = livecd
uname -m = x86_64
uname -r = 3.16.5-gentoo
uname -s = Linux
uname -v = #1 SMP Thu Dec 4 06:13:19 UTC 2014

/usr/bin/uname -p = Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz
/bin/uname -X     = unknown

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

PATH: /usr/lib/portage/python2.7/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3


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

configure:1357: checking for a BSD-compatible install
configure:1412: result: /usr/bin/install -c
configure:1423: checking whether build environment is sane
configure:1466: result: yes
configure:1531: checking for gawk
configure:1547: found /usr/bin/gawk
configure:1557: result: gawk
configure:1567: checking whether make sets $(MAKE)
configure:1587: result: yes
configure:1784: checking for x86_64-pc-linux-gnu-gcc
configure:1800: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:1810: result: x86_64-pc-linux-gnu-gcc
configure:2092: checking for C compiler version
configure:2095: x86_64-pc-linux-gnu-gcc --version </dev/null >&5
x86_64-pc-linux-gnu-gcc (Gentoo 4.8.3 p1.1, pie-0.5.9) 4.8.3
Copyright (C) 2013 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:2098: $? = 0
configure:2100: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.3 p1.1, pie-0.5.9' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog --enable-libsanitizer
Thread model: posix
gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)
configure:2103: $? = 0
configure:2105: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2108: $? = 1
configure:2131: checking for C compiler default output file name
configure:2134: x86_64-pc-linux-gnu-gcc -march=native -02 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-02'
configure:2137: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "bc"
| #define PACKAGE_TARNAME "bc"
| #define PACKAGE_VERSION "1.06.95"
| #define PACKAGE_STRING "bc 1.06.95"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "bc"
| #define VERSION "1.06.95"
| #define DC_VERSION "1.3.95"
| #define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc."
| #define DC_COPYRIGHT "Copyright 1994, 1997, 1998, 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc."
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2176: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -02 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/missing --run tar'
AUTOCONF='${SHELL} /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/missing --run automake-1.9'
AWK='gawk'
BC_VERSION=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -02 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DC_VERSION=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/missing --run makeinfo'
OBJEXT=''
PACKAGE='bc'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='bc'
PACKAGE_STRING='bc 1.06.95'
PACKAGE_TARNAME='bc'
PACKAGE_VERSION='1.06.95'
PATH_SEPARATOR=':'
RANLIB=''
READLINELIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.06.95'
YACC=''
ac_ct_CC=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias='x86_64-pc-linux-gnu'
datadir='/usr/share'
exec_prefix='NONE'
host_alias='x86_64-pc-linux-gnu'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

#define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc."
#define DC_COPYRIGHT "Copyright 1994, 1997, 1998, 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc."
#define DC_VERSION "1.3.95"
#define PACKAGE "bc"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "bc"
#define PACKAGE_STRING "bc 1.06.95"
#define PACKAGE_TARNAME "bc"
#define PACKAGE_VERSION "1.06.95"
#define VERSION "1.06.95"

configure: exit 77


My cpuinfo are:

Code:

vendror_id       : GenuineIntel
cpu family        : 6
model              : 42
model name     : Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz


My make.conf are

Code:

####################################################
## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##
## PLEASE EDIT /mnt/gentoo/etc/portage/make.conf INSTEAD  ##
####################################################
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="gtk gnome -qt4 -kde dvd alsa cdr bindist mmx sse sse2"
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/
ftp://ftp.rnl.ist.utl.pr/pub/gentoo/gentoo-distfiles/
ftp://frp.free.fr/mirrors/ftp.gentoo.org/
ftp://mirror.netcologne.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.bytemark.co.uk/gentoo/
ftp://mirror.switch.ch/mirror/gentoo
ftp://ftp.snt.utwene.nl/pub/os/linux/gentoo
ftp://mirror.mcs.anl.gov/pub/gentoo/
ftp://grp.gtlib.gatech.edu/pub/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
ACEPT_LICENSE="*"
LINGUAS="es es_ES"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
USE="${USE} -* alsa alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol atm deprecated fbcon fbcondecor ipv6 livecd loop-aes lvm1 midi mng modules ncurses nls nptl nptlonly pam png portaudio readline socks5 ssl truetype unicode usb build"


Tanks for the help.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Mon Mar 23, 2015 5:38 pm    Post subject: Reply with quote

Are you using the actual livecd?
It is from 2015-03-19.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Mon Mar 23, 2015 5:45 pm    Post subject: Reply with quote

Quote:
error: unrecognized command line option '-02'


You may want to replace 0 (digit) with O (letter).
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mcardona.shadow
n00b
n00b


Joined: 23 Mar 2015
Posts: 5
Location: Guatemala

PostPosted: Mon Mar 23, 2015 6:32 pm    Post subject: Reply with quote

Jaglover wrote:
Quote:
error: unrecognized command line option '-02'


You may want to replace 0 (digit) with O (letter).


THANK YOUUUU!!!! solve my live...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum