mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 21:40:40 +01:00
doc: extend build instructions for dependencies
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8fad73b67a
commit
350112a17e
1 changed files with 29 additions and 4 deletions
|
|
@ -19,10 +19,35 @@ $> sudo make install
|
|||
@note On Debian-based distributions including Ubuntu and its derivatives skip the
|
||||
```--libdir=/usr/lib64``` argument.
|
||||
|
||||
A description on how to fix "No package 'foo' found" errors during the
|
||||
configure stage is available
|
||||
<a href="https://who-t.blogspot.com.au/2014/05/configure-fails-with-no-package-foo.html">in
|
||||
this blog post here</a>.
|
||||
A successful build requires the @ref building_dependencies to be installed
|
||||
at configure time.
|
||||
|
||||
@subsection building_dependencies Build dependencies
|
||||
|
||||
libinput has a few build-time dependencies that must be installed prior to
|
||||
running configure. In most cases, it is sufficient to install the
|
||||
dependencies that your distribution uses to build the libinput package.
|
||||
These can be installed with one of the following commands:
|
||||
|
||||
<ul>
|
||||
<li><b>Debian/Ubuntu</b> based distributions: ```sudo apt-get build-dep
|
||||
libinput```</li>
|
||||
<li><b>Fedora 22</b> and later: ```sudo dnf builddep libinput```</li>
|
||||
<li><b>SuSE/RHEL/CentOS/Fedora 21</b> and earlier: ```sudo yum-builddep libinput```</li>
|
||||
<li><b>Arch</b>:
|
||||
<pre>
|
||||
$> abs extra/libinput
|
||||
$> cd $(mktemp -d)
|
||||
$> cp /var/abs/extra/libinput/PKGBUILD .
|
||||
$> makepkg --syncdeps --nobuild
|
||||
</pre>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
If dependencies are missing, a message ```No package 'foo' found``` will be
|
||||
shown during the configure stage. See
|
||||
<a href="https://who-t.blogspot.com.au/2014/05/configure-fails-with-no-package-foo.html">this blog post here</a>.
|
||||
for instructions on how to fix it.
|
||||
|
||||
@subsection building_libwacom Building without libwacom
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue