Running precompiled ROOT 6 with cygwin (setup problem)

Hi,

I have a new Windows 7 computer, and am trying to figure out a way to install ROOT, preferably under Cygwin. I downloaded and am running Cygwin64; if the problems would go away, I could also try cywin32. I tried the following:

  1. downloading root_v6.04.14.source.tar.gz and untarring it. I then tried to compile it in 64 bits with ./configure win64gcc. This failed with an error message:
    Checking for linker (LD)… no LD compile $(ROOT_SRCDIR)/build/unix/wingcc_ld.sh found
    I also tried running ./cinfigure win64gcc -all, but the -all option was not recognized.

  2. With the same untarred-v6.04.14, I tried compiling it in 32 bits with ./configure win32gcc -all, which succeeded, followed by make. Make gave an error message in root-6.04.14/core/metautils/src/SelectionRules.cxx
    In file included from include/TString.h:36.0 … "In Function ‘Long64_t TMath::Abs(Long64_t)’;
    include/TMathBase.h:121:10: erorr: ‘llabs’ is not a member of ‘std’.

It then goes on with a suggested alternatives,
In file included from /usr/include/wchar.h:4.0
from /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include/c++/cwchar:44
from /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include/c++/bits/posttypes.h:40
etc.

This was followed by a similar complaint about 'copysign’not being a member of std.

  1. I also tried downloading the binary file as suggested below.
    ftp://root.cern.ch/root/root_v6.00.02.w … 4.8.tar.gz

After untarring, when I try to run root.exe from a Cygwin command line, nothing happens. If I try to run it in a windows window, I get an error box 'root.exe - System Error which says 'The program can’t start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem. I have a feeling that I am missing some installation step, but I’m not sure what.

Any hints about how to get one of these options working would be greatly appreciated. I am somewhat of a novice to this, so would most appreciate very clear, specific instructions.

Thanks.

Spencer