Project

General

Profile

Actions

Bug #386

closed

Compilation problem in MacOS X/Darwin

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

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

Actions #1

Updated by Victor Julien almost 10 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?

Actions #2

Updated by Victor Julien almost 10 years ago

  • % Done changed from 0 to 90

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

Actions #3

Updated by Christophe Vandeplas almost 10 years ago

Solved. You can close the bug

Actions #4

Updated by Victor Julien almost 10 years ago

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

Great! Thanks for testing!

Actions

Also available in: Atom PDF