Re: [lfs-support] Error during Glibc Installation

2012-01-16 Thread Andrew Benton
On Sun, 15 Jan 2012 22:50:06 +0530
Uthayanan suthaya...@gmail.com wrote:

 version-check.sh: line 22: /lib/libc.so.6: No such file or directory

Don't worry about this. Ubuntu's libc is fine.

 version-check.sh: line 32: makeinfo: command not found
 Texinfo:

You need to install texinfo.

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


Re: [lfs-support] Error during Glibc Installation

2012-01-16 Thread Uthayanan
On Mon, Jan 16, 2012 at 3:41 PM, Andrew Benton b3n...@gmail.com wrote:

 On Sun, 15 Jan 2012 22:50:06 +0530
 Uthayanan suthaya...@gmail.com wrote:

  version-check.sh: line 22: /lib/libc.so.6: No such file or directory

 Don't worry about this. Ubuntu's libc is fine.

  version-check.sh: line 32: makeinfo: command not found
  Texinfo:

 You need to install texinfo.

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


I installed every thing successfully up to 5.28 (patches) . During the make
process I got this following warning.

/mnt/lfs/Sources/patch-2.6.1/src/patch.c:1542: warning: the use of `mktemp'
is dangerous, better use `mkstemp'
lfsuthayan@ubuntu:/mnt/lfs/Sources/patch-2.6.1$

Do I need to consider fixing this ?

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


Re: [lfs-support] Error during Glibc Installation

2012-01-16 Thread Andrew Benton
On Mon, 16 Jan 2012 16:10:30 +0530
Uthayanan suthaya...@gmail.com wrote:

 I installed every thing successfully up to 5.28 (patches) . During the make
 process I got this following warning.
 
 /mnt/lfs/Sources/patch-2.6.1/src/patch.c:1542: warning: the use of `mktemp'
 is dangerous, better use `mkstemp'
 lfsuthayan@ubuntu:/mnt/lfs/Sources/patch-2.6.1$
 
 Do I need to consider fixing this ?

No, don't worry about warnings like that. That's for the patch
developers to worry about.

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


Re: [lfs-support] Error during Glibc Installation

2012-01-15 Thread Uthayanan
On Fri, Jan 13, 2012 at 8:51 PM, Andrew Benton b3n...@gmail.com wrote:

 On Fri, 13 Jan 2012 14:31:33 +0530
 Uthayanan suthaya...@gmail.com wrote:

  Hi Firerat I tried installing the system with gawk. This time I got the
  following error. Any suggestions ?

 I suggest that you run version-check.sh and post the results here.
 http://www.linuxfromscratch.org/lfs/view/development/prologue/hostreqs.html

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


Hi Andrew,

Here's my version check,

