On Tue, 9 Aug 2005 12:09:00 +0100 (BST), Ken Moffat wrote:
>On Tue, 9 Aug 2005, Lyn St George wrote:
>
>> Hallo all
>>
>> Hope someone here can help on this. Building LFS6.1, I've got
>> as far as ch 5.9, expect 5.43. It refuses to compile, claiming that
>> gcc is cross-compiling with:
>>
>> "WNOHANG requires _POSIX_SOURCE... configure: error: Expect can't be cross
>> compiled"
>>
>> Omitting the initial
>>
>> "env CC=${target}-gcc \"
>> from
>> "env CC=${target}-gcc \
>> ./configure --prefix=/tools --with-tcl=/tools/lib \
>> --with-tclinclude=../tcl8.4.10 --with-x=no"
>>
>> lets it compile, but then make fails with:
>> No rule to make target `pty_.c', needed by `pty_.o'
>>
>
> Hmm, I don't think you've got the right book there, Lyn. Certainly,
>the CC=${target}-gcc isn't in the 6.1 book, because it shows you are
>indeed cross-compiling. But, when people cros-compile, they don't build
>the test tools (tcl, expect, dejagnu) until considerably later. Also,
>LFS-6.1 was tcl-8.4.9.
>
> The fact you reference $target indicates you are cross-compiling, but
>the cross-lfs book happens to use $LFS_TARGET so you're deinitely not on
>that. Which book is it ?
Ah .. my error. This is the Hardened LFS book. (I had copied the pages
into .sh scripts, which were placed in the LFS-6.1 directory created when
the Automated LFS package untarred. Completely confused myself here ..)
I built an LFS5.1 system some time ago with the same system of copying
pages into .sh scripts, but now I have been given reason to build a
hardened version. Is this the wrong list then? Is the hardened version
perhaps not so well tested?
>Ken
>--
> das eine Mal als Tragödie, das andere Mal als Farce
>
>
-
Lyn
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page