nick bowes | 1 Mar 2007 14:17
Picon
Favicon

Re: ch6.9 glibc-2.5 configure error

>> Hi there,
>> running the configure command for glibc-2.5 ch 6.9 throws up the
>> following error:
>>
>> - checking for C cleanup handling... no
>> - configure: error: the compiler must support C cleanup handling
>>
>> It said I should checkout the "config.log" in the build dir in
>> order to establish the cause though it means little to me
>> unfortunatly.  I have pasted what I think is the interesting bit as
>> theres way too much to plonk it all in here.
>>
>> configure:64: $? = 0
>> configure:67: test -s conftest
>> configure:70: $? = 0
>> configure:82: result: yes
>> configure:91: checking for C cleanup handling
>> configure:116: gcc -o conftest -g -O2 -Werror -fexceptions
>> conftest.c  >&5
>> conftest.c:36:19: error: stdio.h: No such file or directory
>> configure:122: $? = 1
>> configure: failed program was:
>> | /* confdefs.h.  */
>>
>> Could you point me in the right direction to solve this.
>>
>> Thanks!
>>
>> Nick
>>
(Continue reading)

William Harrington | 1 Mar 2007 16:05

Re: ch6.9 glibc-2.5 configure error


On Mar 1, 2007, at 7:17 AM, nick bowes wrote:

>
> Thanks for the quick reply
> I'm not sure but I think I ran gcc pass2 from the pass1 gcc-build  
> directory.
> Could this be the cause of my problem?  As for dummy.c, if I type  
> gcc -v
> dummy.c in the gcc-build directory then I get a no such file or  
> directory
> error. I hope that this is not the right place to run it from!?  
> Though if I
> run gcc -v from the same place I get this:
>
> Using built-in specs.
> Target: !486-pc-linux-gun
> Configured with:
> ../gcc-4.1.1/configure --prefix=/usr --libexecdir=/usr/lib --enable- 
> shared --enable-threads=posix
>  --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c+ 
> + --enable-static
> thread model: posix
> gcc version 4.1.1
>
> Does this help?  If I understand your answer correctly then it  
> probably
> doesn't. If  Iv'e missed something in the book (I've no idea what)  
> then the
> best way to solve the problem is to rebuild from ch5.3 am I right?  
(Continue reading)

John Rodenbiker | 1 Mar 2007 21:18

Where to unpack for section 6

I'm about the wade into Section 6 of LFS 6.2-3 but have a question:
Where should I put and unpack the tarballs and patches?

In section 5 it was $LFS/sources. But having just reread section 6 I 
don't see any suggestions for where to do this after the chroot.

I'm working off the LiveCD onto an i686-compatible platform.
-- 
Freedom, Truth, Love, Beauty.
John Rodenbiker
jrodenbiker <at> rodenbiker.net

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

veritosproject | 1 Mar 2007 21:22
Picon

Re: Where to unpack for section 6

On 3/1/07, John Rodenbiker <jrodenbiker <at> rodenbiker.net> wrote:
> I'm about the wade into Section 6 of LFS 6.2-3 but have a question:
> Where should I put and unpack the tarballs and patches?

$LFS/sources works just fine still. And once everything is installed,
it's a good idea to leave them in /usr/src.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Ken Moffat | 1 Mar 2007 21:25
Picon
Favicon

Re: Where to unpack for section 6

On Thu, Mar 01, 2007 at 02:18:08PM -0600, John Rodenbiker wrote:
> I'm about the wade into Section 6 of LFS 6.2-3 but have a question:
> Where should I put and unpack the tarballs and patches?
> 
> In section 5 it was $LFS/sources. But having just reread section 6 I 
> don't see any suggestions for where to do this after the chroot.

 You keep them where they are.  While you are in chroot,
$LFS/sources is accessible to you as /sources.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Alan Lord | 1 Mar 2007 21:25

Re: Where to unpack for section 6

John Rodenbiker wrote:
> I'm about the wade into Section 6 of LFS 6.2-3 but have a question:
> Where should I put and unpack the tarballs and patches?
> 
> In section 5 it was $LFS/sources. But having just reread section 6 I 
> don't see any suggestions for where to do this after the chroot.
> 
> I'm working off the LiveCD onto an i686-compatible platform.

Once you have "chrooted" $LFS/sources will be /sources :-)

Al

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

