From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [IGT PATCH] README: list some of the dependencies Date: Wed, 9 Oct 2013 07:46:26 -0700 Message-ID: <20131009144625.GA13399@bwidawsk.net> References: <1381256346-16497-1-git-send-email-jani.nikula@intel.com> <20131008231120.GB27157@bwidawsk.net> <87d2ne3opf.fsf@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.bwidawsk.net (bwidawsk.net [166.78.191.112]) by gabe.freedesktop.org (Postfix) with ESMTP id 06BBCE7BE8 for ; Wed, 9 Oct 2013 07:46:30 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87d2ne3opf.fsf@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jani Nikula Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Oct 09, 2013 at 10:09:32AM +0300, Jani Nikula wrote: > On Wed, 09 Oct 2013, Ben Widawsky wrote: > > On Tue, Oct 08, 2013 at 09:19:06PM +0300, Jani Nikula wrote: > >> Signed-off-by: Jani Nikula > >> --- > >> 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. > > I think it's better than nothing... just wanted to see if anyone had better ideas. I just use the wrong package manager, I suppose. It is definitely irritating that autofoo can't just create the list for us. Also, a few of the deps you list are optional (though I think it makes sense to do what you did, which is a default build). -- Ben Widawsky, Intel Open Source Technology Center