Privoxyインストールソースコードが機能しない

Privoxyインストールソースコードが機能しない

インストールしようとしています。隠れ~からソースコード(3.0.28(安定))しかし、うまくいきません。インストールの指示に従いましたが、プログラムのインストールに失敗しました。


GNUmakefile:835: recipe for target 'install' failed
make: *** [install] Error 1

It is strongly recommended to not run Privoxy as root.
You should configure/install/run Privoxy as an unprivileged user...

Then, to build from either unpacked tarball or CVS source:

apt build-dep privoxy

    autoheader
    autoconf
    ./configure      # (--help to see options)
    make             # (the make from GNU, sometimes called gmake)
    su               # Possibly required
    make -n install  # (to see where all the files will go)
    make -s install  # (to really install, -s to silence output)

ユーザーとしてインストール ここに画像の説明を入力してください。


ルートとしてインストール ここに画像の説明を入力してください。

ベストアンサー1

私はセッションテキストを見ました。まずmake -s install、一般ユーザーとして実行しようとしましたが、権限エラーが発生しました。その後、rootとしてこれを実行すると、インストーラはrootであることを知らせます。

Unix(Gnu / Linuxを含む)のセキュリティはバイナリ(ルート/ルートではない)ではありません。他のユーザーにディレクトリへのアクセスを許可できます。

1つの方法は次のとおりです。

  • 管理者グループの作成(sudo addgroup admin && sudo adduser «your-user-name» admin
  • /usr/local()のグループ所有権を変更しますsudo chgrp -R admin /usr/local; sudo chmod -R g+rwx /usr/local
  • 管理者(sudo --group admin make install)としてインストールします。

おすすめ記事