Re: Tool backup methods

2010-01-27 Thread Simon Geard
On Tue, 2010-01-26 at 12:45 +, Andrew Benton wrote:
 Personally I never use info. If I can't find what I need in the man page 
 I do what the OP did and use Google.

Likewise, since I find 'info' quite unusable. Nonetheless, I believe
that's the reason 'tar' doesn't have a manpage - because it's developers
would rather use 'info'.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Inetutils and ifconfig

2010-01-27 Thread Johnneylee Rollins
Hey, is it possible to use ifconfig to configure my network
interfaces? If I can, do I just leave off --disable-ifconfig in the
configure step?
If this isn't the best decision, I would love to know why. I'm rather curious.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Dmitry Sokolov
I tried to unpack (unbzip) package linux-2.6.30.2.tar.bz2, result:tar: 
bzip2: Cannot exec: Permission deniedError is not recoverable: exiting 
nowBecause of what it on yours?LFS 6.5 Stable from 
http://www.linuxfromscratch.org/lfs/downloads/stable/
Packages downloaded from wget list
LiveCD lfslivecd-x86_64-6.3-r2160--Dmitry 

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


[CorrectedText] Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Dmitry Sokolov
I tried to unpack (unbzip) package linux-2.6.30.2.tar.bz2, result:

tar: bzip2: Cannot exec: Permission denied.
...Error is not recoverable: exiting now.
...

Because of what it on yours?

LFS 6.5 Stable from http://www..linuxfromscratch.org/lfs/downloads/stable/
Packages downloaded from wget list
LiveCD lfslivecd-x86_64-6.3-r2160

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


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Ken Moffat
2010/1/27 Dmitry Sokolov sokolo...@inbox.ru:
 I tried to unpack (unbzip) package linux-2.6.30.2.tar.bz2, result:tar:
 bzip2: Cannot exec: Permission deniedError is not recoverable: exiting
 nowBecause of what it on yours?LFS 6.5 Stable from
 http://www.linuxfromscratch.org/lfs/downloads/stable/
 Packages downloaded from wget list
 LiveCD lfslivecd-x86_64-6.3-r2160--Dmitry

 Please stop spamming the list by resending this!

 What do you get for
ldd /tools/bin/bzip2  ?

 It should be something like
#ldd /tools/bin/bzip2
linux-vdso.so.1 =  (0x7fff979ff000)
libc.so.6 = /tools/lib/libc.so.6 (0x7fb30dd3c000)
/tools/lib64/ld-linux-x86-64.so.2 (0x7fb30e092000)

 I'm assuming you either linked it to host libraries,
or else you've missed the /lib64 symlink for x86_64.

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Inetutils and ifconfig

2010-01-27 Thread stosss
On Wed, Jan 27, 2010 at 4:36 AM, Johnneylee Rollins
johnneylee.roll...@gmail.com wrote:
 Hey, is it possible to use ifconfig to configure my network
 interfaces? If I can, do I just leave off --disable-ifconfig in the
 configure step?
 If this isn't the best decision, I would love to know why. I'm rather curious.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 --disable-ifconfig

This option prevents Inetutils from installing the ifconfig
program, which can be used to configure network interfaces. LFS uses
ip from IPRoute2 to perform this task.

They are doing this to eliminate duplicate tools.

ifconfig and IPRoute2 work side by side on any distro I have used.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Inetutils and ifconfig

2010-01-27 Thread Johnneylee Rollins
snip
  --disable-ifconfig

    This option prevents Inetutils from installing the ifconfig
 program, which can be used to configure network interfaces. LFS uses
 ip from IPRoute2 to perform this task.

 They are doing this to eliminate duplicate tools.

 ifconfig and IPRoute2 work side by side on any distro I have used.
So, what if I've moved past that step, how could I reinstall inetutils
with ifconfig?
Thanks for answering.

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

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


Re: Inetutils and ifconfig

2010-01-27 Thread Johnneylee Rollins
On Wed, Jan 27, 2010 at 10:06 AM, stosss sto...@gmail.com wrote:
 On Wed, Jan 27, 2010 at 12:44 PM, Johnneylee Rollins
 johnneylee.roll...@gmail.com wrote:
 snip
  --disable-ifconfig

    This option prevents Inetutils from installing the ifconfig
 program, which can be used to configure network interfaces. LFS uses
 ip from IPRoute2 to perform this task.

 They are doing this to eliminate duplicate tools.

 ifconfig and IPRoute2 work side by side on any distro I have used.
 So, what if I've moved past that step, how could I reinstall inetutils
 with ifconfig?
 Thanks for answering.

 Your welcome

 You can just run the commands for Inetutils step again. It will just
 over write the existing information and probably not break anything
 unless a step later changes something that was done in the Inetutils
 step.
