[SOLVED] 6.9. Glibc-2.19 configure error on LFS 7.5
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"
mkdir: cannot create directory '/tmp/cg15772-587' : no such file or directory
The most common reason you can't make a directory in temp is permissions.
Quote:
configure: error: cannot guess build type: you must specify one"
Hmmm... that one at first blush sounds more like a failed "uname -m" call, the word "guess" in that sentence leads me to believe it tried to find the arch (i686 for instance).
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.
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...
The most common reason you can't make a directory in temp is permissions.
Hmmm... that one at first blush sounds more like a failed "uname -m" call, the word "guess" in that sentence leads me to believe it tried to find the arch (i686 for instance).
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.
Over time I found out that "uname -m" is not reliable.
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....
Make sure you hit the spacebar after typing cat and than type the forward slash.
Also don't include the # sign in front of cat or bash will ignore it--
On my machine it looks like this:
Your best bet is to give what our Guru in post #4 has suggested.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.