Skip to contentSkip to conversation

alsa-utils-1.0.24.2 won't compile on x86_64 - CoreFoundation error

DISCUSSION John Rigg 3 participants 4 messages Jan 22, 2012 – Jan 23, 2012

lore
Share & tools
lore

John Rigg

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · John Rigg

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

Quoted 2 lines

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

#2 lore raw
In reply to John Rigg
Quoted 10 lines · John Rigg

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.

Signature · 4 lines
Ozan Caglayan

Pardus Linux
http://www.pardus.org.tr/eng
author
#3 lore raw
Quoted 11 lines · Ozan Çağlayan
Quoted 5 lines · John Rigg

...
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
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel