C compiler gcc not found while installing passenger and nginx

后端 未结 6 1624
盖世英雄少女心
盖世英雄少女心 2021-02-15 18:43

I\'m trying to install Passenger and Nginx on my VPS.

I followed these instructions and replaced all links of all sources to the current version.

But when i ran

6条回答
  •  忘了有多久
    2021-02-15 18:55

    If you do have gcc installed, the problem stems from /tmp being mounted as noexec. The error doesn't exactly help, but if you remount /tmp as exec you can install passenger properly.

    mount -o remount,rw,exec,nosuid /tmp
    

提交回复
热议问题