我试图在LinuxMint19.1上安装SVP (SmoothVideo项目),但我在安装Vapoursynth时遇到了问题。当我尝试“从源代码构建第三方应用程序”( -> Vapoursynth -> # build 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‘来修正这个问题,因为某种原因,’让干净‘并没有一路清洁它。但现在我面临着一个新的问题。一些叫做"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....发布于 2019-06-27 16:26:30
错误消息意味着Cython过时了。使用pip3更新它。
pip3 install Cythonhttps://unix.stackexchange.com/questions/519078
复制相似问题