[alsa-devel] alsa-utils-1.0.24.2 won't compile on x86_64 - CoreFoundation error
Apologies if this should have gone to alsa-user instead, but I've just tried compiling alsa-utils-1.0.24.2 on a Debian testing amd64 system, and configure gave a list of errors related to CoreFoundation. There were several similar to this in config.log:
... configure:4589: checking for CFPreferencesCopyAppValue configure:4607: gcc -o conftest -g -O2 conftest.c -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:11:42: fatal error: CoreFoundation/CFPreferences.h: No such file or directory compilation terminated. ...
I ran ./configure with default settings. Kernel is 3.2.1 compiled for k8 from kernel.org source. alsa-lib-1.0.24.1 compiled and installed sucessfully.
Possibly a stupid question, but why is it checking for CoreFoundation on a Linux system?
John
John Rigg wrote:
I've just tried compiling alsa-utils-1.0.24.2 on a Debian testing amd64 system, and configure gave a list of errors related to CoreFoundation. There were several similar to this in config.log:
... configure:4589: checking for CFPreferencesCopyAppValue configure:4607: gcc -o conftest -g -O2 conftest.c -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:11:42: fatal error: CoreFoundation/CFPreferences.h: No such file or directory compilation terminated. ...
Possibly a stupid question, but why is it checking for CoreFoundation on a Linux system?
Ask whoever wrote the GNU gettext automake macros. Probably it's easier to let this check fail than to add an OS check.
Regards, Clemens
On 22.01.2012 23:19, John Rigg wrote:
Apologies if this should have gone to alsa-user instead, but I've just tried compiling alsa-utils-1.0.24.2 on a Debian testing amd64 system, and configure gave a list of errors related to CoreFoundation. There were several similar to this in config.log:
... configure:4589: checking for CFPreferencesCopyAppValue configure:4607: gcc -o conftest -g -O2 conftest.c -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:11:42: fatal error: CoreFoundation/CFPreferences.h: No such file or directory compilation terminated.
Are you sure that the error is related to this? My configure&make completes succesfully but in my config.log I have those lines too. Actually they're normal tests to check for the availability of CoreFoundation libraries.
On Mon, Jan 23, 2012 at 12:15:52PM +0200, Ozan Çağlayan wrote:
On 22.01.2012 23:19, John Rigg wrote:
... configure:4589: checking for CFPreferencesCopyAppValue configure:4607: gcc -o conftest -g -O2 conftest.c -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:11:42: fatal error: CoreFoundation/CFPreferences.h: No such file or directory compilation terminated.
Are you sure that the error is related to this? My configure&make completes succesfully but in my config.log I have those lines too. Actually they're normal tests to check for the availability of CoreFoundation libraries.
Thanks for the replies. I think I found the problem. Debian testing puts some of the required libraries in /usr/lib/x86_64-linux-gnu instead of /usr/lib. Sorry for the noise.
John
participants (3)
-
Clemens Ladisch
-
John Rigg
-
Ozan Çağlayan