John Rodenbiker | 1 Mar 2007 21:46

Retrieving Packages from LiveCD after chroot

I'm building LFS 6.2-3 from the Live CD to an i686-compatible platform.

Throughout section 5 I was copying tarballs and patches to $LFS/sources 
as needed.

I naively expected to do the same for section 6, but after mounting the 
CD under the chroot it looks like the sources are trapped in a 
filesystem image.

How can I access the sources on the CD from the chroot environment (if 
at all)?

Thanks.
-- 
Freedom, Truth, Love, Beauty.
John Rodenbiker
jrodenbiker <at> rodenbiker.net

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

John Rodenbiker | 1 Mar 2007 21:55

Re: Where to unpack for section 6

On Mar 1, 2007, at 2:25 PM, Alan Lord wrote:

> John Rodenbiker wrote:
>> I'm about the wade into Section 6 of LFS 6.2-3 but have a question:
>> Where should I put and unpack the tarballs and patches?
>
> Once you have "chrooted" $LFS/sources will be /sources :-)
>
> Al

Thank you. I realized this about a minute after posting the question.

On Mar 1, 2007, at 2:22 PM, veritosproject <at> gmail.com wrote:

> On 3/1/07, John Rodenbiker <jrodenbiker <at> rodenbiker.net> wrote:
>> I'm about the wade into Section 6 of LFS 6.2-3 but have a question:
>> Where should I put and unpack the tarballs and patches?
>
> $LFS/sources works just fine still. And once everything is installed,
> it's a good idea to leave them in /usr/src.

Do you mean I should "mv /sources /usr/src" when I'm done?

Thanks again.

--

-- 
Freedom, Truth, Love, Beauty.
John Rodenbiker
jrodenbiker <at> rodenbiker.net

(Continue reading)

gerhardRamsebner | 1 Mar 2007 22:12
Picon

Re: chroot.libgcc

Ken Moffat: 

> On Tue, Feb 27, 2007 at 10:06:27PM +0100, Ramsebner Gerhard wrote:
>> Hi,
>  Hi, any chance you can fix your mailer?  (You claim to be
> <p0002040 <at> poseidon.linuxfromscratch.org>). 
> 
>> I got stuck with glibc in chapter 6 of LFS6.2.
>> I'm running a copy of LFS6.1 from another machine with an default.config 
>> kernel 2.6.20.1 and didn't experience any problems till now. But maybe this 
>> is an issue. So all I ask you is to have a quick look if there is any 
>> obvious mistake before I restart with a proper 2.6.16.27 kernel.
>> Thanks a lot!  
>> 
>>  ---
>> Errors at compile time (glibc-check-log):  
>> 
>> math: ldouble, ildoubl
>> nptl: mutex8, cond7, cond8, once3, once4, key3, basic3, basic4, join1, ...
>> rt: mqueue8  
>> 
> 
>  I know some people might take a different view, but I think going
> back to 2.6.16.27 would be a retrograde step.  Using Adrian's latest
> 2.6.16 (probably something around 2.6.16.41 at the moment) might
> give fewer errors, I don't know.  You might be the first person
> building that old glibc version on a 2.6.20.1 kernel.

To be sure I built a 2.6.16.42 kernel and went through the whole LFS tool 
contruction process but I'm ending up with exactly the same compilation 
(Continue reading)

Colin Kemp | 1 Mar 2007 23:25

Re: Retrieving Packages from LiveCD after chroot


On Mar 1, 2007, at 3:46 PM, John Rodenbiker wrote:

> I'm building LFS 6.2-3 from the Live CD to an i686-compatible  
> platform.
>
> Throughout section 5 I was copying tarballs and patches to $LFS/ 
> sources
> as needed.
>
next time remember that it did say to put all the sources in the  
source dir at the beginning of chapter 3
> I naively expected to do the same for section 6, but after mounting  
> the
> CD under the chroot it looks like the sources are trapped in a
> filesystem image.
>
> How can I access the sources on the CD from the chroot environment (if
> at all)?
>
i'm not sure that you can access an image with the tools you have  
now. im pretty new to linux, so i dont know if you are able to mount  
the image? other than that i dont think there is a way at this stage

> Thanks.
> -- 
> Freedom, Truth, Love, Beauty.
> John Rodenbiker
> jrodenbiker <at> rodenbiker.net
>
(Continue reading)


Gmane