scrcpy: Debian Testing - Install Fail
Following the build instruction i’m encountering this error in the install phase. i compiled as user and this is the error launching the installation whit sudo:
lele@host:~/xxx/scrcpy/x$ sudo ninja install
[0/1] Installing files.
Installing app/scrcpy to /usr/local/bin
Stripping target 'app/scrcpy'
Installing server/scrcpy-server.jar to /usr/local/share/scrcpy
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 111, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 504, in run
installer.do_install(datafilename)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 341, in do_install
self.install_targets(d)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 482, in install_targets
install_name_mappings, verbose=False)
File "/usr/lib/python3/dist-packages/mesonbuild/scripts/depfixer.py", line 440, in fix_rpath
fix_jar(fname)
File "/usr/lib/python3/dist-packages/mesonbuild/scripts/depfixer.py", line 421, in fix_jar
subprocess.check_call(['jar', 'xfv', fname, 'META-INF/MANIFEST.MF'])
File "/usr/lib/python3.7/subprocess.py", line 342, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.7/subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'jar': 'jar'
FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18
Commits related to this issue
- Rename scrcpy-server.jar to scrcpy-server The server name ending with .jar has several drawbacks: - meson requires the jar executable to attempt to modify it: <https://github.com/Genymobile/scr... — committed to Genymobile/scrcpy by rom1v 5 years ago
- Rename scrcpy-server.jar to scrcpy-server The server name ending with .jar has several drawbacks: - meson requires the jar executable to attempt to modify it: <https://github.com/Genymobile/scr... — committed to Genymobile/scrcpy by rom1v 5 years ago
@rom1v sorry for my late response.
I’ve managed to make it work by just using ./run x instead of installing It’s working now