1 2010-03-12 08:25:13

Topic: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

my system is ubuntu 9.10
below is part of context of  /root/asplinux/cross-tools-2.1/i486-generic-linux-gnu/_log.4.glibc_stage1
...
/usr/bin/install: cannot get "/root/asplinux/cross-tools-2.1/_build/build-glibc/gnu/lib-names.h" file state (stat): no such file or directory
make[2]: *** [/root/asplinux/cross-tools-2.1/i486-generic-linux-gnu/target/usr/include/gnu/lib-names.h] error 1
make[2]:leaving `/root/asplinux/cross-tools-2.1/_build/glibc-2.9'
make[1]: *** [install-headers] error 2
make[1]:leaving `/root/asplinux/cross-tools-2.1/_build/build-glibc'

i have redownloaded the files but no help
i don't konow how to fix the problem and i 'm new to linux
Thank you in advance!

2 2010-03-12 10:50:06

Re: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

.....puzzlement

I think something went wrong earlier than the message you posted, and as the message says, a file wasn't found.

I'm thinking: it is probable that there is some development tool or library that you happen to not have installed on your Ubuntu system, or you have a misbehaving alternate, and this is causing something to go wrong during this build processes and the reportedly missing file doesn't get made.

On an almost-lark, change the first line in the shell scripts in your /root/asplinux/cross-tools-2.1/_scripts directory from "#!/bin/sh -eu" to be "#!/bin/bash" and then do these commands (the "make dload" is just to make sure as it shouldn't take but a second or two):

     make clean
     make clean_i486
     make setup
     make dload
     make i486

Please email to me the entire _log.4.glibc_stage1 file to douglas@asplinux.org and I'll look for oddities, this will help.

Oops, Maurice got in before me while I was editing this. Yes, I'm thinking about an alternate misbehaving tool.

douglas's Website

3 2010-03-12 12:29:06

Re: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

frog,

Please post here the results of these commands, looking at *awk programs on your Ubuntu system. Thanks.

     ls -l /bin/*awk*
     ls -l /usr/bin/*awk*

douglas's Website

4 2010-03-12 20:56:55

Re: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

Hey  Maurice and Douglas  !
Thank you all !
can you give me further suggestions ?
here is the results of the  commands suggested by Douglas:
xiaoqingwa@adu-laptop:~$ ls -l /bin/*awk*
ls: cannot access /bin/*awk*: No such file or directory
xiaoqingwa@adu-laptop:~$ ls -l /usr/bin/*awk*
lrwxrwxrwx 1 root root     21 2010-03-09 22:27 /usr/bin/awk -> /etc/alternatives/awk
-rwxr-xr-x 1 root root 106704 2009-08-18 12:36 /usr/bin/mawk
lrwxrwxrwx 1 root root     22 2010-03-09 22:27 /usr/bin/nawk -> /etc/alternatives/nawk
xiaoqingwa@adu-laptop:~$

5 2010-03-13 16:32:09

Re: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

frog,

Maybe use the Ubuntu package manager, whichever one that is, to uninstall mawk and instal gawk. Everything should continue to work just fine and you'll have a more capable awk that is a bit slower in a way you'll never perceive.

douglas's Website

6 2010-03-15 05:43:15

Re: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

Anyway,I decided to ** the ubuntu.
So confused for a beginner !

7 2010-03-16 22:16:10

Re: when "make i486" to build cross-tools , stop building glibc-2.9 stage1

frog,

I don't mean to say you should follow what I do, but I've just made the switch to different hardware and had to get Linux up fast, so, for a small list of odd reasons, I'm now using Fedora 10 x86_64. Probably Fedora 12 would work fine for you.

If you are exploring various Linux distributions I suggest you look at Linux Mint. It is quite nice.

douglas's Website