Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35999

Summary: Fix for MySQL on a system with NPTL-enabled glibc
Product: Gentoo Linux Reporter: Mark Morschhäuser <SeeksTheMoon>
Component: New packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: greg_g, SeeksTheMoon
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Morschhäuser 2003-12-17 07:51:43 UTC
MySQL won't compile on a system that uses NPTL because the configure-script searches for the word "Linuxthreads" in /usr/include/pthread.h and does not find it there.

The command
echo '/* Linuxthreads */' >> /usr/include/pthread.h
will fix this. This line should either be added to the glibc ebuild or to the mysql ebuild (maybe glibc.ebuild would be better because other software may use the same detection-mechanism)
Comment 1 SpanKY gentoo-dev 2003-12-18 08:36:33 UTC

*** This bug has been marked as a duplicate of 29248 ***