Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33408 closed defect (fixed)

libsamplerate 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:
Port: libsamplerate

Description

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

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

Change History (9)

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.

comment:3 Changed 13 years ago by root42

Having the same issue here, Xcode 4.3.

comment:4 Changed 13 years ago by root42

I can confirm: appending the above cflags does work. Builds fine for me now.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Type: enhancementdefect

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:7 in reply to:  6 ; Changed 13 years ago by senalba@…

Replying to jmr@…:

r91176

I have the same problem with building libsamplerate. I do not understand the solution. Could you please explain in details what should I do in order to fix the bug? In particular it is not clear what should I do with a line " configure.cflags-append "-I${developer_dir}/Headers/FlatCarbon" "

comment:8 in reply to:  7 ; Changed 13 years ago by pixilla (Bradley Giesbrecht)

senalba: The problem has been fixed in the libsamplerate port. Simply sync and upgrade libsamplerate:

sudo port sync
sudo port upgrade libsamplerate

or to upgrade all outdated ports:

port outdated
sudo port upgrade outdated

comment:9 in reply to:  8 Changed 13 years ago by senalba@…

Replying to pixilla@…:

senalba: The problem has been fixed in the libsamplerate port. Simply sync and upgrade libsamplerate:

sudo port sync
sudo port upgrade libsamplerate

or to upgrade all outdated ports:

port outdated
sudo port upgrade outdated

Now it works for me. Thanks!

Note: See TracTickets for help on using tickets.