Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Making DXR a rocking OpenSource project

Received: by 10.68.224.230 with SMTP id rf6mr12756502pbc.4.1330958886427;
        Mon, 05 Mar 2012 06:48:06 -0800 (PST)
Path: h9ni42345pbe.0!nntp.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 05 Mar 2012 08:48:06 -0600
Return-Path: <lio...@lanedo.com>
X-Original-To: dev-static-analy...@lists.mozilla.org
Delivered-To: dev-static-analy...@lists.mozilla.org
X-Virus-Scanned: amavisd-new at mozilla.org
Received-SPF: none (lanedo.com: No applicable sender policy available)
	receiver=notorious.mozilla.org; identity=mailfrom;
	envelope-from="lio...@lanedo.com"; helo=lanedo.com;
	client-ip=85.214.136.179
Date: Mon, 05 Mar 2012 15:47:49 +0100
From: Lionel Dricot <lio...@lanedo.com>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1
MIME-Version: 1.0
To: dev-static-analy...@lists.mozilla.org
Subject: Re: Making DXR a rocking OpenSource project
References: <4F354274.1060105@lanedo.com>
	<3EA8FF4B-F022-4DC4-80C5-E1B8C11096FE@cern.ch>
	<CANTur_6AZqB_2aMQpyF=3NZDGyiCyz1PQg_EmT0OhaB4cm8B3g@mail.gmail.com>
In-Reply-To: <CANTur_6AZqB_2aMQpyF=3NZDGyiCyz1PQg_EmT0OhaB4cm8B3g@mail.gmail.com>
X-BeenThere: dev-static-analy...@lists.mozilla.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Static analysis of the Mozilla codebase
	<dev-static-analysis.lists.mozilla.org>
List-Unsubscribe: <https://lists.mozilla.org/options/dev-static-analysis>,
	<mailto:dev-static-analysis-requ...@lists.mozilla.org?subject=unsubscribe>
List-Post: <mailto:dev-static-analy...@lists.mozilla.org>
List-Help: <mailto:dev-static-analysis-requ...@lists.mozilla.org?subject=help>
List-Subscribe: <https://lists.mozilla.org/listinfo/dev-static-analysis>,
	<mailto:dev-static-analysis-requ...@lists.mozilla.org?subject=subscribe>
Newsgroups: mozilla.dev.static-analysis
Message-ID: <mailman.12706.1330958883.31724.dev-static-analysis@lists.mozilla.org>
Lines: 71
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 63.245.208.166
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-waat9A145nxzr99NVGyj63+hEVE7LTlL14P/wIRh5btUS9p5NkkYVGkCD3r2jXps3CXd6RA/Tn112sK!bYWKiMcLipcKp6+M6DpjT1tke3s4mwH3hfvIIGIhs2hak3+txmLSkE2kyZD5uGCNI4w6oyWhuKFK!sjRLRTcKMSxl+R/a78e4UM1ocs4Wwlnw8buQT+HuWeW4yw==
X-Complaints-To: ab...@mozilla.org
X-DMCA-Complaints-To: ab...@mozilla.org
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 5768
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

I agree with Lassi that we should have some kind of "copy/paste"
instruction set. That would be really helpful.

Le 24/02/12 21:25, Ehsan Akhgari a écrit :
> Building clang is actually really easy.  Have you tried the instructions
> here? http://clang.llvm.org/get_started.html
> 
> Cheers,
> --
> Ehsan
> <http://ehsanakhgari.org/>
> 
> 
> On Fri, Feb 24, 2012 at 12:25 PM, Lassi Tuura <l...@cern.ch> wrote:
> 
>> Hi,
>>
>>> So, what are, in your opinion, the priorities of DXR as an OpenSource
>>> project? Should we try to make a roadmap?
>>
>> I'm interested in using DXR, and have spent a little time playing with
>> it to see if I could install and use it. So far I didn't succeed quick
>> enough and gave up each time; here's why.
>>
>> 1) The setup-env.sh assumes you use bash. Of course I dropped into bash
>>  to get anywhere to play with it, but seems an unnecessary hurdle.
>>
>> 2) I know it says Linux only for now, but I am mostly playing on OS X.
>>  I'm very comfortable porting large bits of software and would be
>>  happy to contribute the necessary changes, but I actually never got
>>  far enough to contribute anything platform-specific.
>>
>> 3) For the life of mine I can't figure out how to build clang/llvm
>>  for which I could actually build the DXR plugin, let alone use it.
>>  I've tried for example using MacPorts llvm/clang installations, but
>>  they don't appear to install all the parts needed. The instructions
>>  just say "cxx-clang: A copy of clang". $(llvm-config --obj-root)
>>  or the headers/libraries DXR seems to want didn't survive in any
>>  of the more or less obvious install targets I tried.
>>
>> 4) The mixed env setup scripts + python + makefile fragments to
>>  figure out which plugins are enabled is, ahem, creative but
>>  perhaps over-complicated. It's certainly a hurdle when trying
>>  to figure out why the install isn't working.
>>
>> The (3) is where I given up so far each time I've tried. I'm comfortable
>> enough working with software, including porting, including multi-million
>> line code base and all sorts of weird build systems. I'd say DXR at this
>> point decidedly qualifies as "hard to install". In comparison, I found
>> dehydra easier to set up to build, even with figuring out how to build
>> the javascript interpreter it required.
>>
>> Perhaps at some point I'll find the energy to push through to figure out
>> the installation permutation which works, but an exact build stanza,
>> even if it was just an example, would help tremendously. I'm definitely
>> interested in DXR, but before worrying about ease of use or speed, I
>> first need to be able to build it :-) Don't underestimate the value of
>> precise step-by-step of building the whole lot from ground up, including
>> all the required dependencies!
>>
>> Regards,
>> Lassi
>> _______________________________________________
>> dev-static-analysis mailing list
>> dev-static-analy...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-static-analysis
>>
> _______________________________________________
> dev-static-analysis mailing list
> dev-static-analy...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-static-analysis