Article 5QRT8 compiling with meson

compiling with meson

by
toodr
from LinuxQuestions.org on (#5QRT8)
I need some help with compiling with meson.
For quite some time now I was compiling libvirt and dependencies in the traditional way (autoconf, make etc, and using SBo scripts). But for the newer versions compilation can be done only via meson system. I've tried Ponce's script for building gst-plugins-bad for instance, but I'm getting this error:
Quote:
../meson.build:1:0: ERROR: Unable to detect linker for compiler "cc -Wl,--version -O2 -fPIC"
And it is not only gst-plugins-bad ! Anything that uses meson produces such error. The compilation doesn't start at all.
There must be something wrong with my system, although I have not done any system configuration changes. Any other script that does not use meson compiles just fine.
Does anyone have any idea what could be the cause for this? It's more that 6 months now and I yet have to compile something with meson.
I've even tried to do the testproject example in meson, but the result is the same...latest?d=yIl2AUoC8zA latest?i=Eu5FL5CTqqg:GoXDoEd2gIw:F7zBnMy latest?i=Eu5FL5CTqqg:GoXDoEd2gIw:V_sGLiP latest?d=qj6IDK7rITs latest?i=Eu5FL5CTqqg:GoXDoEd2gIw:gIN9vFwEu5FL5CTqqg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments