Re: [IGT PATCH] README: list some of the dependencies

Jani Nikula
2013-10-09T07:06:51Z

On Wed, 09 Oct 2013, Ben Widawsky <ben@bwidawsk.net> wrote:
> On Tue, Oct 08, 2013 at 09:19:06PM +0300, Jani Nikula wrote:
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>> ---
>> README | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/README b/README
>> index 653bfcd..a04c987 100644
>> --- a/README
>> +++ b/README
>> @@ -96,3 +96,15 @@ debugger/
>> initiating connections with debug clients..
>>
>> The debugger must be run as root: "sudo debugger/eudb"
>> +
>> +DEPENDENCIES
>> + This is a non-exchaustive list of package dependencies required for
>> + building everything:
>> +
>> + libpciaccess-dev
>> + libdrm-dev
>> + xutils-dev
>> + libcairo2-dev
>> + swig2.0
>> + libpython3.3-dev
>> + x11proto-dri2-dev
>
> I guess my gripe with this kind of thing is people always tend you use
> distro specific package names. Can we somehow prevent it though?

Another problem is that it's bound to get stale. I just listed all the
stuff I needed to install when I tried to build igt on a semi-fresh
debian based installation. My gripe is having to run ./autogen.sh N
times, trying to figure out which package would fix the errors each
time. If only there was an option to list the dependencies!

I'm fine with not merging this. If anyone has better ideas, patches
welcome. ;)

BR,
Jani.

--
Jani Nikula, Intel Open Source Technology Center