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일반 사용자로 실행을 시도했지만 권한 오류가 발생했습니다. 그런 다음 루트로 이 작업을 수행하면 설치 프로그램에서 루트임을 알려줍니다.

Unix(Gnu/Linux 포함)의 보안은 바이너리(루트/루트 아님)가 아닙니다. 다른 사용자에게 디렉터리에 대한 액세스 권한을 부여할 수 있습니다.

한 가지 방법은 다음과 같습니다.

  • 관리자 그룹 생성( 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​​)로 설치합니다.

관련 정보