LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-08-2006, 01:59 PM   #1
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
Glibc 2.4 installation in Slackware 11


Hi,

Why doesnt slackware 11 ship with glibc 2.4??? Well anyway I require it for SystemTap, now I'm trying to compile glibc 2.4 from the sources, but the make install fails (make and configure succeed), at this stage:

Quote:
cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage

make[2]: *** [/opt/glib2.4//share/zoneinfo/Africa/Algiers] Error 127
make[2]: Leaving directory `/root/glibc-2.4/timezone'
make[1]: *** [timezone/subdir_install] Error 2
make[1]: Leaving directory `/root/glibc-2.4'
make: *** [install] Error 2
What could be wrong??

Regards
 
Old 11-09-2006, 08:57 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
Quote:
Why doesnt slackware 11 ship with glibc 2.4???
Search the changelog and you find:

"... Yes, I have seen that shiny-looking glibc-2.4 release on ftp.gnu.org, but glibc-2.4 completely drops support for
linuxthreads, and therefore will not support vanilla Linux 2.4.x kernels. I don't think we're quite ready for that yet around here."

http://www.slackware.com/changelog/current.php?cpu=i386
 
Old 11-10-2006, 01:28 AM   #3
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Original Poster
Rep: Reputation: 34
So what do I need to do to install it in slackware? compile a kernel without POSIX support?
 
Old 11-10-2006, 09:19 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
Quote:
So what do I need to do to install it in slackware? compile a kernel without POSIX support?
I don't have an answer for you off the top of my head, but I found this thread which someone tried compiling glibc-2.4 on Slackware:

"compiling glibc-2.4 error"
http://www.linuxquestions.org/questi...d.php?t=427565

I also found this in the glibc-2.4 README:

"When working with Linux kernels, the GNU C Library version 2.4 is intended primarily for use with Linux kernel version 2.6.0 and later. We only support using the NPTL implementation of pthreads, which is now the default configuration. Most of the C library will continue to work on older Linux kernels and many programs will not require a 2.6 kernel to run correctly. However, pthreads and related functionality will not work at all on old kernels and we do not recommend using glibc 2.4 with any Linux kernel prior to 2.6"

If your using a 2.6 kernel and are able to successfully compile glibc-2.4, I suspect you'll probably have to re-build all the binaries that came with the default Slackware install so you won't run into problems, as they are built with glibc-2.3.6. Someone else on this list can probably confirm that.

Last edited by bsdunix; 11-12-2006 at 08:57 AM.
 
Old 11-11-2006, 10:50 PM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I compiled 2.4 on Slack 11 just for giggles. While it made just fine with no errors, the test suite was something else. No way I'd use that glibc.
Code:
make[2]: *** [/tmp/glibc-build/localedata/tst_iswalnum.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswalpha.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswcntrl.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswctype.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswdigit.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswgraph.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswlower.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswprint.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswpunct.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswspace.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswupper.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_iswxdigit.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_mblen.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_mbrlen.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_mbrtowc.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_mbsrtowcs.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_mbstowcs.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_mbtowc.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_strcoll.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_strfmon.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_strxfrm.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_swscanf.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_towctrans.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_towlower.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_towupper.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcrtomb.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcscat.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcschr.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcscmp.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcscoll.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcscpy.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcscspn.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcslen.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsncat.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsncmp.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsncpy.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcspbrk.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsrtombs.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsspn.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsstr.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcstod.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcstok.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcstombs.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcswidth.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcsxfrm.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wctob.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wctomb.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wctrans.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wctype.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst_wcwidth.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst-mbswcs6.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst-xlocale1.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/tst-xlocale2.out] Error 1
make[2]: *** [/tmp/glibc-build/localedata/sort-test.out] Error 1
make[1]: *** [localedata/tests] Error 2
make[2]: *** [/tmp/glibc-build/intl/tst-codeset.out] Error 1
make[2]: *** [/tmp/glibc-build/intl/tst-gettext3.out] Error 1
make[2]: *** [/tmp/glibc-build/intl/tst-gettext4.out] Error 1
make[2]: *** [/tmp/glibc-build/intl/tst-gettext5.out] Error 1
make[1]: *** [intl/tests] Error 2
make[2]: *** [/tmp/glibc-build/catgets/de/libc.cat] Error 1
make[2]: *** [/tmp/glibc-build/catgets/test1.cat] Error 1
make[1]: *** [catgets/tests] Error 2
make[2]: *** [/tmp/glibc-build/stdio-common/tst-swprintf.out] Error 1
make[1]: *** [stdio-common/tests] Error 2
make[2]: *** [/tmp/glibc-build/libio/tst-swscanf.out] Error 1
make[1]: *** [libio/tests] Error 2
make[2]: *** [/tmp/glibc-build/string/tst-strxfrm.out] Error 1
make[1]: *** [string/tests] Error 2
make[2]: *** [/tmp/glibc-build/wcsmbs/tst-btowc.out] Error 1
make[2]: *** [/tmp/glibc-build/wcsmbs/tst-mbrtowc2.out] Error 1
make[1]: *** [wcsmbs/tests] Error 2
make[2]: *** [/tmp/glibc-build/time/tst-strptime.out] Error 1
make[2]: *** [/tmp/glibc-build/time/tst-ftime_l.out] Error 1
make[1]: *** [time/tests] Error 2
make[2]: *** [/tmp/glibc-build/posix/tst-fnmatch.out] Error 1
make[2]: *** [/tmp/glibc-build/posix/tst-regexloc.out] Error 1
make[2]: *** [/tmp/glibc-build/posix/tst-regex.out] Error 1
make[2]: *** [/tmp/glibc-build/posix/bug-regex5.out] Error 1
make[2]: *** [/tmp/glibc-build/posix/bug-regex19.out] Error 1
make[2]: *** [/tmp/glibc-build/posix/bug-regex22.out] Error 1
make[2]: [/tmp/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: *** [/tmp/glibc-build/nptl/tst-cond8.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cancel24.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cancelx4.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cancelx5.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cancelx16.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cancelx20.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cancelx21.out] Error 1
make[2]: *** [/tmp/glibc-build/nptl/tst-cleanupx4.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2
EDIT: I should say this isn't really a stock slackware tho... I have installed 2.6.18 kernel headers with make headers_install along with my own custom built 2.6.18.2 kernel. I just installed a couple packages that needed 2.6 headers and forgot to remove the new headers. Xorg-7.1.1 is on here as well tho that shouldn't make a diff.

It also looks like your building inside the source tree, which you probably shouldn't be doing. ALSO.... Is there any info before that?. Just for refrence, you need to post what's before that as well in order to see what's going on. Even if it's just a block of code that had no errors. That's the customary starting point for posting errors.

Make sure your running a newer 2.6 kernel and then try again.

Last edited by jong357; 11-12-2006 at 11:08 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation stops at Glibc?!?! Pingu's Tuxedo Linux - Newbie 2 05-19-2006 04:19 PM
glibc installation error newcomer4 Linux - Software 1 02-03-2006 04:33 PM
Installation problems for glibc ravi LinuxQuestions.org Member Intro 1 01-11-2006 12:22 PM
Preparing for Glibc installation yougene Slackware 14 12-02-2005 03:54 PM
glibc 2.3 installation pneumatix Linux - Newbie 2 04-20-2004 04:03 PM


All times are GMT -5. The time now is 05:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration