Menu

#540 sudo make prefix=<> install not working as expected

closed
None
2024-09-11
2020-07-28
No

I am working on a debian derived linux. I ran cmake to create the makefile as written in documentation and then ran sudo make prefix=<my folder=""> install but the installation happened in /usr/bin and
/usr/share/doc/astyle</my>

The complete list of commands I ran
mkdir as-gcc-exe
cd as-gcc-exe
cmake ../
sudo make prefix=<my folder=""> install</my>

Discussion

  • Sharad Bagri

    Sharad Bagri - 2020-07-28

    The message is not correctly displayed. The command I used is
    sudo make prefix="my folder" install

     

    Last edit: Sharad Bagri 2020-07-28
  • André Simon

    André Simon - 2024-09-11
    • status: open --> closed
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2024-09-11

    the prefix needs to be configured with cmake, not make.

     

Log in to post a comment.

MongoDB Logo MongoDB