Chapter 6 Glibc error in configure
Code:
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux Any ideas? Thanks |
you need to unpack the linuxthreads package inside the glibc-2.2.5 directory
seems you forgot to do it, or unpacked it in the wrong location. |
Thank you very much, I must have clicked through the page too fast ;)
Thanks Gerard. |
Gah!
This one had me foxed for a while too. I started fiddling with the compile switches before I noticed it couldn't see linuxthreads. *Note to self - must look here sooner*:rolleyes:. Cheers. Bert |
i had the same problem as masterc so i unpacked linux threads in the glibc directory
when i run the configure script i now get configuring in linuxthreads running /bin/sh ../../glibc-2.3.1/linuxthreads/configure --prefix=/usr --disable-profile --enable-add-ons --libexecdir=/usr/bin --cache-file=.././config.cache --srcdir=../../glibc-2.3.1/linuxthreads i assume its done this part of compiling is done correctly now so i type make and get make[1]: *** [/usr/src/glibc-build/sysd-dirs] Error 127 make[1]: Leaving directory `/usr/src/glibc-2.3.1' make: *** [all] Error 2 im following the lfs book and dont no what to do to get glibc to complie correctly can anyone help |
Welcome to LQ :)
Can you post up more of the error message, like maybe the last 10 lines or so? Cool |
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.1 objdir=`pwd` all
make[1]: Entering directory `/usr/src/glibc-2.3.1' 'BEGIN { subdirs = ""; inhibit = "" }; \ /^#/ { next }; \ /^[^-]/ { subdirs = subdirs " " $0 }; \ /^-/ { inhibit = inhibit " " substr($0, 2) }; \ END { printf "sysdep-subdirs =%s\n", subdirs; \ printf "sysdep-inhibit-subdirs =%s\n", inhibit; \ print "sysd-dirs-done = t" }' \ /dev/null linuxthreads/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs > /usr/src/glibc-build/sysd-dirs-tmp /bin/sh: BEGIN { subdirs = ""; inhibit = "" }; /^#/ { next }; /^[^-]/ { subdirs = subdirs " " $0 }; /^-/ { inhibit = inhibit " " substr($0, 2) }; END { printf "sysdep-subdirs =%s\n", subdirs; printf "sysdep-inhibit-subdirs =%s\n", inhibit; print "sysd-dirs-done = t" }: No such file or directory make[1]: *** [/usr/src/glibc-build/sysd-dirs] Error 127 make[1]: Leaving directory `/usr/src/glibc-2.3.1' make: *** [all] Error 2 this is what it says when i try to make it ive got a feeling that it might be to do with my version of gcc as when i was staticaly compiling gcc earler in the chapter i used version 3.3 |
All times are GMT -5. The time now is 09:06 AM. |