Le 28-11-2014 11:41, [email protected] a écrit : 

> Le 28-11-2014 02:22, Pierre Labastie a écrit : 
> 
> Le 28/11/2014 05:17, [email protected] écrit :
> Le 27-11-2014 22:14, Bruce Dubbs a écrit : [email protected] 
> <mailto:[email protected]>wrote: Hi ! I have got 13 similar messages as 
> below [142] $ getfattr f g h | ../sort-getfattr-output -- failed /bin/sh: 
> ../sort-getfattr-output: /usr/bin/perl: bad interpreter: No such file or 
> directory != # file: f Here is a part of a nice looking full output 
> http://www.pierre-selosse.net/lfs/ [1] [1] Can I keep on? Did you get a good 
> install of perl ins Chapter 5? # /tools/bin/perl --version This is perl 5, 
> version 20, subversion 1 (v5.20.1) built for x86_64-linux -- Bruce LC_ALL is 
> not defined! ? root@lsf:~# /tools/bin/perl --version perl: warning: Setting 
> locale failed. perl: warning: Please check that your locale settings: 
> LANGUAGE = "fr_FR:fr", LC_ALL = (unset), LANG = "fr_FR.UTF-8" are supported 
> and installed on your system. perl: warning: Falling back to the standard 
> locale ("C").

Neither LANG nor LANGUAGE should be defined in chroot. I think Bruce 
meant to try "/tools/bin/perl --version" inside the chroot environment.

Haven't you overlooked this line: "ln -sv /tools/bin/perl /usr/bin" in 
chapter 6.6 Creating essential files and symlinks?

Pierre

Yes I run this command in root., not in chroot
In chroot , I got :
root:/# /tools/bin/perl --version 

This is perl 5, version 20, subversion 0 (v5.20.0) built for i686-linux

Copyright 1987-2014, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.

it's ok

I checked the history (in chroot). I created the links that you are
referring to
20 ln -sv /tools/bin/{bash,cat,echo,pwd,stty} /bin
26 ln -sv /tools/lib/perl /usr/bin
 27 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
 28 ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib
 29 sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
 30 ln -sv bash /bin/sh

_ I checked that I ran all the_ commands required in 6.6. Creating
Essential Files and Symlinks

Thanks for your help
Pierre

Here we are, I typed ln -sv /tools/lib/perl /usr/bin instead of ln -sv
/tools/bin/perl /usr/bin
I assume I have to fix it in chroot
, 

 

Links:
------
[1] http://www.pierre-selosse.net/lfs/
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to