Ardour2 Build Problem

Ryan Schmidt ryandesign at macports.org
Mon Jul 5 12:39:10 PDT 2010


Let's keep replies on the mailing list so others can benefit from the discussion.


On Jul 5, 2010, at 14:04, Rod Gallant wrote:

> Actually I found a config.log for ardour2..

Sorry yet again. You're right, it's right there in the source directory, after you begin to build the port. (Usually, the config.log would be there after you configure the port, so that confused me here.)


> Here is the bottom of it
> 
> /opt/local/bin/gcc-mp-4.4 -o .sconf_temp/conftest_24.o -c -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -pipe -DARCH_X86 -DBUILD_VECLIB_OPTIMIZATIONS -Wall -DHAVE_LIBLO -I. .sconf_temp/conftest_24.c
> In file included from .sconf_temp/conftest_24.c:2:
> /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h:18:35: error: CoreMIDI/MIDIServices.h: No such file or directory
> /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h:19:32: error: CoreMIDI/MIDISetup.h: No such file or directory
> /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h:20:41: error: CoreMIDI/MIDIThruConnection.h: No such file or directory
> /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h:21:33: error: CoreMIDI/MIDIDriver.h: No such file or directory
> scons: Configure: no


That's not exactly what I see on my system. On mine, it looks like the real error in the config.log is:

/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:20:6: error: #error 64-bit not supported

So it's using the 10.4u SDK when we didn't ask it to, and the 10.4u SDK doesn't support 64-bit here, and software builds 64-bit by default as of Snow Leopard. So we should tell it to use the 10.6 SDK instead (or, better yet, no SDK). Then if it still doesn't support 64-bit here, we need to tell it to build 32-bit.


> I will research on filing a ticket..

Instructions for doing so are in the guide:

http://guide.macports.org/chunked/project.html#project.tickets

I see you already filed the ticket:

http://trac.macports.org/ticket/25537



More information about the macports-users mailing list