mpv-player / mpv-build

🔨 Helper scripts to compile mpv on Linux
http://mpv.io
404 stars 104 forks source link

Can't build on Ubuntu w/dpkg-buildpackge: "run waf configure first" #147

Closed tsjnachos117 closed 3 years ago

tsjnachos117 commented 3 years ago

I've tried just about everything I can think of, but I can't seem to build mpv through the dpkg-buildpackage frontend. Everytime I try, after it builds ffmpeg and seems to build mpv. However, it eventually gives me the fallowing error, presumably when it's supposed to start packaging: The project was not configured: run "waf configure" first!

I'm running Ubuntu 20.04, x86-64. I use the following arguments to dpkg-buildpackage: -uc -us -b -j2.

Here is a log of my last attempt at building (copied/pasted from my terminal).

sfan5 commented 3 years ago

The README says:

Debian no longer provides an unversioned "python" binary on its own. You need to explicitly tell it to create a symlink to python3 if this is the case:

which python || sudo apt-get install python-is-python3

This is super inconvenient however and I don't know why we don't just fix this in our scripts.

sfan5 commented 3 years ago

There: abc1380522f81223d09c19f2ad378948f80a9e2b