brunatos n00b
Joined: 28 Jul 2013 Posts: 4
|
Posted: Sun Jul 28, 2013 9:20 am Post subject: [SOLVED] emerge gento-sources problems |
|
|
Hie,
I try to install a Gentoo on an Imac G5. I had already installed one on a Macmini G4 before, but i'm blocked on the part 7 of the handbook ....
emerge gento-sources give me an error : powerpc64-unkknown-linux-gnu-gcc : mcpu=G5 : no such file or directory
unless if i go into the folder in trouble (bc-1.06.95 in my case) and i do a ./configure && make && make install there is no bug even the file output.
EDIT : I solved the problem with help from this site : http://www.gentoo-wiki.info/Safe_Cflags
Cflags was wrong, must use :
CHOST="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970"
CXXFLAGS="${CFLAGS}"
many others safes configs for other architectures...
/EDIT
here my config.log :
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=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-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 = ppc64
uname -r = 3.2.1-gentoo-r2-G5
uname -s = Linux
uname -v = #1 SMP Sun Sep 9 20:23:08 UTC 2012
/usr/bin/uname -p = PPC970FX, altivec supported
/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/lib64/portage/bin/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/powerpc64-unknown-linux-gnu/gcc-bin/4.5.4
## ----------- ##
## 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 powerpc64-unknown-linux-gnu-gcc
configure:1800: found /usr/bin/powerpc64-unknown-linux-gnu-gcc
configure:1810: result: powerpc64-unknown-linux-gnu-gcc
configure:2092: checking for C compiler version
configure:2095: powerpc64-unknown-linux-gnu-gcc --version </dev/null >&5
powerpc64-unknown-linux-gnu-gcc (Gentoo 4.5.4 p1.1, pie-0.4.7) 4.5.4
Copyright (C) 2010 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: powerpc64-unknown-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.5.4/powerpc64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc64-unknown-linux-gnu/4.5.4/lto-wrapper
Target: powerpc64-unknown-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/configure --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.5.4 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.5.4/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.5.4 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.5.4/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.5.4/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.5.4/include/g++-v4 --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/powerpc64-unknown-linux-gnu/4.5.4/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.4 p1.1, pie-0.4.7'
Thread model: posix
gcc version 4.5.4 (Gentoo 4.5.4 p1.1, pie-0.4.7)
configure:2103: $? = 0
configure:2105: powerpc64-unknown-linux-gnu-gcc -V </dev/null >&5
powerpc64-unknown-linux-gnu-gcc: '-V' option must have argument
configure:2108: $? = 1
configure:2131: checking for C compiler default output file name
configure:2134: powerpc64-unknown-linux-gnu-gcc -O2 -pipe mcpu=G5 -Wl,-O1 -Wl,--as-needed conftest.c >&5
[b]powerpc64-unknown-linux-gnu-gcc: mcpu=G5: No such file or directory[/b]
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='-O2 -pipe mcpu=G5'
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=powerpc64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=powerpc64-unknown-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=powerpc64-unknown-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='powerpc64-unknown-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O2 -pipe mcpu=G5'
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='powerpc64-unknown-linux-gnu'
datadir='/usr/share'
exec_prefix='NONE'
host_alias='powerpc64-unknown-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
|
any idea ??? i had googled my problem but no ways for my problem _________________ http://www.everymac.com/systems/apple/imac/specs/imac_g5_2.0_17.html
May 3, 2005
Processor Speed: 2.0 GHz Processor Type: PowerPC 970* (G5)
Video Card: ATI Radeon 9600 with 128 MB of DDR SDRAM (AGP 8X support). |
|