Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR sys-apps/grep-2.5.1-r8 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
w.hill
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 133
Location: Perth, Western Australia

PostPosted: Mon Jun 13, 2005 6:12 am    Post subject: ERROR sys-apps/grep-2.5.1-r8 failed Reply with quote

Hi,

Whilst trying to perform an update world I get an error message. I have attached the config.log file.


Any suggestions?

Thanks......................

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.53. Invocation command line was

$ ./configure --prefix=/usr --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=sparc-unknown-linux-gnu --bindir=/bin --enable-nls --disable-perl-regexp

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

hostname = athena
uname -m = sparc64
uname -r = 2.4.30-sparc
uname -s = Linux
uname -v = #1 Sat Apr 16 08:43:24 WST 2005

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

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

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/sparc-unknown-linux-gnu/gcc-bin/3.3.5-20050130
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.4/sbin
PATH: /usr/kde/3.4/bin


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

configure:1251: checking for a BSD-compatible install
configure:1305: result: /bin/install -c
configure:1316: checking whether build environment is sane
configure:1359: result: yes
configure:1393: checking for gawk
configure:1409: found /bin/gawk
configure:1419: result: gawk
configure:1429: checking whether make sets ${MAKE}
configure:1449: result: yes
configure:1577: checking build system type
configure:1595: result: sparc-unknown-linux-gnu
configure:1603: checking host system type
configure:1617: result: sparc-unknown-linux-gnu
configure:1629: checking for gawk
configure:1655: result: gawk
configure:1673: checking for sparc-unknown-linux-gnu-gcc
configure:1689: found /usr/bin/sparc-unknown-linux-gnu-gcc
configure:1699: result: sparc-unknown-linux-gnu-gcc
configure:1981: checking for C compiler version
configure:1984: sparc-unknown-linux-gnu-gcc --version </dev/null >&5
sparc-unknown-linux-gnu-gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r2, ssp-3.3.5.20050130-1, pie-8.7.7.1)
Copyright (C) 2003 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:1987: $? = 0
configure:1989: sparc-unknown-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/specsConfigured with: /var/tmp/portage/gcc-3.3.5.20050130-r2/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/sparc-unknown-linux-gnu/gcc-bin/3.3.5-20050130 --includedir=/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/include --datadir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.3.5-20050130 --mandir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.3.5-20050130/man --infodir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.3.5-20050130/info --with-gxx-include-dir=/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/include/g++-v3 --host=sparc-unknown-linux-gnu --build=sparc-unknown-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r2, ssp-3.3.5.20050130-1, pie-8.7.7.1)
configure:1992: $? = 0
configure:1994: sparc-unknown-linux-gnu-gcc -V </dev/null >&5
sparc-unknown-linux-gnu-gcc: `-V' option must have argument
configure:1997: $? = 1
configure:2023: checking for C compiler default output
configure:2026: sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc conftest.c >&5
sparc-unknown-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory
configure:2029: $? = 1
configure: failed program was:
#line 2000 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

;
return 0;
}
configure:2056: error: C compiler cannot create executables

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

ac_cv_build=sparc-unknown-linux-gnu
ac_cv_build_alias=sparc-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -mcpu=ultrasparc'
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=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=sparc-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=sparc-unknown-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=sparc-unknown-linux-gnu
ac_cv_host_alias=sparc-unknown-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=sparc-unknown-linux-gnu-gcc
ac_cv_prog_make_make_set=yes

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define GREP 1
#define PACKAGE "grep"
#define VERSION "2.5.1"

configure: exit 77
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Mon Jun 13, 2005 6:19 am    Post subject: Reply with quote

Quote:
configure:2056: error: C compiler cannot create executables


There's your problem.

This means 1 of two things:

1) Your C Compiler is borked

2) You've got a typo in your CFLAGS.

The second is more likely.

Post your CFLAGS and CXXFLAGS
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 189
Location: Henderson, TN

PostPosted: Mon Jun 13, 2005 6:19 am    Post subject: Reply with quote

Same problem here. Same exit 77
Code:
gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)

-nanoczar
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
TrueDFX
Retired Dev
Retired Dev


Joined: 02 Jun 2004
Posts: 1348

PostPosted: Mon Jun 13, 2005 6:23 am    Post subject: Reply with quote

Quote:
sparc-unknown-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory

Try running binutils-config 1, as described here, and see if that fixes it.
Back to top
View user's profile Send private message
desertstalker
Apprentice
Apprentice


Joined: 18 Sep 2004
Posts: 209

PostPosted: Mon Jun 13, 2005 6:29 am    Post subject: Reply with quote

I had the same problem as the OP and binutils-config 1 fixed it for me.

Thanks

I love this forum, the answer to almost every problem i have is already here.
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 189
Location: Henderson, TN

PostPosted: Mon Jun 13, 2005 6:34 am    Post subject: Reply with quote

Yep,
Code:
binutils-config 1
worked like a charm. Thanks!!!
-nanoczar
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
antoine
n00b
n00b


Joined: 06 Oct 2004
Posts: 67
Location: Brussels

PostPosted: Mon Jun 13, 2005 8:22 am    Post subject: Reply with quote

TrueDFX wrote:
Quote:
sparc-unknown-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory

Try running binutils-config 1, as described here, and see if that fixes it.


Thanks I had the same problem and that solution works :D

Actually, binutils was upgraded just before...
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Jun 13, 2005 8:39 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-348545.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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