SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Okay, I just compiled a 2.6.10-rc3 kernel and copied the include folder to my /usr directory and now I want to compile glibc. I've got the source code in /root/glibc-5=2.3.3 with the following on my command line.
Code:
./configure --prefix=/usr/local --includedir=/usr/include/linux --enable-add-ons && make && make install
Back out of the source directory, create a build directory, cd into it & build it from there. Like so, assuming you're inside the glibc source directory:
Code:
cd ..
mkdir glibc-build
cd glibc-build
../glibc-x.x.x/configure --prefix=/usr/local --includedir=/usr/include/linux --enable-add-ons && make && make install
Thanks, I was able to get glibc configured but now when I try to make it will go for a while and then tell me that I need TLS support, what does that mean and how do I fix it?
Okay, I did some reading and I found out that TLS is part of SSL, so I have SSL installed and tried compiling again and I could configure glibc, but glibc woun't compile at all. Any help?
I got it to work! all I did was copy /usr/include/openssl/tls1.h into ./glibc-2.3.3 and it now works fine! it's building right now as I type as a matter of fact!
darnit! the power at our house went out and I lost my progress on compiling glibc. so I cleaned up, untarred the files and made sure everything was ready and tried again, this time though, I get an error message:
Code:
no versions defined for typedef
and then make hangs, I can't tell you more because it doesn't tell me in what file the problem is in. any ideas?
in the slack source packages there is a script for building the
glibc package in the glibc source package you may be able to
use it to get libc compiled it may work for newer libc versions
or you may have to edit the script for the version you are building
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.