Re: cpuid.h not found

2010-05-11 Thread jumbophut
On Tue, May 11, 2010 at 3:24 PM, Yan Mo wrote:
 Hi, I'm new to this. Got upto the Glibc configure part of 5.7.1 in
 LFS-BOOK-6.6 and its stopping after these messages:

 checking cpuid.h usability... no
 checking cpuid.h presence... no
 checking for cpuid.h... no
 configure: error: gcc must provide the cpuid.h header


The file cpuid.h is provided by gcc.  Since you do not have the file,
it is possible that the gcc build in section 5.5.1 failed.  You could
try repeating that section and carefully checking the output.

On my machine the cpuid.h file appears in
$LFS/tools/lib/gcc/i686-lfs-linux-gnu/4.4.3/include.

-- 
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l...@omcgtjuba.phi/')
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: What works for me (LFS-6.6, x86_64)

2010-05-11 Thread Simon Geard
On Mon, 2010-05-10 at 18:11 +0200, Dr.-Ing. Edgar Alwers wrote:
 This is a sentence I clearly understand. Simon, I apologize for beeing
 a little sarcastic instead of trying to contribute with a better text.
 The problem is, I have had bad experiences with some developers. As
 Linux fan pointed, Little distros like lfs don't get no respect 

I don't think it's that they don't get respect, they're just overlooked
- remember that much of the development is done by developers employed
by the big distros, by Redhat, Novell, Canonical. If people want them to
consider the needs of other distros, those people need to be prepared to
put in some work of their own.

To use the PK case again, I'm sure the developers would be happy to
support systems that don't use PAM - *if* someone provides a patch to do
so, and will commit to maintaining it for the foreseeable future. The
latter being critical - I'd certainly expect them to reject such a patch
if nobody was willing to own it.

Simon.


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

Re: LFS version 6.6 Chapter 6.9.1 error

2010-05-11 Thread nidujay
You're right. I noticed that the file system was pretty corrupted. Luckily
it wasn't too far from the point where I took a snapshot of the tools, etc.

On 10 May 2010 00:03, Ken Moffat zarniwhoo...@googlemail.com wrote:

 On 9 May 2010 04:47, nidujay nidu...@gmail.com wrote:
  Hi,
 
  I get the following errors with glibc installation:
 
  Make install
  ...  /sources/glibc-build/csu/init-first.o
  In file included from ../posix/unistd.h:887,
   from ../include/unistd.h:2,
   from ../sysdeps/unix/sysv/linux/init-first.c:23:
  ../include/getopt.h:4:26: error: posix/getopt.h: No such file or
 directory

  That file is part of glibc.  You said you are building on a
 usb stick, I wonder if it has become damaged ?  If your
 stick is mounted as /mnt/lfs it will be subjected to a lot
 of i/o during the build.  We've all seen discussions about
 how many times we can write to solid-state disks before
 they fail - usb sticks are probably the poor brother of
 solid state drives for this.

 ĸ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

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


Re: cpuid.h not found

2010-05-11 Thread Aleksandar Kuktin
On Tue, 11 May 2010 08:01:26 -0600
Yan Mo yinor...@gmail.com wrote:
 
 [snip]
 
  
   checking cpuid.h usability... no
   checking cpuid.h presence... no
   checking for cpuid.h... no
   configure: error: gcc must provide the cpuid.h header
  
 
  The file cpuid.h is provided by gcc.  Since you do not have the
  file, it is possible that the gcc build in section 5.5.1 failed.
  You could try repeating that section and carefully checking the
  output.
 
 [snip]
 
 My machine also has cpuid.h in
 $LFS/tools/lib/gcc/i686-lfs-linux-gnu/4.4.3/include so it makes me
 wonder if something is not reverse-compatible with my 800MHz AMD
 Duron.
 
 I choose my oldest machine to build this in order for my new system
 to be compatible with as many machines as possible. Could it be those
 that benefit by selling newer hardware are discouraging
 reverse-compatibility???

Hmm...

