Bug #386

Compilation problem in MacOS X/Darwin

Added by Christophe Vandeplas over 2 years ago. Updated over 2 years ago.

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

100%

Category:-
Target version:1.2beta1

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.

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

History

#1 Updated by Victor Julien over 2 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 over 2 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 over 2 years ago

Solved. You can close the bug

#4 Updated by Victor Julien over 2 years ago

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

Great! Thanks for testing!

Also available in: Atom PDF