Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#25537 closed defect (wontfix)

ardour2: #error 64-bit not supported

Reported by: rgall@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: LP64 Cc: ryandesign (Ryan Carsten Schmidt), deesto (John S. De Stefano Jr.)
Port: ardour2

Description

Ardour2 will not build. Unable to find CoreMIDI Libraries. Config.log output (snip)

/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

These files do exist in ..

/System/Library/Frameworks/CoreMIDI.framework/Headers/

Change History (6)

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

Cc: ryandesign@… added
Keywords: LP64 added
Owner: changed from macports-tickets@… to devans@…
Port: ardour2 added
Summary: Ardour2 Will Not Buildardour2: #error 64-bit not supported

Remember to fill in the Port field and to Cc the port's maintainer.

The error the user will see in the main.log is:

Checking for C header file alsa/asoundlib.h... no
Checking for C header file /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h... no
It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries.

alsa does not exist (there is no port for it) but CoreMIDI.h does exist in that place.

On my system I see slightly different output in the config.log (attached) than above, centered around:

/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.

comment:2 Changed 14 years ago by dbevans (David B. Evans)

Resolution: wontfix
Status: newclosed

Port builds on Leopard and Tiger only for right now. This is really an upstream issue.

If you can get it to build on 64 bit SL let me know.

For now port as of r69930, port announces this problem on SL.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

What about 10.6 with build_arch=i386 and 10.5 with build_arch=x86_64/ppc64?

comment:4 Changed 14 years ago by dbevans (David B. Evans)

It's more complicated than that. As stated it is configured by upstream to only build against /Developer/SDKs/MacOSX10.4u.sdk and the configure script only tests for Leopard and below. Lots of internal bits depend on this. I expect this will be resolved in version 3.

comment:5 Changed 14 years ago by deesto (John S. De Stefano Jr.)

Cc: deesto@… added

Cc Me!

comment:6 Changed 14 years ago by deesto (John S. De Stefano Jr.)

Just hoping for a possible update: Ardour claims they were "nearing alpha" for v3 as of December 2010, but, of course, no solid schedule for release.

Note: See TracTickets for help on using tickets.