So, you have cpuid.h where it is supposed to be, but the working GCC
does not use it?
I think you should gut config.log of the failing glibc build and find
the compiler output for the failing test. It will likely be somewhere
in the middle of the file, and should contain the necessary information
to diagnose the problem. Post it.

I would also want to think of your CPU. Are you _sure_ it is i686? Ran
config.guess or 'uname -m'? AFAIK, distros do not build i686 binaries,
they build i486 or i586 binaries. So that can be a good place for all
sorts of interesting things to happen.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


how to install liveCD.iso via virtual-box

2010-05-11 Thread Prasoon Maheshwari
Hello all,
I am trying to install lfs via virtual-box on window-7.
There i need to give the type of operating system+its distribution.
please tell me which operating system and distribution should i select.
help me out to install it in a specific way.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: how to install liveCD.iso via virtual-box

2010-05-11 Thread Alexander Haley
Prasoon,

I am not using Windows 7, however I use Virtual Box all the time - and
I believe the question you are asking is NOT windows version specific
; That said:

When creating a new virtual machine in VirtualBox - the create new
machine wizard asks some generic questions like System Type /
Distro in order to better guess at the base-level requirements for
the virtual machine (like memory, disk space) , AND it also controls
what icon the virtual machine will have.

You can override many of these presets via the Settings control once
you've created the initial virtual machine.

The help file says, Depending on your [OS/VERSION] selection,
VirtualBox will enable or disable certain VM settings that your guest
operating system may require. This is particularly important for
64-bit guestS.

So, for example, if I select as MS Windows, Windows XP - the next pane
shows a base-memory requirement of 192MB . If instead, I selected
Linux, Linux 2.2 , the next pane recommends a memory of 64MB .

So , What is suitable for LFS in VirtualBox? I'd suggest choosing the
OS of Linux, with the Version of 'Linux 2.6' (or 2.6 64bit if
appropriate) .

On the next pane, it will recommend 256MB of memory - which if you can
afford to increase, I suggest you do.

I'd also suggest that you create in the Virtual Media Manager a Fixed
Size Storage drive of 512MB and use it as your swap partition. I
recall running into trouble using the 'dynamic' style drive for my
swap space

If you run into trouble, feel free to email me (directly or via the
list). I use VirtualBox a lot, and have run LFS via it before.

Then again, I am only a hobbyist - so if anyone else can amplify or
correct this information, please do!

Alexander H.

On Tue, May 11, 2010 at 3:18 PM, Prasoon Maheshwari
maheshwaripras...@gmail.com wrote:
 Hello all,
 I am trying to install lfs via virtual-box on window-7.
 There i need to give the type of operating system+its distribution.
 please tell me which operating system and distribution should i select.
 help me out to install it in a specific way.
 --
 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


not find the i686-lfs-linux-gnu-gcc in LFS-directory.

2010-05-11 Thread AOL
Good day. Please excuse my English.
Almost month ago, I sent the question and recieved answer, but nothin
did not understood. Fully nothin. Now, at least, I understand my
question and answer for me.
Possibly I understand not all exactly.

I had did:
 g...@gnu-desktop:/mnt/lfs/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
-print-libgcc-file-name | \
 sed 's/libgcc/_eh/'`

 and computer issued:
 bash: i686-lfs-linux-gnu-gcc: command not found
ln: creating symbolic link `./libgcc.a': File exists.

I can not find the i686-lfs-linux-gnu-gcc in LFS-directory. and in all
other.

There is  '/mnt/lfs/tools/i686-lfs-linux-gnu', but in this folder files
are:
ar
as
ld
nm
objcopy
objdump
ranlib
strip

Also, there is '/mnt/lfs/tools' folder with files:
i686-lfs-linux-gnu-addr2line
i686-lfs-linux-gnu-ar
i686-lfs-linux-gnu-as
i686-lfs-linux-gnu-c++filt
i686-lfs-linux-gnu-gprof
i686-lfs-linux-gnu-ld
i686-lfs-linux-gnu-nm
i686-lfs-linux-gnu-objcopy
i686-lfs-linux-gnu-objdump
i686-lfs-linux-gnu-ranlib
i686-lfs-linux-gnu-readelf
i686-lfs-linux-gnu-size
i686-lfs-linux-gnu-strings
i686-lfs-linux-gnu-strip

