Re: [gentoo-user] Another "cannot create executables" error

2005-05-29 Thread Anthony Tantillo
On Sunday 29 May 2005 02:51 am, dannycat wrote:
> Anthony Tantillo wrote:
> >Hello all,
> >
> >I have been getting the following error messages on whatever I try to
> > emerge. I will use "emerge kover" as an example.
> >
> >.
> >.
> >.
> >checking for C compiler default output file name... configure: error: C
> >compiler cannot create executables
> >See `config.log' for more details.
> >
> >!!! ERROR: app-cdr/kover-2.9.6 failed.
> >!!! Function kde_src_compile, Line 154, Exitcode 77
> >!!! died running ./configure, kde_src_compile:configure
> >!!! If you need support, post the topmost build error, NOT this status
> >message.
> >
> >If I check the config.log, I get the following.
> >
> >gcc version 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
> >configure:2741: $? = 0
> >configure:2743: i686-pc-linux-gnu-gcc -V &5
> >i686-pc-linux-gnu-gcc: `-V' option must have argument
> >configure:2746: $? = 1
> >configure:2769: checking for C compiler default output file name
> >configure:2772: i686-pc-linux-gnu-gcc  -O2 -mcpu=i686 -pipe   conftest.c 
> > >&5 i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No
> > such file or d
> >irectory
> >configure:2775: $? = 2
> >
> >configure: failed program was:
> >| /* confdefs.h.  */
> >|
> >| #define PACKAGE_NAME ""
> >| #define PACKAGE_TARNAME ""
> >| #define PACKAGE_VERSION ""
> >| #define PACKAGE_STRING ""
> >| #define PACKAGE_BUGREPORT ""
> >| #define PACKAGE "kover"
> >| #define VERSION "2.9.6"
> >| /* end confdefs.h.  */
> >
> >Any help would be aprreciated.
> >
> >Tony
>
> Check your /usr/bin/as link.
>
> $ ls -l /usr/bin/as
> lrwxrwxrwx  1 root root 20 May 25 03:18 /usr/bin/as -> i686-pc-linux-gnu-as

In my case this didn't work, but I had good luck with another configuration.  

Tony
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Another "cannot create executables" error

2005-05-29 Thread Anthony Tantillo
On Sunday 29 May 2005 03:18 am, Chris Woods wrote:
> On Saturday 28 May 2005 22:51, dannycat wrote:
> > Anthony Tantillo wrote:
> > >Hello all,
> > >
> > >I have been getting the following error messages on whatever I try to
> > > emerge. I will use "emerge kover" as an example.
>
> [...]
>
> > >configure:2772: i686-pc-linux-gnu-gcc  -O2 -mcpu=i686 -pipe   conftest.c
> > >
> > > >&5 i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No
> > >
> > > such file or d
> > >irectory
>
> [...]
>
> I just went through this exact thing. man binutils-config.
>
> Chris

This could be it.

#binutils-config -c
i686-pc-linux-gnu-2.15.92.0.2

#binutils-config -l
 [1] i686-pc-linux-gnu-2.15.90.0.1.1

# binutils-config 1
 * Switching to i686-pc-linux-gnu-2.15.90.0.1.1 ...   
[ ok ]
>>> Regenerating /etc/ld.so.cache...

 * Please remember to run:

 *   # source /etc/profile

# source /etc/profile
# emerge kover 
.
.
.
>>> Recording app-cdr/kover in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * Regenerating GNU info directory index...
 * Processed 7 info files.

It worked thanks !!!

Tony

P.S.  binutils-config doesn't have a man page but was easy enough to figure 
out.









-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Another "cannot create executables" error

2005-05-28 Thread Anthony Tantillo
Hello all,

I have been getting the following error messages on whatever I try to emerge.  
I will use "emerge kover" as an example.

.
.
.
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.

!!! ERROR: app-cdr/kover-2.9.6 failed.
!!! Function kde_src_compile, Line 154, Exitcode 77
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status 
message.

If I check the config.log, I get the following.

gcc version 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
configure:2741: $? = 0
configure:2743: i686-pc-linux-gnu-gcc -V &5
i686-pc-linux-gnu-gcc: `-V' option must have argument
configure:2746: $? = 1
configure:2769: checking for C compiler default output file name
configure:2772: i686-pc-linux-gnu-gcc  -O2 -mcpu=i686 -pipe   conftest.c  >&5
i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or 
d
irectory
configure:2775: $? = 2
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kover"
| #define VERSION "2.9.6"
| /* end confdefs.h.  */

Any help would be aprreciated.

Tony
-- 
gentoo-user@gentoo.org mailing list