Bug #386
closed
Compilation problem in MacOS X/Darwin
Added by Christophe Vandeplas almost 13 years ago.
Updated almost 13 years ago.
Description
When compiling the git master branch on MacOS X we get the following error:
util-coredump-config.c:85:23: error: sys/prctl.h: No such file or directory
This is caused by a forgotten !defined OS_DARWIN
in the util-coredump-config.c
file.
The attached patch solves the issue.
Files
- Due date set to 12/14/2011
- Status changed from New to Assigned
- Assignee set to Eileen Donlon
- Target version set to 1.2beta1
Thanks Christophe. I think we should solve this in a different way though. In our configure.in we need to add it to the AC_CHECK_HEADERS line and then the configure phase will add it to config.h as HAVE_SYS_PRCTL_H -- or not. I think our code should check for that.
Eileen, can you pick that up?
- % Done changed from 0 to 90
This should now be fixed. Christophe, can you update your git tree and retry compilation?
Solved. You can close the bug
- Status changed from Assigned to Closed
- % Done changed from 90 to 100
Great! Thanks for testing!
Also available in: Atom
PDF