Opened 13 years ago

Closed 12 years ago

#33409 closed defect (fixed)

libsndfile not compiling on xcode 4.3

Reported by: g5pw (Aljaž Srebrnič) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), adam@…
Port: libsndfile

Description

libsndfile fails build stage on xcode 4.3. However, adding this line will solve the issue:

configure.cflags-append "-I${developer_dir}/Headers/FlatCarbon"

Attachments (2)

main.log (25.7 KB) - added by adam@… 13 years ago.
carbon-patch.diff (322 bytes) - added by root42 13 years ago.
fixes the build problem.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Provide the main.log of the failure, please.

comment:2 Changed 13 years ago by g5pw (Aljaž Srebrnič)

Uh, I'm afraid I don't have it on hand, but the error was "Carbon.h" not found.

Changed 13 years ago by adam@…

Attachment: main.log added

comment:3 Changed 13 years ago by adam@…

I am having this same issue on OSX 10.7.3 and XCode 4.3. I have attached the relevant main.log.

comment:4 Changed 13 years ago by adam@…

Cc: adam@… added

Cc Me!

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

See also #33304.

comment:6 Changed 13 years ago by root42

Same problem here. This is with Xcode 4.3. A patch seems to be floating around on github: https://github.com/mxcl/homebrew/pull/10405/files

Changed 13 years ago by root42

Attachment: carbon-patch.diff added

fixes the build problem.

comment:7 Changed 13 years ago by root42

New upstream versions seem to have this fixed already, reports suggest. But this patch works for the current port, version 1.0.25 of libsndfile.

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Cc: jeremyhu@… added
Resolution: fixed
Status: newclosed
Type: enhancementdefect

Fixed in r90613.

Note: See TracTickets for help on using tickets.