meson error: Native dependency mtdev' not found / pkg-config problem?Help with AMD Catalyst installationError libx264 not foundYamcha 0.33 Make InstallDependency errorboto3 pkg errorERROR: mdadm: No arrays found in config file or automaticallysudo: system-config-printer: command not found
Produce the random variable for an asset from a uniformly distributed random varible
Why does radiocarbon dating only work in nonliving creatures?
What are the reasons people from the same parish may have married by license?
Did any astronauts on a mission complain about waking up?
Does the German President's apology for WWII reflect the views of the people of Germany?
What to do when the professor does not stand up to cheating?
How to understand quality of Google Maps transport info in advance?
Heavy condensation inside car during winter. Tried multiple things, but no results!
How can a person Insulate copper wire in a medieval world?
Thinking about the notes when playing a piece
Why do new jet engines cost billions to design?
How to response to requests to retest, in hope that the bug is gone?
Continuous functions taking uncountably many values countably often
Stop autocorrect from autocorrecting a word even if I re-type it after it has been autocorrected
Should I not drive with this huge chipped rim?
Earth has got 70% Water. Then why is (hydro) electricity still scarce in some places?
Monoids of endomorphisms of nonisomorphic groups
In Flanders Fields
How do gelatinous cubes reproduce?
Translation for "Readability is one thing, legibility is another"?
Can I land my aircraft on the grass next to the runway at a public airport?
Why does "Endgame" have a different time travel theory?
List of valid keys for sfdx-config.json?
Can a Tiefling be born from two human parents?
meson error: Native dependency mtdev' not found / pkg-config problem?
Help with AMD Catalyst installationError libx264 not foundYamcha 0.33 Make InstallDependency errorboto3 pkg errorERROR: mdadm: No arrays found in config file or automaticallysudo: system-config-printer: command not found
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I'm trying to compile libinput from source using the following script:
$> git clone https://gitlab.freedesktop.org/libinput/libinput
$> cd libinput
$> meson --prefix=/usr builddir/
$> ninja -C builddir/
$> sudo ninja -C builddir/ install
At the third line I get the following error, involving mtdev. I have mtdev-tools installed.
$ meson --prefix=/usr builddir/
The Meson build system
Version: 0.45.1
Source dir: /home/john/Downloads/libinput
Build dir: /home/john/Downloads/libinput/builddir
Build type: native build
Project name: libinput
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Fetching value of define "static_assert": _Static_assert
Header <dirent.h> has symbol "versionsort": YES
Header <errno.h> has symbol "program_invocation_short_name": YES
Has header "xlocale.h": NO
Checking if "locale.h" links: YES
Header <sys/ptrace.h> has symbol "PTRACE_ATTACH": YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency libudev found: YES 237
meson.build:117:0: ERROR: Native dependency 'mtdev' not found
Meson uses pkg-config, which doesn't report mtdev.
$ pkg-config --list-all | grep mtdev
(No results)
I'm not sure if this is the problem, but I don't know how to get pkg-config to "see" mtdev, and I have no idea what else to do.
System: Ubuntu 18.04 LTS. I'm OK with upgrading to 19.04 if that would help.
18.04 software-installation
add a comment
|
I'm trying to compile libinput from source using the following script:
$> git clone https://gitlab.freedesktop.org/libinput/libinput
$> cd libinput
$> meson --prefix=/usr builddir/
$> ninja -C builddir/
$> sudo ninja -C builddir/ install
At the third line I get the following error, involving mtdev. I have mtdev-tools installed.
$ meson --prefix=/usr builddir/
The Meson build system
Version: 0.45.1
Source dir: /home/john/Downloads/libinput
Build dir: /home/john/Downloads/libinput/builddir
Build type: native build
Project name: libinput
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Fetching value of define "static_assert": _Static_assert
Header <dirent.h> has symbol "versionsort": YES
Header <errno.h> has symbol "program_invocation_short_name": YES
Has header "xlocale.h": NO
Checking if "locale.h" links: YES
Header <sys/ptrace.h> has symbol "PTRACE_ATTACH": YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency libudev found: YES 237
meson.build:117:0: ERROR: Native dependency 'mtdev' not found
Meson uses pkg-config, which doesn't report mtdev.
$ pkg-config --list-all | grep mtdev
(No results)
I'm not sure if this is the problem, but I don't know how to get pkg-config to "see" mtdev, and I have no idea what else to do.
System: Ubuntu 18.04 LTS. I'm OK with upgrading to 19.04 if that would help.
18.04 software-installation
add a comment
|
I'm trying to compile libinput from source using the following script:
$> git clone https://gitlab.freedesktop.org/libinput/libinput
$> cd libinput
$> meson --prefix=/usr builddir/
$> ninja -C builddir/
$> sudo ninja -C builddir/ install
At the third line I get the following error, involving mtdev. I have mtdev-tools installed.
$ meson --prefix=/usr builddir/
The Meson build system
Version: 0.45.1
Source dir: /home/john/Downloads/libinput
Build dir: /home/john/Downloads/libinput/builddir
Build type: native build
Project name: libinput
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Fetching value of define "static_assert": _Static_assert
Header <dirent.h> has symbol "versionsort": YES
Header <errno.h> has symbol "program_invocation_short_name": YES
Has header "xlocale.h": NO
Checking if "locale.h" links: YES
Header <sys/ptrace.h> has symbol "PTRACE_ATTACH": YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency libudev found: YES 237
meson.build:117:0: ERROR: Native dependency 'mtdev' not found
Meson uses pkg-config, which doesn't report mtdev.
$ pkg-config --list-all | grep mtdev
(No results)
I'm not sure if this is the problem, but I don't know how to get pkg-config to "see" mtdev, and I have no idea what else to do.
System: Ubuntu 18.04 LTS. I'm OK with upgrading to 19.04 if that would help.
18.04 software-installation
I'm trying to compile libinput from source using the following script:
$> git clone https://gitlab.freedesktop.org/libinput/libinput
$> cd libinput
$> meson --prefix=/usr builddir/
$> ninja -C builddir/
$> sudo ninja -C builddir/ install
At the third line I get the following error, involving mtdev. I have mtdev-tools installed.
$ meson --prefix=/usr builddir/
The Meson build system
Version: 0.45.1
Source dir: /home/john/Downloads/libinput
Build dir: /home/john/Downloads/libinput/builddir
Build type: native build
Project name: libinput
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Fetching value of define "static_assert": _Static_assert
Header <dirent.h> has symbol "versionsort": YES
Header <errno.h> has symbol "program_invocation_short_name": YES
Has header "xlocale.h": NO
Checking if "locale.h" links: YES
Header <sys/ptrace.h> has symbol "PTRACE_ATTACH": YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency libudev found: YES 237
meson.build:117:0: ERROR: Native dependency 'mtdev' not found
Meson uses pkg-config, which doesn't report mtdev.
$ pkg-config --list-all | grep mtdev
(No results)
I'm not sure if this is the problem, but I don't know how to get pkg-config to "see" mtdev, and I have no idea what else to do.
System: Ubuntu 18.04 LTS. I'm OK with upgrading to 19.04 if that would help.
18.04 software-installation
18.04 software-installation
asked Aug 11 at 14:32
SPRBRNSPRBRN
1,6412 gold badges21 silver badges32 bronze badges
1,6412 gold badges21 silver badges32 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
You need to install the libmtdev-dev package:
$> sudo apt-get install libmtdev-dev
Meson and pkg-config are typically looking for the development files of libraries and systems (the header files *.h and the development libraries lib*.so and lib*.a).
In Ubuntu (and Debian, and distros derived from these two), development files are typically stored in packages with the -dev suffix. So you usually want to search for those packages when fixing build dependencies on Ubuntu.
1
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
That's why I mentioned-dev, I was sure this was not the last of it! Glad you worked it out! 😁
– filbranden
Aug 11 at 17:25
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1164995%2fmeson-error-native-dependency-mtdev-not-found-pkg-config-problem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to install the libmtdev-dev package:
$> sudo apt-get install libmtdev-dev
Meson and pkg-config are typically looking for the development files of libraries and systems (the header files *.h and the development libraries lib*.so and lib*.a).
In Ubuntu (and Debian, and distros derived from these two), development files are typically stored in packages with the -dev suffix. So you usually want to search for those packages when fixing build dependencies on Ubuntu.
1
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
That's why I mentioned-dev, I was sure this was not the last of it! Glad you worked it out! 😁
– filbranden
Aug 11 at 17:25
add a comment
|
You need to install the libmtdev-dev package:
$> sudo apt-get install libmtdev-dev
Meson and pkg-config are typically looking for the development files of libraries and systems (the header files *.h and the development libraries lib*.so and lib*.a).
In Ubuntu (and Debian, and distros derived from these two), development files are typically stored in packages with the -dev suffix. So you usually want to search for those packages when fixing build dependencies on Ubuntu.
1
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
That's why I mentioned-dev, I was sure this was not the last of it! Glad you worked it out! 😁
– filbranden
Aug 11 at 17:25
add a comment
|
You need to install the libmtdev-dev package:
$> sudo apt-get install libmtdev-dev
Meson and pkg-config are typically looking for the development files of libraries and systems (the header files *.h and the development libraries lib*.so and lib*.a).
In Ubuntu (and Debian, and distros derived from these two), development files are typically stored in packages with the -dev suffix. So you usually want to search for those packages when fixing build dependencies on Ubuntu.
You need to install the libmtdev-dev package:
$> sudo apt-get install libmtdev-dev
Meson and pkg-config are typically looking for the development files of libraries and systems (the header files *.h and the development libraries lib*.so and lib*.a).
In Ubuntu (and Debian, and distros derived from these two), development files are typically stored in packages with the -dev suffix. So you usually want to search for those packages when fixing build dependencies on Ubuntu.
answered Aug 11 at 16:57
filbrandenfilbranden
1,1892 silver badges10 bronze badges
1,1892 silver badges10 bronze badges
1
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
That's why I mentioned-dev, I was sure this was not the last of it! Glad you worked it out! 😁
– filbranden
Aug 11 at 17:25
add a comment
|
1
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
That's why I mentioned-dev, I was sure this was not the last of it! Glad you worked it out! 😁
– filbranden
Aug 11 at 17:25
1
1
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
Thanks, that worked, but now I've got the same error for libevdev. But guess what. your tip worked and I could install lidevdev-dev, plus a bunch of other programs and in the end it worked. That -dev tip is great!
– SPRBRN
Aug 11 at 17:23
That's why I mentioned
-dev, I was sure this was not the last of it! Glad you worked it out! 😁– filbranden
Aug 11 at 17:25
That's why I mentioned
-dev, I was sure this was not the last of it! Glad you worked it out! 😁– filbranden
Aug 11 at 17:25
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1164995%2fmeson-error-native-dependency-mtdev-not-found-pkg-config-problem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown