Bug 103461 - build dependencies documentation doesn't work on my machine
Summary: build dependencies documentation doesn't work on my machine
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 05:51 UTC by zwhitchcox
Modified: 2017-10-26 22:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description zwhitchcox 2017-10-26 05:51:35 UTC
https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html#building_dependencies

When I enter `sudo apt-get build-dep libinput`, I get

`
Reading package lists... Done
E: Unable to find a source package for libinput
`

It seems to me like if my computer knew about that ppa, I could just install it directly with `apt install libinput` anyway, though, right?

Anyway, it would be nice to just have a list of dependencies, and I can just install them manually.

Right now, I'm stuck at `dot`, and I can't find that package anywhere.
Comment 1 zwhitchcox 2017-10-26 05:57:07 UTC
Ok, figured out, it was in

So, these are the dependencies I was missing:

doxygen
graphviz
libgtk-3-dev
check
valgrind

If anyone else is having this problem, here's a command you can just copy and paste

sudo apt install -y doxygen graphviz libgtk-3-dev check valgrind
Comment 2 Peter Hutterer 2017-10-26 22:04:36 UTC
(In reply to zwhitchcox from comment #0)
> `
> Reading package lists... Done
> E: Unable to find a source package for libinput
> `

that indicates some missing apt setup/sources. What build-dep does is download the source file of the package, look at it's build description for the .deb package and then install the requirements listed in there. In your case, it fails at the 'download the source' stage which indicates that one of your repositories is either disabled or doesn't provide the source.

> Anyway, it would be nice to just have a list of dependencies, and I can just
> install them manually.

no, these have a tendency to be out of date and not in sync with the code. The meson.build file is the authoritative source, so worst case just work through the missing packages one-by-one.
 
> Right now, I'm stuck at `dot`, and I can't find that package anywhere.

at least yum/dnf can do a dnf install /usr/bin/dot and have the rest work magically. I think apt has a similar feature.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.