I am refering LFS 7.4 on centos6.3 (i686)
ERRROR :
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/mnt/lfs/sources/file-5.14':
configure: error: C compiler cannot create executables
See `config.log' for more details
In Config.log i am getting following err
Enrique Larraia wrote:
> 2014/1/22 Pierre M.R.
>
>> Enrique Larraia wrote:
>>> Not sure how to check this.
>> To be rude. I would edit gcc-build/libtool to add at line 1121: echo $PATH
>>
>
> Yeah, this solved the issue. Now I figured out what was going on. On
> adding echo $PATH at the beginning
On Wed, Jan 22, 2014 at 10:11:29PM +, akhiezer wrote:
>
>
> (( p.s. Although - and excuse the/any noise - OTTOMH am not sure why sudo
> need be part of the picture if the 'su - lfs' is done in '4.3. Adding the
> LFS User'. Also noticed earlier that the 'problematic' ranlib in your
> /tools
> Date: Wed, 22 Jan 2014 21:50:02 +
> From: lf...@cruziero.com (akhiezer)
> To: LFS Support List
> Subject: Re: [lfs-support] 5.8 Libstdc++-4.8.1
>
> > Date: Fri, 17 Jan 2014 22:17:42 -0600
> > From: Louis Rine
> > To: LFS Support List
> > Subject: Re: [lfs-support] 5.8 Libstdc++-4.8.1
> >
>
> Date: Fri, 17 Jan 2014 22:17:42 -0600
> From: Louis Rine
> To: LFS Support List
> Subject: Re: [lfs-support] 5.8 Libstdc++-4.8.1
>
Louis,
In case you've not already seen it: there may be a solution to the issue
you're seeing:
Enrique Larraia
Wed Jan 22 21:47
Re: [lfs-support] 5.8 Libs
2014/1/22 Pierre M.R.
> Enrique Larraia wrote:
> > Not sure how to check this.
> To be rude. I would edit gcc-build/libtool to add at line 1121: echo $PATH
>
Yeah, this solved the issue. Now I figured out what was going on. On
adding echo $PATH at the beginning of the problematic function in li
Enrique Larraia wrote:
> Not sure how to check this.
To be rude. I would edit gcc-build/libtool to add at line 1121: echo $PATH
Pierre
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Hi,
Thanks for the replies. First, yes, I removed directories gcc-4.8.1 and
gcc-build before start building libstdc++-4.8.1, so this shouldn't be a
problem... The 686-lfs-linux-gnu-ranlib file is there (together with many
others) and is executable
lfs@tornasol:/mnt/lfs/tools/bin$ ls -l i686-lfs-l
On Wed, Jan 22, 2014 at 11:40:44AM +0100, Pierre M.R. wrote:
> Enrique Larraia wrote:
> > libtool: install: i686-lfs-linux-gnu-ranlib /tools/lib/libsupc++.a
> > ../libtool: line 1132: i686-lfs-linux-gnu-ranlib: command not found
> The error message comes from bash. It looks like 'make install' rese
Enrique Larraia wrote:
> libtool: install: i686-lfs-linux-gnu-ranlib /tools/lib/libsupc++.a
> ../libtool: line 1132: i686-lfs-linux-gnu-ranlib: command not found
The error message comes from bash. It looks like 'make install' reset
the shell PATH. I would suspect some security magics like selinux.
10 matches
Mail list logo