STT icon indicating copy to clipboard operation
STT copied to clipboard

Bug: PREFIX environment variable has no effect in make install

Open Michal-Szczepaniak opened this issue 4 years ago • 1 comments

Describe the bug

objdump: '/usr/lib/x86_64-linux-gnu/libmagic.so': No such file
objdump: '/usr/lib/x86_64-linux-gnu/libmagic.so': No such file
install -d /usr/local/lib
install -m 0644 /home/foidbgen/tmp/STT/tensorflow/bazel-bin/native_client/libstt.so /usr/local/lib/
install -d /usr/local/include
install -m 0644 coqui-stt.h /usr/local/include
install -d /usr/local/bin
install -m 0755 stt /usr/local/bin/

To Reproduce I followed https://stt.readthedocs.io/en/latest/BUILDING.html and on the install step, as you can see before, PREFIX does not take effect.

Expected behavior It should install files to /usr like i told it to, not /usr/local

Environment (please complete the following information):

  • OS Platform and Distribution: openSUSE Tumbleweed
  • TensorFlow installed from (our builds, or upstream TensorFlow): i followed the instructions so its submodule from master
  • TensorFlow version (use command below): emm its from master sir
  • Python version: 3.8
  • Bazel version (if compiling from source): 3.7
  • GCC/Compiler version (if compiling from source): 11.2.1
  • CUDA/cuDNN version: none
  • GPU model and memory: i'm not using gpu
  • Exact command to reproduce: for the third time, it's env PREFIX=/usr sudo make install

Additional context i'm using fish but it shouldn't matter

Michal-Szczepaniak avatar Dec 22 '21 21:12 Michal-Szczepaniak

PRs welcome! I basically never use make install so I'm not the best one to fix this :)

reuben avatar Dec 22 '21 21:12 reuben