You're a saint. Thank you so much.
/cookie

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

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


Re: Error while installing e2fsprogs-1.41.8

2010-01-27 Thread Bruce Dubbs
Aditya Bankar wrote:

  98 tests succeeded  4 tests failed

This is normal.  The functions that fail are rarely used, but you might 
want to try e2fsprogs-1.41.9.

 I tried to install this, I ignored the errors. But it complains while 
 installing. It says:
 
 You don't have a working TeX binary (tex) installed anywhere in
 your PATH, and texi2dvi cannot proceed without one.  If you want to use
 this script, you'll need to install TeX (if you don't have it) or change
 your PATH or TEX environment variable (if you do).  See the --help
 output for more details.
 
 But I checked that texi2dvi is installed and it can be found on my system.

It's trying to build .dvi documentation and TeX is needed for that. 
Right after that you should see:

make[2]: [libext2fs.dvi] Error 1 (ignored)

Look at docs/Makefile.in to see what is happening.

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


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Justin P. Mattock
On 01/27/10 07:04, Dmitry Sokolov wrote:
 I tried to unpack (unbzip) package linux-2.6.30.2.tar.bz2, result:
 tar: bzip2: Cannot exec: Permission denied.
 ...Error is not recoverable: exiting now.
 ...



 Because of what it on yours?
 LFS 6.5 Stable fromhttp://www.linuxfromscratch.org/lfs/downloads/stable/
 Packages downloaded from wget list
 LiveCD lfslivecd-x86_64-6.3-r2160

 --
 Dmitry



does your home directory have the proper permissions?
i.g. chown name:name /home/name

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


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Andrew Benton
On 27/01/10 19:13, Justin P. Mattock wrote:
 does your home directory have the proper permissions?
 i.g. chown name:name /home/name


In LFS we compile in $LFS/sources which should have been chown lfs when 
you created the user lfs

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


LFS 6.5 - 8.3.1

2010-01-27 Thread Johnneylee Rollins
root:/sources/linux-2.6.30.2# make LANG=en_US.UTF-8 LC_ALL= menuconfig
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer
will break strict-aliasing rules
scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer
will break strict-aliasing rules
gcc: error trying to exec 'as': execvp: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
root:/sources/linux-2.6.30.2#

That's what I got when I tried to run the first command. Does this
mean that GCC is broken?
What should I do from here? Everything else went brilliantly.

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


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Justin P. Mattock
On 01/27/10 13:27, Andrew Benton wrote:
 On 27/01/10 19:13, Justin P. Mattock wrote:
 does your home directory have the proper permissions?
 i.g. chown name:name /home/name


 In LFS we compile in $LFS/sources which should have been chown lfs when
 you created the user lfs

 Andy

Oops..
I didn't really follow the book step by step.
ended up building in my home dir instead of /tools

as for the kernel even a tar xvjf *.tar.bz2
(breaks?)

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


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread linux fan
On 1/27/10, Andrew Benton b3n...@gmail.com wrote:
 On 27/01/10 19:13, Justin P. Mattock wrote:
 does your home directory have the proper permissions?
 i.g. chown name:name /home/name


 In LFS we compile in $LFS/sources which should have been chown lfs when
 you created the user lfs


I tested unpacking in a direcory in which I did not have write
permission and got different errors:

tar: linux-2.6.30.2: Cannot mkdir: Permission denied
Plus about one million ... Cannot open: No such file or directory ... messages

There was no complaint about executing bzip2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread linux fan
On 1/27/10, Justin P. Mattock justinmatt...@gmail.com wrote:
 Oops..
 I didn't really follow the book step by step.

The best results are by following the book instructions. Especially in
chapter 6 those first steps must be done correctly:

Set $LFS correctly
Preparing Virtual Kernel File Systems
Entering the Chroot Environment
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.5 - 8.3.1

2010-01-27 Thread Bruce Dubbs
Johnneylee Rollins wrote:
 root:/sources/linux-2.6.30.2# make LANG=en_US.UTF-8 LC_ALL= menuconfig
   HOSTCC  scripts/basic/fixdep
 scripts/basic/fixdep.c: In function ‘traps’:

 gcc: error trying to exec 'as': execvp: No such file or directory

 make[1]: *** [scripts/basic/fixdep] Error 1
 make: *** [scripts_basic] Error 2
 root:/sources/linux-2.6.30.2#
 
 That's what I got when I tried to run the first command. Does this
 mean that GCC is broken?
 What should I do from here? Everything else went brilliantly.

It looks like it can't find the assembler.  You should have /usr/bin/as. 
  That's built as a part of binutils.

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


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread Justin P. Mattock
On 01/27/10 14:23, linux fan wrote:
 On 1/27/10, Justin P. Mattockjustinmatt...@gmail.com  wrote:
 Oops..
 I didn't really follow the book step by step.

 The best results are by following the book instructions. Especially in
 chapter 6 those first steps must be done correctly:

 Set $LFS correctly
 Preparing Virtual Kernel File Systems
 Entering the Chroot Environment

yeah your right.. In this case
I just made sure the permissions are set
correctly so I don't have to build anything
as root.(only root command is make install);

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


Re: LFS 6.5 - 8.3.1

2010-01-27 Thread Johnneylee Rollins
On Wed, Jan 27, 2010 at 2:24 PM, Bruce Dubbs bruce.du...@gmail.com wrote:
 Johnneylee Rollins wrote:
 root:/sources/linux-2.6.30.2# make LANG=en_US.UTF-8 LC_ALL= menuconfig
   HOSTCC  scripts/basic/fixdep
 scripts/basic/fixdep.c: In function ‘traps’:

 gcc: error trying to exec 'as': execvp: No such file or directory

 make[1]: *** [scripts/basic/fixdep] Error 1
 make: *** [scripts_basic] Error 2
 root:/sources/linux-2.6.30.2#

 That's what I got when I tried to run the first command. Does this
 mean that GCC is broken?
 What should I do from here? Everything else went brilliantly.

 It looks like it can't find the assembler.  You should have /usr/bin/as.
  That's built as a part of binutils.

So, since I can't find it, what should I do? Can I safely reinstall binutils?

~SpaceGhost

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

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


Re: LFS 6.5 - 8.3.1

2010-01-27 Thread Bruce Dubbs
Johnneylee Rollins wrote:
 On Wed, Jan 27, 2010 at 2:24 PM, Bruce Dubbs bruce.du...@gmail.com wrote:
 Johnneylee Rollins wrote:
 root:/sources/linux-2.6.30.2# make LANG=en_US.UTF-8 LC_ALL= menuconfig
   HOSTCC  scripts/basic/fixdep
 scripts/basic/fixdep.c: In function ‘traps’:
 gcc: error trying to exec 'as': execvp: No such file or directory
 make[1]: *** [scripts/basic/fixdep] Error 1
 make: *** [scripts_basic] Error 2
 root:/sources/linux-2.6.30.2#

 That's what I got when I tried to run the first command. Does this
 mean that GCC is broken?
 What should I do from here? Everything else went brilliantly.
 It looks like it can't find the assembler.  You should have /usr/bin/as.
  That's built as a part of binutils.

 So, since I can't find it, what should I do? Can I safely reinstall binutils?

You should investigate why it's missing.  When you rebuild binutils, 
change the install to

make DESTDIR=/tmp/binutils install

and check the files there against what you have in /usr/bin.

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


Re: LFS 6.5 - 8.3.1

2010-01-27 Thread Johnneylee Rollins
On Wed, Jan 27, 2010 at 10:57 PM, Bruce Dubbs bruce.du...@gmail.com wrote:
 Johnneylee Rollins wrote:
 On Wed, Jan 27, 2010 at 2:24 PM, Bruce Dubbs bruce.du...@gmail.com wrote:
 Johnneylee Rollins wrote:
 root:/sources/linux-2.6.30.2# make LANG=en_US.UTF-8 LC_ALL= menuconfig
   HOSTCC  scripts/basic/fixdep
 scripts/basic/fixdep.c: In function ‘traps’:
 gcc: error trying to exec 'as': execvp: No such file or directory
 make[1]: *** [scripts/basic/fixdep] Error 1
 make: *** [scripts_basic] Error 2
 root:/sources/linux-2.6.30.2#

 That's what I got when I tried to run the first command. Does this
 mean that GCC is broken?
 What should I do from here? Everything else went brilliantly.
 It looks like it can't find the assembler.  You should have /usr/bin/as.
  That's built as a part of binutils.

 So, since I can't find it, what should I do? Can I safely reinstall binutils?

 You should investigate why it's missing.  When you rebuild binutils,
 change the install to

 make DESTDIR=/tmp/binutils install

 and check the files there against what you have in /usr/bin.
I reinstalled binutils, I hadn't gotten your message yet. as is
present now, as well as everything else. I'm sorry I didn't wait, it
would have been good to figure out why.

sorry about that

~SpaceGhost


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

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