Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-10-2002, 12:52 AM
|
#1
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Chapter 6 Glibc error in configure
Code:
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on. Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.
I have no name!:/usr/src/sources/glibc-build#
I am guessing that it's actually referring to me installing the kernel wrong, but I followed the directions exactly in both. Just to make sure again, I highlighted and pasted them, same error message.
Any ideas?
Thanks
|
|
|
10-10-2002, 11:10 AM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
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.
|
|
|
10-10-2002, 07:11 PM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Original Poster
Rep:
|
Thank you very much, I must have clicked through the page too fast
Thanks Gerard.
|
|
|
10-27-2002, 11:47 AM
|
#4
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
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*  .
Cheers.
Bert
|
|
|
07-16-2003, 06:41 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Rep:
|
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
|
|
|
07-16-2003, 06:43 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Original Poster
Rep:
|
Welcome to LQ
Can you post up more of the error message, like maybe the last 10 lines or so?
Cool
|
|
|
07-17-2003, 01:17 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 2
Rep:
|
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
Last edited by robert999; 07-17-2003 at 01:20 PM.
|
|
|
All times are GMT -5. The time now is 04:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|