Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On ubuntu 16.04 install from an install script does not work #5744

Open
zlqhem opened this issue Jan 9, 2025 · 1 comment
Open

On ubuntu 16.04 install from an install script does not work #5744

zlqhem opened this issue Jan 9, 2025 · 1 comment

Comments

@zlqhem
Copy link

zlqhem commented Jan 9, 2025

Environment

  • OS: Ubuntu 16.04
  • Scrcpy version: 3.1
  • Installation method: install_release.sh
  • Device model:
  • Android version: 14

Describe the bug

I followed instructions in the page https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md

It failed with "No such file or directory **/setup"

# for Debian/Ubuntu
sudo apt install ffmpeg libsdl2-2.0-0 adb wget \
                 gcc git pkg-config meson ninja-build libsdl2-dev \
                 libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \
                 libswresample-dev libusb-1.0-0 libusb-1.0-0-dev

0 upgraded, 0 newly installed, 0 to remove and 820 not upgraded.
git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh
scrcpy-server                      100%[==============================================================>]  88.52K  --.-KB/s    in 0.05s   

2025-01-09 20:06:31 (1.64 MB/s) - ‘scrcpy-server’ saved [90640/90640]

[scrcpy] Verifying prebuilt server...
scrcpy-server: OK
[scrcpy] Building client...
Error during basic setup:

[Errno 2] No such file or directory: '/home/junhee/share/OMS/tools/scrcpy/scrcpy/setup'

Thanks.

@rom1v
Copy link
Collaborator

rom1v commented Jan 9, 2025

Sorry, Ubuntu 16.04 is 9 years old, and is not supported anymore. Your meson is too old, it does not recognize setup as a command in meson setup.

(as a workaround, you may just remove setup from meson setup it might work, but you'll probably get other errors)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants