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;









1

















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.










share|improve this question
































    1

















    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.










    share|improve this question




























      1












      1








      1








      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.










      share|improve this question















      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






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 11 at 14:32









      SPRBRNSPRBRN

      1,6412 gold badges21 silver badges32 bronze badges




      1,6412 gold badges21 silver badges32 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          2


















          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.






          share|improve this answer





















          • 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












          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
          );



          );














          draft saved

          draft discarded
















          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









          2


















          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.






          share|improve this answer





















          • 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















          2


















          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.






          share|improve this answer





















          • 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













          2














          2










          2









          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.






          share|improve this answer














          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.







          share|improve this answer













          share|improve this answer




          share|improve this answer










          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












          • 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


















          draft saved

          draft discarded















































          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.




          draft saved


          draft discarded














          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





















































          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









          Popular posts from this blog

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü