Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Trouble installing on Mac OS Big Sur 11.0.1 "fatal error: 'al.h' file not found" #67

@ngulya

Description

@ngulya

Some trouble with installation on new Mac OS version
python3 -m pip install --upgrade pocketsphinx
and get:
........
deps/sphinxbase/src/libsphinxad/ad_openal.c:43:10: fatal error: 'al.h' file not found
#include <al.h>
^~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1

and if install from GitHub directly (Install with distutils) with changing al.h to OpenAL/al.h (and same for alc) get this
........
gcc -bundle -undefined dynamic_lookup -arch x86_64 -g build/temp.macosx-10.9-x86_64-3.7/swig/sphinxbase/ad_openal_wrap.o build/temp.macosx-10.9-x86_64-3.7/deps/sphinxbase/src/libsphinxad/ad_openal.o /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL -o build/lib.macosx-10.9-x86_64-3.7/sphinxbase/_ad_openal.cpython-37m-darwin.so
clang: error: no such file or directory: '/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL'
error: command 'gcc' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions