6.9. Glibc-2.19 configure error on LFS 7.5
Hello!!
I'm at the point 6.9 GLIBC-2.19 of LFS 7.5 compilation, but i have these errors when i try to prepare the compilation with "configure": "mkdir: cannot create directory '/tmp/cg15772-587' : no such file or directory mkdir: cannot create directory '/tmp/cg15772' : no such file or directory config.guess: cannot create a temporary directory in /tmp configure: error: cannot guess build type: you must specify one" can someone help me please? |
Quote:
Quote:
From the prompt, type in "uname -m" and see what kind of output it gives you. Open the config file and just hard code it in. Rerun the script and see what happens. |
When i type "uname -m" i have the output: i686...so i think it's ok...
What should i do with the config file? |
I would advise going back to the start of Chapter 6 and making sure you have followed all the instructions to the letter and check everything you had to create prior to compiling the first couple of packages.
Invariably most mistakes with any of the versions of LFS come from typos. |
Mhh ok...another question: when in the chapter 6 for example i have to compile the gcc for the second time, i have to create another "gcc-build" or replace the last "gcc build"? because i think i have deleted some folders...
|
Quote:
Running #cat /proc/cpuinfo confirmed I had a 64-bit machine. If the "lm" flag is present in the output the cpu is 64-bit. |
I haven't any output when i type #cat /proc/cpuinfo....
|
Quote:
Also don't include the # sign in front of cat or bash will ignore it-- On my machine it looks like this: Code:
bash-4.2$ cat /proc/cpuinfo |
ok i have this:
Code:
processor : 0 |
Quote:
Code:
x2apic popcnt xsave avx hypervisor lahf_lm arat epb xsaveopt pln pts |
Yes but how can i fix my problem?
|
No previous build directories should be used as each compile is individual to where you are up to in the overall build.
I personally have never had an issue with uname, but if you are returning i686 then the following will not get created: Code:
case $(uname -m) in Code:
install -dv -m 1777 /tmp /var/tmp |
Quote:
You mentioned in post # 5 that you thought you deleted some folders. If you did that could be the culprit. I've made typos myself and had to start all over again. When I compile I write down every step I have completed to avoid mistakes as much as possible. Since there are steps 6.9.1 through step 6.9.4 on that instructional page it's hard to determine where you may have left off/where to begin again. Thanks to what our member; dijetlo who said: "you can't make a direcory in tmp is because of permissions" I didn't know that:- With Fedora I have to run --prefix with ./configure (not sure if that helps) Go through the guide and ensure you didn't miss anything. http://www.linuxfromscratch.org/lfs/...r06/glibc.html |
Ok, now it's working!!! Thanks a lot
|
Quote:
Code:
install -dv -m 1777 /tmp /var/tmp |
All times are GMT -5. The time now is 08:54 PM. |