lfsuthayan@ubuntu:~$ bash version-check.sh
bash, version 4.2.8(1)-release
/bin/sh - /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327
bison (GNU Bison) 2.4.1
/usr/bin/yacc - /usr/bin/bison.yacc
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  8.5
diff (GNU diffutils) 3.0
find (GNU findutils) 4.4.2
GNU Awk 3.1.7
/usr/bin/awk - /usr/bin/gawk
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
version-check.sh: line 22: /lib/libc.so.6: No such file or directory
GNU grep 2.6.3
gzip 1.3.12
Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc version 4.5.2
(Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011
m4 (GNU M4) 1.4.14
GNU Make 3.81
patch 2.6
Perl version='5.10.1';
GNU sed version 4.2.1
tar (GNU tar) 1.25
version-check.sh: line 32: makeinfo: command not found
Texinfo:
xz (XZ Utils) 5.0.0
Compilation OK
lfsuthayan@ubuntu:~$


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


Re: [lfs-support] Error during Glibc Installation

2012-01-15 Thread Uthayanan
On Sun, Jan 15, 2012 at 10:50 PM, Uthayanan suthaya...@gmail.com wrote:



 On Fri, Jan 13, 2012 at 8:51 PM, Andrew Benton b3n...@gmail.com wrote:

 On Fri, 13 Jan 2012 14:31:33 +0530
 Uthayanan suthaya...@gmail.com wrote:

  Hi Firerat I tried installing the system with gawk. This time I got the
  following error. Any suggestions ?

 I suggest that you run version-check.sh and post the results here.

 http://www.linuxfromscratch.org/lfs/view/development/prologue/hostreqs.html

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


 Hi Andrew,

 Here's my version check,

 lfsuthayan@ubuntu:~$ bash version-check.sh
 bash, version 4.2.8(1)-release
 /bin/sh - /bin/bash
 Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327
 bison (GNU Bison) 2.4.1
 /usr/bin/yacc - /usr/bin/bison.yacc
 bzip2,  Version 1.0.5, 10-Dec-2007.
 Coreutils:  8.5
 diff (GNU diffutils) 3.0
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.7
 /usr/bin/awk - /usr/bin/gawk
 gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
 version-check.sh: line 22: /lib/libc.so.6: No such file or directory
 GNU grep 2.6.3
 gzip 1.3.12
 Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc version 4.5.2
 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011
 m4 (GNU M4) 1.4.14
 GNU Make 3.81
 patch 2.6
 Perl version='5.10.1';
 GNU sed version 4.2.1
 tar (GNU tar) 1.25
 version-check.sh: line 32: makeinfo: command not found
 Texinfo:
 xz (XZ Utils) 5.0.0
 Compilation OK
 lfsuthayan@ubuntu:~$


 --
 Regards,
 s uthay



There's no glibc in ubuntu so I did try to install that to the host system.
I got the following output

root@ubuntu:/mnt/lfs# cd glibc-2.14.1

root@ubuntu:/mnt/lfs/glibc-2.14.1# ./configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking how to run the C preprocessor... gcc -E

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

configure: error: you must configure in a separate build directory



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


Re: [lfs-support] Error during Glibc Installation

2012-01-15 Thread Matijn Woudt
On Sun, Jan 15, 2012 at 6:21 PM, Uthayanan suthaya...@gmail.com wrote:


 On Sun, Jan 15, 2012 at 10:50 PM, Uthayanan suthaya...@gmail.com wrote:



 On Fri, Jan 13, 2012 at 8:51 PM, Andrew Benton b3n...@gmail.com wrote:

 On Fri, 13 Jan 2012 14:31:33 +0530
 Uthayanan suthaya...@gmail.com wrote:

  Hi Firerat I tried installing the system with gawk. This time I got the
  following error. Any suggestions ?

 I suggest that you run version-check.sh and post the results here.

 http://www.linuxfromscratch.org/lfs/view/development/prologue/hostreqs.html

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


 Hi Andrew,

 Here's my version check,

 lfsuthayan@ubuntu:~$ bash version-check.sh
 bash, version 4.2.8(1)-release
 /bin/sh - /bin/bash
 Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327
 bison (GNU Bison) 2.4.1
 /usr/bin/yacc - /usr/bin/bison.yacc
 bzip2,  Version 1.0.5, 10-Dec-2007.
 Coreutils:  8.5
 diff (GNU diffutils) 3.0
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.7
 /usr/bin/awk - /usr/bin/gawk
 gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
 version-check.sh: line 22: /lib/libc.so.6: No such file or directory
 GNU grep 2.6.3
 gzip 1.3.12
 Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc version 4.5.2
 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011
 m4 (GNU M4) 1.4.14
 GNU Make 3.81
 patch 2.6
 Perl version='5.10.1';
 GNU sed version 4.2.1
 tar (GNU tar) 1.25
 version-check.sh: line 32: makeinfo: command not found
 Texinfo:
 xz (XZ Utils) 5.0.0
 Compilation OK
 lfsuthayan@ubuntu:~$


 --
 Regards,
 s uthay



 There's no glibc in ubuntu so I did try to install that to the host system.
 I got the following output

Every Linux box has some variant of libc installed, IIRC ubuntu uses
EGLIBC. Your libc.so.6 is probably not in /lib, are you using a 64bit
system perhaps? Mine are installed in /lib32/libc.so.6 and
/lib/x86_64-linux-gnu/libc.so.6.

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


Re: [lfs-support] Error during Glibc Installation

2012-01-15 Thread Bruce Dubbs
Uthayanan wrote:

 lfsuthayan@ubuntu:~$ bash version-check.sh
 bash, version 4.2.8(1)-release
 /bin/sh - /bin/bash
 Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327
 bison (GNU Bison) 2.4.1
 /usr/bin/yacc - /usr/bin/bison.yacc
 bzip2,  Version 1.0.5, 10-Dec-2007.
 Coreutils:  8.5
 diff (GNU diffutils) 3.0
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.7
 /usr/bin/awk - /usr/bin/gawk
 gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
 version-check.sh: line 22: /lib/libc.so.6: No such file or directory

We just changed this in svn.  Use:

ldd --version | head -n1 | cut -d  -f2-

 GNU grep 2.6.3
 gzip 1.3.12
 Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc version 4.5.2
 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011
 m4 (GNU M4) 1.4.14
 GNU Make 3.81
 patch 2.6
 Perl version='5.10.1';
 GNU sed version 4.2.1
 tar (GNU tar) 1.25
 version-check.sh: line 32: makeinfo: command not found
 Texinfo:

Install texinfo.

 xz (XZ Utils) 5.0.0
 Compilation OK

The other prereqs are OK.

 There's no glibc in ubuntu so I did try to install that to the host system.

Don't do that.

   -- 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] Error during Glibc Installation

