Bug #16576 Patch to compile on GNU/Hurd (ps check in configure)
Submitted: 17 Jan 2006 18:40 Modified: 19 Sep 2006 16:39
Reporter: Christian Hammers (Silver Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:5.0 OS:GNU/Hurd
Assigned to: Magnus BlÄudd CPU Architecture:Any

[17 Jan 2006 18:40] Christian Hammers
Description:
The attached patch from Michael Banck <mbanck@debian.org> will help compiling MySQL on GNU/Hurd systems. His comments:

" The configure check on how to run ps to get mysqld's $PID does not
  work on the Hurd, as the PPID is prepended with a - for login shells,
  thus making grep look for -bash, which it complains as an invalid
  argument.  Filtering out '-' from the ps output makes this work fine. "

bye,

-christian-

How to repeat:
Try building it on GNU/Hurd.

Suggested fix:
will be attached via file-upload
[17 Jan 2006 18:41] Christian Hammers
patch

Attachment: 87_ps_Hurd.dpatch (application/octet-stream, text), 1.19 KiB.

[28 Jan 2006 2:43] Jorge del Conde
Thanks for the patch.  I will mark this bug report as a feature request.
[26 Jul 2006 14:04] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/9590
[15 Sep 2006 22:21] Chad MILLER
Available in 5.1.12-beta.
[19 Sep 2006 16:39] Paul DuBois
No changelog entry needed.