Re: [lfs-support] Problem compiling glibc lfs-book-7.2

2012-12-10 Thread Michael zachar
On Tue, Dec 11, 2012, at 9:24, Bruce Dubbs wrote:
> Michael zachar wrote:
> 
> > This is where it fail to create them saing that file or directory does
> > not exist
> >
> > Then I run command "localedef"  by itself and message is that cannot run
> > cannot find version 2.15.
> 
> I'm not sure what you did, but you should get:
> 
> $ localedef -V
> localedef (GNU libc) 2.16
> Copyright (C) 2012 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> Written by Ulrich Drepper.
> 
> What is the result of `echo $PATH`?
> 
> You should also be able to execute /lib/libc-2.16.so and get:
> 
> GNU C Library stable release version 2.16, by Roland McGrath et al.
> Copyright (C) 2012 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 4.7.1.
> Compiled on a Linux 3.5.2 system on 2012-08-22.
> Available extensions:
>  crypt add-on version 2.1 by Michael Glad and others
>  GNU Libidn by Simon Josefsson
>  Native POSIX Threads Library by Ulrich Drepper et al
>  BIND-8.2.3-T5B
> libc ABIs: UNIQUE IFUNC
> For bug reporting instructions, please see:
> .
> 
> 
> You can also try to see what the following gives:
> 
> $ ldd /usr/bin/localedef
>  linux-vdso.so.1 (0x7fff6abd3000)
>  libc.so.6 => /lib/libc.so.6 (0x7f0956b03000)
>  /lib64/ld-linux-x86-64.so.2 (0x7f0956ea8000)
> 
> Note that at this point you should only have about 20 executables in 
> /bin and /usr/bin.  Everything else is in /tools.
> 
>-- bruce
> 
> 
>-- Bruce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

Going back to compiling and to investigate. As long as no one else had
same problems, problem Is on mine side.
Even that much to know, is help already.

Thanks for Your time.

Regards 

-- 
  Michael zachar
  michaelzac...@fastmail.fm

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
  love email again

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


Re: [lfs-support] Problem compiling glibc lfs-book-7.2

2012-12-10 Thread Bruce Dubbs
Michael zachar wrote:

> This is where it fail to create them saing that file or directory does
> not exist
>
> Then I run command "localedef"  by itself and message is that cannot run
> cannot find version 2.15.

I'm not sure what you did, but you should get:

$ localedef -V
localedef (GNU libc) 2.16
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.

What is the result of `echo $PATH`?

You should also be able to execute /lib/libc-2.16.so and get:

GNU C Library stable release version 2.16, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.7.1.
Compiled on a Linux 3.5.2 system on 2012-08-22.
Available extensions:
 crypt add-on version 2.1 by Michael Glad and others
 GNU Libidn by Simon Josefsson
 Native POSIX Threads Library by Ulrich Drepper et al
 BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
.


You can also try to see what the following gives:

$ ldd /usr/bin/localedef
 linux-vdso.so.1 (0x7fff6abd3000)
 libc.so.6 => /lib/libc.so.6 (0x7f0956b03000)
 /lib64/ld-linux-x86-64.so.2 (0x7f0956ea8000)

Note that at this point you should only have about 20 executables in 
/bin and /usr/bin.  Everything else is in /tools.

   -- bruce


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


Re: [lfs-support] Problem compiling glibc lfs-book-7.2

2012-12-10 Thread Michael zachar


On Tue, Dec 11, 2012, at 8:34, Bruce Dubbs wrote:
> Michael zachar wrote:
> > Downloaded version of glibc-2.16.0 from www.gnu.org while not modified
> > according to MD5 sum wont compile correctly as after make install locale
> > and localedef would not  create individual locales.
> >
> > What i found is that both above programs require version 2.15 when
> > actual version installed is 2.16.
> 
> Your problem is not clear.  I take it you are in Chapter 6.  What are 
> the error messages you are getting?
> 
> There is no 'make install locale' command.  You need to be precise in 
> the commands you executed and the errors encountered.  We can't help 
> otherwise.
> 
> It sounds, however, like you are not in chroot or the environment in 
> chroot is not correct.
> 
>-- Bruce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

I have actualy compiled the library and installed it. But instructions
next create locales

mkdir -pv /usr/lib/locale
localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
localedef -i de_DE -f ISO-8859-1 de_DE
localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
localedef -i de_DE -f UTF-8 de_DE.UTF-8
localedef -i en_GB -f UTF-8 en_GB.UTF-8
localedef -i en_HK -f ISO-8859-1 en_HK
localedef -i en_PH -f ISO-8859-1 en_PH
localedef -i en_US -f ISO-8859-1 en_US
localedef -i en_US -f UTF-8 en_US.UTF-8
localedef -i es_MX -f ISO-8859-1 es_MX
localedef -i fa_IR -f UTF-8 fa_IR
localedef -i fr_FR -f ISO-8859-1 fr_FR
localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
localedef -i it_IT -f ISO-8859-1 it_IT
localedef -i it_IT -f UTF-8 it_IT.UTF-8
localedef -i ja_JP -f EUC-JP ja_JP
localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
localedef -i zh_CN -f GB18030 zh_CN.GB18030

This is where it fail to create them saing that file or directory does
not exist

Then I run command "localedef"  by itself and message is that cannot run
cannot find version 2.15.

I have run grep on sources an there come up a lot of references to 2.15
, may not have any effect at all on compilation
but where then came the version from?  System on which I am building
uses 2.12 version of glibc

errors that come up during make check phase correspond closely to what
is mentioned in book. it is localdef which
was just compiled and installed from glibc-2.16.0 that is asking for
version 2.15 libraries while libraries are installed as version 2.16 

And I am in chroot and environment is correct, that is first thing i
have checked. Statement "make install locale
and localedef" should have been "make install, locale and localedef"
bouth being programs requesting version 2.15
despite being compiled in version 2.16.

 i am also compiling quite few years already and this is first time I
 have come across such problem .

if nothing else helps I will recompile /tool Just in case something may
have gone wrong there. Still I am baffled.

Regards
-- 
  Michael zachar
  michaelzac...@fastmail.fm

-- 
http://www.fastmail.fm - Send your email first class

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


Re: [lfs-support] Problem compiling glibc lfs-book-7.2

2012-12-10 Thread Bruce Dubbs
Michael zachar wrote:
> Downloaded version of glibc-2.16.0 from www.gnu.org while not modified
> according to MD5 sum wont compile correctly as after make install locale
> and localedef would not  create individual locales.
>
> What i found is that both above programs require version 2.15 when
> actual version installed is 2.16.

Your problem is not clear.  I take it you are in Chapter 6.  What are 
the error messages you are getting?

There is no 'make install locale' command.  You need to be precise in 
the commands you executed and the errors encountered.  We can't help 
otherwise.

It sounds, however, like you are not in chroot or the environment in 
chroot is not correct.

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


[lfs-support] Problem compiling glibc lfs-book-7.2

2012-12-10 Thread Michael zachar
Downloaded version of glibc-2.16.0 from www.gnu.org while not modified
according to MD5 sum wont compile correctly as after make install locale
and localedef would not  create individual locales.

What i found is that both above programs require version 2.15 when
actual version installed is 2.16.
What I cannot understand how You have not come up against the same
problem? 

Since compiling from correct version in chroot environment any
explanation seems to be problem in src

Anyone came against same problem?

Regards

-- 
  Michael zachar
  michaelzac...@fastmail.fm

-- 
http://www.fastmail.fm - mmm... Fastmail...

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