Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: archivista on March 17, 2009, 04:59:36 PM

Title: Problem with mysql (linuxthreads)
Post by: archivista on March 17, 2009, 04:59:36 PM
I tried to install mysql 4.0.24, but got the following error when running ./confiugre script

checking "LinuxThreads"... "Not found"
configure: error: This is a linux system and Linuxthreads was not
found. On linux Linuxthreads should be used.  Please install Linuxthreads
(or a new glibc) and try again.  See the Installation chapter in the
Reference Manual for more information.

How can I solve this error? I tried to search about it and it looks like that glibc 2.3.6 has no linuxthreads. Is this correct?

Title: Re: Problem with mysql (linuxthreads)
Post by: ^thehatsrule^ on March 17, 2009, 08:37:50 PM
Could be related to this: http://bugs.mysql.com/bug.php?id=2173
Is there any reason why you are using this version?
Title: Re: Problem with mysql (linuxthreads)
Post by: curaga on March 18, 2009, 10:05:14 AM
Indeed; linuxthreads is a very old implementation, dropped right after glibc 2.3.6. And up to that version people could choose to use NPTL instead (we did too).
Title: Re: Problem with mysql (linuxthreads)
Post by: archivista on March 19, 2009, 12:58:59 PM
We use this version in our products. But I'm open for any other release in the 4.x branch. Any recommendation?
Title: Re: Problem with mysql (linuxthreads)
Post by: ^thehatsrule^ on March 20, 2009, 02:51:32 PM
Did you try the workaround for your 4.0.24 version?

It looks like 4.1 (as in the bug report) was the last 4.x release... probably still needs that workaround to build it for NPTL.