2012-01-15 Thread Uthayanan
On Mon, Jan 16, 2012 at 12:27 AM, Bruce Dubbs bruce.du...@gmail.com wrote:

 Uthayanan wrote:

  lfsuthayan@ubuntu:~$ bash version-check.sh
  bash, version 4.2.8(1)-release
  /bin/sh - /bin/bash
  Binutils: (GNU Binutils for Ubuntu) 2.21.0.20110327
  bison (GNU Bison) 2.4.1
  /usr/bin/yacc - /usr/bin/bison.yacc
  bzip2,  Version 1.0.5, 10-Dec-2007.
  Coreutils:  8.5
  diff (GNU diffutils) 3.0
  find (GNU findutils) 4.4.2
  GNU Awk 3.1.7
  /usr/bin/awk - /usr/bin/gawk
  gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
  version-check.sh: line 22: /lib/libc.so.6: No such file or directory

 We just changed this in svn.  Use:

 ldd --version | head -n1 | cut -d  -f2-

  GNU grep 2.6.3
  gzip 1.3.12
  Linux version 2.6.38-8-generic (buildd@vernadsky) (gcc version 4.5.2
  (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC
 2011
  m4 (GNU M4) 1.4.14
  GNU Make 3.81
  patch 2.6
  Perl version='5.10.1';
  GNU sed version 4.2.1
  tar (GNU tar) 1.25
  version-check.sh: line 32: makeinfo: command not found
  Texinfo:

 Install texinfo.

  xz (XZ Utils) 5.0.0
  Compilation OK

 The other prereqs are OK.

  There's no glibc in ubuntu so I did try to install that to the host
 system.

 Don't do that.

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


Thanks for the Info guys !!! I did erase the virtual harddisk and start
from scratch (:)) and followed your advise. It worked :) . I successfully
install Glibc
in my test partition... Thanks again..for the help

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


Re: [lfs-support] Error during Glibc Installation

2012-01-13 Thread Uthayanan
Hi Firerat I tried installing the system with gawk. This time I got the
following error. Any suggestions ?

make[2]: *** No rule to make target
`/mnt/lfs/sourcenew/glibc-build/dlfcn/libdl.so.2', needed by
`/mnt/lfs/sourcenew/glibc-build/elf/sprof'.  Stop.
make[2]: Leaving directory `/mnt/lfs/sourcenew/glibc-2.14.1/elf'
make[1]: *** [elf/subdir_install] Error 2
make[1]: Leaving directory `/mnt/lfs/sourcenew/glibc-2.14.1'
make: *** [install] Error 2
lfsuthayan@ubuntu:/mnt/lfs/sourcenew/glibc-build$


On Thu, Jan 12, 2012 at 3:00 PM, Firerat fire...@googlemail.com wrote:


 On Jan 12, 2012 9:08 AM, Uthayanan suthaya...@gmail.com wrote:
 
  Hi Firerat,
 
  Thanks for the input . Could you please guide me through the process ...
 Or share me any link which guides the above process.
 

 It looks like you are using Ubuntu, had a quick look and it seems mawk is
 required for some Ubuntu admin type stuff, so we shall just install gawk

 sudo apt-get install gawk

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




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


Re: [lfs-support] Error during Glibc Installation

2012-01-13 Thread Firerat
On Jan 13, 2012 9:02 AM, Uthayanan suthaya...@gmail.com wrote:

 Hi Firerat I tried installing the system with gawk. This time I got the
following error. Any suggestions ?

 make[2]: *** No rule to make target
`/mnt/lfs/sourcenew/glibc-build/dlfcn/libdl.so.2', needed by
`/mnt/lfs/sourcenew/glibc-build/elf/sprof'.  Stop.
 make[2]: Leaving directory `/mnt/lfs/sourcenew/glibc-2.14.1/elf'
 make[1]: *** [elf/subdir_install] Error 2
 make[1]: Leaving directory `/mnt/lfs/sourcenew/glibc-2.14.1'
 make: *** [install] Error 2
 lfsuthayan@ubuntu:/mnt/lfs/sourcenew/glibc-build$

That does look odd
glibc is the package that provides libdl.so, so I don't understand why it
can't find a rule to make it!

Have you tried deleting glibc-build and starting 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] Error during Glibc Installation

2012-01-13 Thread Uthayanan
Yeah I did delete that and start from start. Anyway thanks for the info.
I'll  try this weekend and update you about the progress...


On Fri, Jan 13, 2012 at 7:21 PM, Firerat fire...@googlemail.com wrote:


 On Jan 13, 2012 9:02 AM, Uthayanan suthaya...@gmail.com wrote:
 
  Hi Firerat I tried installing the system with gawk. This time I got the
 following error. Any suggestions ?
 
  make[2]: *** No rule to make target
 `/mnt/lfs/sourcenew/glibc-build/dlfcn/libdl.so.2', needed by
 `/mnt/lfs/sourcenew/glibc-build/elf/sprof'.  Stop.
  make[2]: Leaving directory `/mnt/lfs/sourcenew/glibc-2.14.1/elf'
  make[1]: *** [elf/subdir_install] Error 2
  make[1]: Leaving directory `/mnt/lfs/sourcenew/glibc-2.14.1'
  make: *** [install] Error 2
  lfsuthayan@ubuntu:/mnt/lfs/sourcenew/glibc-build$

 That does look odd
 glibc is the package that provides libdl.so, so I don't understand why it
 can't find a rule to make it!

 Have you tried deleting glibc-build and starting again?

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




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


Re: [lfs-support] Error during Glibc Installation

2012-01-13 Thread Andrew Benton
On Fri, 13 Jan 2012 14:31:33 +0530
Uthayanan suthaya...@gmail.com wrote:

 Hi Firerat I tried installing the system with gawk. This time I got the
 following error. Any suggestions ?

I suggest that you run version-check.sh and post the results here.
http://www.linuxfromscratch.org/lfs/view/development/prologue/hostreqs.html

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


Re: [lfs-support] Error during Glibc Installation

2012-01-12 Thread Uthayanan
Hi Firerat,

Thanks for the input . Could you please guide me through the process ... Or
share me any link which guides the above process.





On Thu, Jan 12, 2012 at 11:18 AM, Firerat fire...@googlemail.com wrote:


 On Jan 12, 2012 5:43 AM, Uthayanan suthaya...@gmail.com wrote:
 
 
  Hi Group,
 
  I got the following error during my Glibc installation process. Is this
 a known issue ? Please help me on this.
 
 
 
 
  mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed
 (bad class -- [], [^] or [)
  /[^

 
 

  Thanks.
 
  --
  Regards,
  s uthay
 

 someone, sorry I can't remember who, pointed out that mawk wasn't very
 good with glibc.
 Uninstall mawk and install gawk on your host  system and you should be
 fine (run configure again)

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




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


Re: [lfs-support] Error during Glibc Installation

2012-01-12 Thread Firerat
On Jan 12, 2012 9:08 AM, Uthayanan suthaya...@gmail.com wrote:

 Hi Firerat,

 Thanks for the input . Could you please guide me through the process ...
Or share me any link which guides the above process.


It looks like you are using Ubuntu, had a quick look and it seems mawk is
required for some Ubuntu admin type stuff, so we shall just install gawk

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


Re: [lfs-support] Error during Glibc Installation

2012-01-11 Thread Firerat
On Jan 12, 2012 5:43 AM, Uthayanan suthaya...@gmail.com wrote:


 Hi Group,

 I got the following error during my Glibc installation process. Is this a
known issue ? Please help me on this.




 mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed
(bad class -- [], [^] or [)
 /[^



 Thanks.

 --
 Regards,
 s uthay


someone, sorry I can't remember who, pointed out that mawk wasn't very good
with glibc.
Uninstall mawk and install gawk on your host  system and you should be fine
(run configure again)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page