Vaporsynth 설치 문제

Vaporsynth 설치 문제

Linux Mint 19.1에 SVP(SmoothVideo 프로젝트)를 설치하려고 하는데 Vapoursynth를 설치하는 데 문제가 있습니다. "소스에서 타사 애플리케이션 빌드 -> Vapoursynth -> # Vapoursynth 빌드! -> make -j4" 섹션(위치:https://www.svp-team.com/wiki/SVP:Linux) 오류가 발생했습니다.

Fatal error: can't create src/core/.libs/libvapoursynth_la-cachefilter.o: Permission denied

전체 코드는 다음과 같습니다.

  CXX      src/core/libvapoursynth_la-boxblurfilter.lo
  CXX      src/core/libvapoursynth_la-cachefilter.lo
  CC       src/core/libvapoursynth_la-cpufeatures.lo
  CXX      src/core/libvapoursynth_la-exprfilter.lo
rm: cannot remove 'src/core/.libs/libvapoursynth_la-cpufeatures.o': Permission denied
rm: cannot remove 'src/core/.libs/libvapoursynth_la-cachefilter.o': Permission denied
rm: cannot remove 'src/core/.libs/libvapoursynth_la-boxblurfilter.o': Permission denied
rm: cannot remove 'src/core/.libs/libvapoursynth_la-exprfilter.o': Permission denied
Assembler messages:
Fatal error: can't create src/core/.libs/libvapoursynth_la-cpufeatures.o: Permission denied
Makefile:1322: recipe for target 'src/core/libvapoursynth_la-cpufeatures.lo' failed
make: *** [src/core/libvapoursynth_la-cpufeatures.lo] Error 1
make: *** Waiting for unfinished jobs....
Assembler messages:
Fatal error: can't create src/core/.libs/libvapoursynth_la-boxblurfilter.o: Permission denied
Makefile:1472: recipe for target 'src/core/libvapoursynth_la-boxblurfilter.lo' failed
make: *** [src/core/libvapoursynth_la-boxblurfilter.lo] Error 1
In file included from src/core/exprfilter.cpp:38:0:
src/core/jitasm.h: In constructor ‘jitasm::detail::ResultT<float, 4>::ResultT(float)’:
src/core/jitasm.h:8533:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   ResultT(const float imm) : val_(Imm32(*(uint32*)&imm)) {}
                                                    ^~~
src/core/jitasm.h: In member function ‘void jitasm::detail::ResultT<double, 8>::StoreResult(jitasm::Frontend&, const jitasm::detail::ResultDest&)’:
src/core/jitasm.h:8608:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     f.mov(f.dword_ptr[f.rsp - 8], *reinterpret_cast<uint32*>(&imm_));
                                                                   ^
Assembler messages:
Fatal error: can't create src/core/.libs/libvapoursynth_la-cachefilter.o: Permission denied
Makefile:1479: recipe for target 'src/core/libvapoursynth_la-cachefilter.lo' failed
make: *** [src/core/libvapoursynth_la-cachefilter.lo] Error 1
Assembler messages:
Fatal error: can't create src/core/.libs/libvapoursynth_la-exprfilter.o: Permission denied
Makefile:1486: recipe for target 'src/core/libvapoursynth_la-exprfilter.lo' failed
make: *** [src/core/libvapoursynth_la-exprfilter.lo] Error 1

최신 Python과 Cython을 설치하여 일부 문제를 해결했지만 이 문제는 여전히 지속됩니다. 어떻게든 라이센스를 받아야 할 것 같은데, 제가 Linux 세계를 처음 접했기 때문에 어떻게 해야 할지 모르겠습니다.

편집: "sudo make clean"을 실행하여 이 문제를 해결했는데 어떤 이유로 완전히 정리되지 않았습니다. 하지만 이제 새로운 문제에 직면하게 되었습니다. "vspipe"라는 항목이 계속 오류를 발생시킵니다. 오류 코드는 다음과 같습니다.

Error compiling Cython file:
------------------------------------------------------------
...
        # If we are not using VSScript, do nothing.
        if self.single:
            return
        _environment_state.current = _env_current_stack().pop()

    def __eq__(self, other):
   ^
------------------------------------------------------------

src/cython/vapoursynth.pyx:133:4: Special method __eq__ must be implemented via __richcmp__
  CXX      src/vspipe/vspipe.o
Makefile:2019: recipe for target 'src/cython/vapoursynth.c' failed
make: *** [src/cython/vapoursynth.c] Error 1
make: *** Waiting for unfinished jobs....

답변1

이 오류 메시지는 Cython이 최신 버전이 아님을 의미합니다. pip3을 사용하여 업데이트하세요.

pip3 install Cython

관련 정보