[pulseaudio-tickets] [Bug 89412] New: PulseAudio cross compilation for Mac OS X fails due to problems with configure.ac
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 3 06:10:06 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89412
Bug ID: 89412
Summary: PulseAudio cross compilation for Mac OS X fails due to
problems with configure.ac
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: build-system
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: astrand at lysator.liu.se
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
Created attachment 113955
--> https://bugs.freedesktop.org/attachment.cgi?id=113955&action=edit
Fix OS X configure for Mac OS X
There are some issues with configure.ac which makes the build fail when cross
compiling for Mac OS X:
* The section #### Mac OSX specific stuff ##### comes very late; after several
checks for OS S specific things such as CoreServices and CoreAudio. Obviously,
fundamental things such as mac-version-min and sysroot must be setup before
trying such tests. The entire section should be moved more to the top.
* The section that checks for CoreServices has two problems: 1) It checks for
FlatCarbon/CoreServices.h. AFAIK, FlatCarbon is a very old concept designed for
compatibility with pre-OS X Mac OS. Since we require OS X 10.5, I see no point
in checking for the FlatCarbon version. 2) There's an hardcoded path to
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h. This
is the wrong way to do it: The path should not be hardcoded, and the
"CoreServices.framework" should not be specified.
The attached patch should solve both problems. Tested with GCC 4.6.4 targeting
Mac OS X 10.6.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150303/e2fe4be9/attachment.html>
More information about the pulseaudio-bugs
mailing list