Re: [lfs-support] Perl-5.7.3

2017-06-28 Thread Ken Moffat
On Wed, Jun 28, 2017 at 10:47:14AM -0400, Isaac D. Cohen wrote:
> 
> I found the problem. When I check up that path to see if I have
> Encode.pm I found that my perl directory was called per15 instead
> of perl5. It must have happened as a result of the font in the book
> which makes it a bit hard to see the difference between l and 1.
> When I type in such commands in the future I'll try to be more
> careful to copy them correctly.
> 
> Thank you very much,
> Isaac D. Cohen
> 

Fonts can be a bit of a pain when you don't know what text to expect
(digit one, lowercase l, uppercase I can sometimes look alike, also
digit zero and capital O).  I suggest that you find a better font for
your *host* system's browser.

I'll assume you are doing this in Xorg.  First, look at your
browser's setup to find which font(s) you are using.  Then look for
alternatives which are provided by your distro.  You might even have
them already installed.  You probably need to look at both monospace
and sans serif fonts.

A good place to begin is probably DejaVu.  GNU Freefont should also
be good, but perhaps not bold enough.  I think you said you were
using ubuntu - the ubuntu fonts do distinguish l and 1.

I have PDF examples of how fonts look when used for text - my
interest is in getting good language coverage, but the language
examples should have enough English text to give a feel for how the
font looks.

If you are interested, see http://zarniwhoop.uk/ttf-otf-notes.html
The PDFs in the 'Langs' links show how the font appears (provided it
covers English text).  I mostly use firefox as my main browser, that
can be set to open PDFs itself.

At this stage, if you need to add fonts to your host system then
search for fonts provided by your distro.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
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


Re: [lfs-support] Perl-5.7.3

2017-06-28 Thread Isaac D. Cohen
 On Tue, 27 Jun 2017 21:01:17 -0400 Ken Moffat 
 wrote  
On Tue, Jun 27, 2017 at 06:33:30PM -0400, Isaac D. Cohen wrote:
> Hi,
> 
> I'm now up to section 5.33.1 (compiling texinfo) and the configure
> script gives me a strange error:
> 
> checking for perl... /tools/bin/perl
> checking Perl version and Encode module... no
> configure: error: perl >= 5.7.3 with Encode required by Texinfo.
> 

Do you have /tools/lib/perl5/5.24.1/Encode.pm ?

If not, where is Encode.pm from your perl install ?

I'm thinking this might be another example of what happens when you
build other than in /mnt/lfs.

=

I found the problem. When I check up that path to see if I have
Encode.pm I found that my perl directory was called per15 instead
of perl5. It must have happened as a result of the font in the book
which makes it a bit hard to see the difference between l and 1.
When I type in such commands in the future I'll try to be more
careful to copy them correctly.

Thank you very much,
Isaac D. Cohen



-- 
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


Re: [lfs-support] Perl-5.7.3

2017-06-27 Thread Hazel Russman
On Wed, 28 Jun 2017 02:01:17 +0100
Ken Moffat  wrote:

> On Tue, Jun 27, 2017 at 06:33:30PM -0400, Isaac D. Cohen wrote:
> > Hi,
> > 
> > I'm now up to section 5.33.1 (compiling texinfo) and the configure
> > script gives me a strange error:
> > 
> > checking for perl... /tools/bin/perl
> > checking Perl version and Encode module... no
> > configure: error: perl >= 5.7.3 with Encode required by Texinfo.
> >   
> 
> Do you have /tools/lib/perl5/5.24.1/Encode.pm ?
> 
> If not, where is Encode.pm from your perl install ?
> 
> I'm thinking this might be another example of what happens when you
> build other than in /mnt/lfs.
> 
> ĸen
> -- 
How can it make a difference where you build, as long as you have $LFS set for 
both root and the lfs user, and 
/tools points to $LFS/tools?
-- 

H Russman
-- 
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


Re: [lfs-support] Perl-5.7.3

2017-06-27 Thread Ken Moffat
On Tue, Jun 27, 2017 at 06:33:30PM -0400, Isaac D. Cohen wrote:
> Hi,
> 
> I'm now up to section 5.33.1 (compiling texinfo) and the configure
> script gives me a strange error:
> 
> checking for perl... /tools/bin/perl
> checking Perl version and Encode module... no
> configure: error: perl >= 5.7.3 with Encode required by Texinfo.
> 

Do you have /tools/lib/perl5/5.24.1/Encode.pm ?

If not, where is Encode.pm from your perl install ?

I'm thinking this might be another example of what happens when you
build other than in /mnt/lfs.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
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


[lfs-support] Perl-5.7.3

2017-06-27 Thread Isaac D. Cohen
Hi,

I'm now up to section 5.33.1 (compiling texinfo) and the configure
script gives me a strange error:

checking for perl... /tools/bin/perl
checking Perl version and Encode module... no
configure: error: perl >= 5.7.3 with Encode required by Texinfo.

A quick search revealed that someone has had this problem in the past.
But in his case it seemed like the problem was that he was not logged
in as the LFS user and therefore his PATH variable was not set
correctly (thus he was using the host's perl). However, in my case my
PATH variable is set correctly and it is looking at perl in
/tools/bin. So what could be the problem?

The command "perl -version" returns:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl 5, version 24, subversion 1 (v5.24.1) built for
x86_64-linux

Copyright 1987-2017, 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.


What can be the problem?

Thank you very much,
Isaac D. Cohen

-- 
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