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

Can't build on Ubuntu 18.04LTS - Meson Version Error #16

Closed
79rpm opened this issue Mar 13, 2019 · 15 comments
Closed

Can't build on Ubuntu 18.04LTS - Meson Version Error #16

79rpm opened this issue Mar 13, 2019 · 15 comments

Comments

@79rpm
Copy link

79rpm commented Mar 13, 2019

I am on Ubuntu 18.04LTS, the result of the compilation with meson is the following:

meson --buildtype=release build
The Meson build system
Version: 0.45.1
Source dir: /home/macnica/Documents/OBS/obs_gstreamer/obs-gstreamer
Build dir: /home/macnica/Documents/OBS/obs_gstreamer/obs-gstreamer/build
Build type: native build

meson.build:21:0: ERROR: Meson version is 0.45.1 but project requires >=0.46.

A full log can be found at /home/macnica/Documents/OBS/obs_gstreamer/obs-gstreamer/build/meson-logs/meson-log.txt

Do I need to rebuild a newer version of meson for Ubuntu 18.04?

@fzwoch
Copy link
Owner

fzwoch commented Mar 14, 2019

I'm afraid so. But it should be quite easy. The recommended way is to install meson via the python package manager an not via the Ubuntu's apt.

E.g.

sudo apt install python3-pip
pip3 install meson

@79rpm
Copy link
Author

79rpm commented Mar 14, 2019

Thank you for the quick reply. I will do so!

@79rpm 79rpm closed this as completed Mar 14, 2019
@infinit-loop
Copy link

I have installed through "pip3 install --user meson" but it is not working .
It is again saying update meson. What should I do.

@fzwoch
Copy link
Owner

fzwoch commented May 11, 2020

So what do the versions say? meson currently is at 0.54.1. If you have an old version installed you may need to add --upgrade to the pip command.

@infinit-loop
Copy link

Thanks for the reply actually problem solved, actually error was that "install meson , meson not found" but I have already installed it through pip.

@rokibhasansagar
Copy link

rokibhasansagar commented Jun 22, 2020

How to Use latest meson?

First, remove meson installed by apt if installed.

sudo apt purge meson -y

Then install latest pip3 if not installed already

wget -q -O get-pip.py https://github.com/pypa/get-pip/raw/master/get-pip.py
python3 get-pip.py --upgrade --disable-pip-version-check --no-cache-dir
rm -f get-pip.py

Now install meson via pip3

sudo pip3 install meson

Then make a symlink in bin folder from local bin

sudo ln -s /usr/local/bin/meson /usr/bin/meson

Now check which meson && meson --version

@Shadowblitz16
Copy link

pip3 doesn't exist

@panispani
Copy link

@Shadowblitz16 install it

sudo apt install python3-pip

@DonLarry
Copy link

I got this error while running the meson command (meson _build --prefix=/usr)

Run-time dependency libpipewire-0.3 found: NO (tried pkgconfig and cmake)

src/meson.build:108:0: ERROR: Dependency "libpipewire-0.3" not found, tried pkgconfig and cmake

I have ubuntu 20.04.3 LTS, and I just have libpipewire-0.2, but not libpipewire-0.3. Should I add the ubuntu 20.10 repository to install libpipewire-0.3? or there is other solution for my ubuntu version? (I just want to avoid conflicts because of my packages and my ubuntu version)

@fzwoch
Copy link
Owner

fzwoch commented Sep 21, 2021

This plugin does not require pipewire. So I'm not sure where this error is coming from.

@DonLarry
Copy link

oh... I was just following the Download and Build & Install steps because I tried to do the normal installation for ubuntu but I got an error while trying to execute this command debuild -i.* -us -uc

@DonLarry
Copy link

I'm on a zsh shell and running debuild -i.* -us -uc, I got zsh: no matches found: -i.*.
Then if I run debuild "-i.*" -us -uc, I got this:

 dpkg-buildpackage -us -uc -ui -i.*
dpkg-buildpackage: info: source package pulseeffects
dpkg-buildpackage: info: source version 4.8.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Mikhail Novosyolov <mikhailnov@dumalogiya.ru>
 dpkg-source -i.* --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: error: source package has two conflicting values - easyeffects and pulseeffects
dpkg-buildpackage: error: dpkg-source -i.* --before-build . subprocess returned exit status 25
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i.* failed

That's why I tried with the section "Download" and "Build & Install" (which I thought it is like a general installation method?, idk)

@fzwoch
Copy link
Owner

fzwoch commented Sep 21, 2021

The TL;DR install method is outlined in the README.md of this project. The others things have nothing to do with this plugin.

@myunghunkang
Copy link

In Ubuntu 18.04, I've got latest version of meson.

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt list | grep python3.8
sudo apt-get install python3.8
/usr/bin/python3.8 -m pip install --user meson

@Abdull
Copy link

Abdull commented Apr 29, 2024

pipx install meson

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

9 participants