Bug #386

Compilation problem in MacOS X/Darwin

Added by Christophe Vandeplas almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:12/13/2011
Priority:NormalDue date:12/14/2011
Assignee:Eileen Donlon% Done:


Target version:1.2beta1


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.

0001-Fixes-sys-prctl.h-include-error-on-MacOS-X-Darwin-OS.patch Magnifier (915 Bytes) Christophe Vandeplas, 12/13/2011 03:47 PM


#1 Updated by Victor Julien almost 4 years ago

  • 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?

#2 Updated by Victor Julien almost 4 years ago

  • % Done changed from 0 to 90

This should now be fixed. Christophe, can you update your git tree and retry compilation?

#3 Updated by Christophe Vandeplas almost 4 years ago

Solved. You can close the bug

#4 Updated by Victor Julien almost 4 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 90 to 100

Great! Thanks for testing!

Also available in: Atom PDF