Building root using Cygwin on Windows

Has anybody successfully built root using Cygwin on Windows (using X11)? I haven’t had any luck at all.
Charles

Which version of ROOT? The cvs head should build correctly. What errors do you get during the build?

– Fons

Hi Charles,

[quote]> I get the following error:

Generating dictionary thread/src/G__Thread.cxx…
[…]
Error: rootcint: failed to open //tmp/tbd4.2_rootcint in main
make: *** [thread/src/G__Thread.cxx] Error 1
[/quote]

from ChangeLog.txt:

2003-08-02 07:45 brun Rene.Brun@cern.ch

* utils/src/rootcint.cxx:
From Philippe
Surprisingly, cygwin's fopen can not code with '//tmp' but needs '/tmp'.
This fixes the problem.

So you’ll have to move to a version later than from Aug 2nd, 2003… cygwin handles //dir differently than /dir.

[quote]p.s. You mention that I can download the binaries from the root website. The only binaries I see are from using VC++ and not gcc. Are there gcc binaries (that use X11) available?
[/quote]

See e.g.
http://root.cern.ch/root/Version310.html
which links to ftp://root.cern.ch/root/root_v3.10.00.win32gcc.tar.gz

Axel.

I dont know if that can help but I have sumarised on the following web page what I did to build my own version of root using cygwin on windows. For me it worked.

couet.home.cern.ch/couet/root/ht01.html

Cheers, Olivier

Hi Olivier,

The instructions on your page are for win32, not for win32gcc (i.e. root with X11 on windows, the version Charles was talking about). Look at http://root.axel-naumann.de/ for win32gcc.

Axel.