In host-computer is: gcc, gcc-4.1, gcc-4.2, 486-linux-gnu-gcc,
i486-linux-gnu-gcc-4.2, i486-linux-gnu-gcc-4.1.

May be anyone will  advise, what I have to do?
Sincerely, fuf.


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


Re: not find the i686-lfs-linux-gnu-gcc in LFS-directory.

2010-05-11 Thread Ken Moffat
On 11 May 2010 21:07, AOL fufl...@aol.com wrote:
 Good day. Please excuse my English.
 Almost month ago, I sent the question and recieved answer, but nothin
 did not understood. Fully nothin. Now, at least, I understand my
 question and answer for me.
 Possibly I understand not all exactly.

 I had did:
  ...@gnu-desktop:/mnt/lfs/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
 -print-libgcc-file-name | \
     sed 's/libgcc/_eh/'`

  and computer issued:
  bash: i686-lfs-linux-gnu-gcc: command not found
 ln: creating symbolic link `./libgcc.a': File exists.

 I can not find the i686-lfs-linux-gnu-gcc in LFS-directory. and in all
 other.

 There is  '/mnt/lfs/tools/i686-lfs-linux-gnu', but in this folder files
 are:
 ar
 as
 ld
 nm
 objcopy
 objdump
 ranlib
 strip

 Also, there is '/mnt/lfs/tools' folder with files:
 i686-lfs-linux-gnu-addr2line
 i686-lfs-linux-gnu-ar
 i686-lfs-linux-gnu-as
 i686-lfs-linux-gnu-c++filt
 i686-lfs-linux-gnu-gprof
 i686-lfs-linux-gnu-ld
 i686-lfs-linux-gnu-nm
 i686-lfs-linux-gnu-objcopy
 i686-lfs-linux-gnu-objdump
 i686-lfs-linux-gnu-ranlib
 i686-lfs-linux-gnu-readelf
 i686-lfs-linux-gnu-size
 i686-lfs-linux-gnu-strings
 i686-lfs-linux-gnu-strip

 In host-computer is: gcc, gcc-4.1, gcc-4.2, 486-linux-gnu-gcc,
 i486-linux-gnu-gcc-4.2, i486-linux-gnu-gcc-4.1.

 May be anyone will  advise, what I have to do?
 Sincerely, fuf.



 The files you have listed above suggest that you have only
installed binutils.  You are now at the end of the gcc instructions
so you ought to have an i686-lfs-linux-gnu-gcc.

 Either your build and install of gcc pass 1 failed, or else you
gave it a different prefix.  Remove the gcc-4.X.Y and gcc-build
directories, then repeat all the steps from section 5.5.  If any step
ends with an error, stop there, and ask for help if you need to.
(in case it isn't clear, I think you probably had an error in an earlier
command in section 5.5).

ĸ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: not find the i686-lfs-linux-gnu-gcc in LFS-directory.

2010-05-11 Thread Andrew Benton
On 11/05/10 21:07, AOL wrote:
 Good day. Please excuse my English.
 Almost month ago, I sent the question and recieved answer, but nothin
 did not understood. Fully nothin. Now, at least, I understand my
 question and answer for me.
 Possibly I understand not all exactly.

 I had did:
   g...@gnu-desktop:/mnt/lfs/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
 -print-libgcc-file-name | \

It looks like you've made a folder /mnt/lfs/gcc-build to compile gcc in.
That suggests that the whole of /mnt/lfs is writable by the user (gnu? -
you should be working as the user lfs). The book is quite clear, only
/mnt/lfs/{sources,tools} should be writable by the user. You should untar
things in /mnt/lfs/sources then cd into the folder you've untared and then
begin executing the commands.

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