EmixamPP / linux-enable-ir-emitter

Provides support for infrared cameras that are not directly enabled out-of-the box.
MIT License
242 stars 21 forks source link

linux-enable-ir-emitter: command not found #93

Closed zq418 closed 1 year ago

zq418 commented 1 year ago

Describe the bug

How to reproduce

Additional info

After installation, I ran sudo linux-enable-ir-emitter configure but got sudo: linux-enable-ir-emitter: command not found error. It turned out that /usr/lib/x86_64-linux-gnu/linux-enable-ir-emitter/linux-enable-ir-emitter.py was not executable. Running the following command fixed it.

sudo chmod +x /usr/lib/x86_64-linux-gnu/linux-enable-ir-emitter/linux-enable-ir-emitter.py
EmixamPP commented 1 year ago

Thanks for the discovery and the fix, strangely it didn't happen during the tests.

Woofweasel commented 7 months ago

hey! I'm on fedora silverblue 39, and I have this same issue, except when manually building the package I had to use meson to change the installation directory to $HOME/.local rather than /usr/local, as suggested in the manual build docs. therefore, the command suggested here does not work for me. I cannot find the equivalent file within the /.local/lib64/linux-enable-ir-emitter directory on my own pc. can anyone suggest an alternate solution for the issue?

EmixamPP commented 7 months ago

@Woofweasel, please open a new issue for your case, I will help you to find out the problem. By the way, when you execute ninja install -C build, you can see where are installed the different files.