Re: ROOT-CONFIG Question

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Thu, 31 Aug 2006 10:40:55 +0200


I've made the fix in cvs.

Christian Holm Christensen wrote:
> Hi Weijun,
>
> On Wed, 2006-08-30 at 08:29 -0500, Weijun Guo wrote:

>> Greetings,
>>
>>  
>>
>> I installed ROOT with the 5.12/00 installer.  The ROOT-CONFIG utility
>> complains about the following when I tried ´root-config --cflags¡:
>>
>>  
>>
>> /cygdrive/c/root/bin/root-config: line 347: test: too many arguments
>>
>> -MD -GR -GX -G5 -I'c:\root\include'

>
> There's a bug in the root-config script. Instead of
>
> if test "$VC_MAJOR" != "" -a $VC_MAJOR -gt 13; then
>
> it should be
>
> if test "$VC_MAJOR" != "" && test $VC_MAJOR -gt 13; then
>
> Not all SH implementations like the `-a' option. Try modifying the
> script as above, and if that fails, make sure that VC_MAJOR is set.
>
> Yours,
>
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Thu Aug 31 2006 - 10:38:55 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET