Root and cygwin --> Problem with the new X server

Hello,
I guess I already know the problem but I’d like to be sure. Few days ago I installed a new package in cygwin and because of that also the Xserver was upgraded. Now I have Cygwin/X 1.5.3 and I found out a lot of things changed (for example to start the normal Xserver I’m not using anymore startx but startxwin.bat).

After that upgrade, root doesn’t work anymore properly:

$ root
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.20/00      24 June 2008   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.20/00 (trunk@24531, Jun 25 2008, 08:28:52 on win32gcc)

CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TCanvas *singlePlot2 = new TCanvas("singlePlot2","");               
dlopen error: No such file or directory
Load Error: Failed to load Dynamic link library /cygdrive/c/Programmi/root_v5.20.00/lib/libFTGL.dll
Error in <TCint::AutoLoad>: failure loading dependent library libFTGL.dll for class TX11GLManager
Error in <TCint::AutoLoad>: failure loading dependent library libGed.dll for class TX11GLManager
Error in <TCint::AutoLoad>: failure loading library libRGL.dll for class TX11GLManager
*** Interpreter error recovered ***
dlopen error: No such file or directory
Load Error: Failed to load Dynamic link library /cygdrive/c/Programmi/root_v5.20.00/lib/libRGL.dll
*** Interpreter error recovered ***
root [1] .q

Now I’m going to download the source and try to recompile it (and see what happen…) Anyone out there with the same problem?

I’ll keep you informed

Ciao

Update:
I recompiled root from scratch and tried again but I have now another error

$ root
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.20/00      24 June 2008   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.20/00 (trunk@24524, Nov 22 2008, 16:47:00 on win32gcc)

CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TCanvas *singlePlot2 = new TCanvas("singlePlot2","")
Error in <TUnixSystem::DynamicPathName>: RGL[.so | .sl | .dl | .a | .dll] does not exist in .:/cygdrive/c/Programmi/root_v5.20.00/lib::/cygdrive/c/Programmi/root_v5.20.00/lib:/cygdrive/c/Programmi/root_v5.20.00/cint/cint/stl
root [1] 

I installed openGL but it’s not enough…

Last update:
the error is still there but it seems is not arming and I’m able to run my macros…

Hi,

you’ll probably have to build ROOT from sources. The ROOT binaries expected the now old, incompatible version of the libraries.

Cheers, Axel.

This is actually what I did… (see my secondo post)

and after the new build from source I got the new error:

root [0] TCanvas *singlePlot2 = new TCanvas("singlePlot2","")
Error in <TUnixSystem::DynamicPathName>: RGL[.so | .sl | .dl | .a | .dll] does not exist in .:/cygdrive/c/Programmi/root_v5.20.00/lib::/cygdrive/c/Programmi/root_v5.20.00/lib:/cygdrive/c/Programmi/root_v5.20.00/cint/cint/stl
root [1] 

Just to let you know…
Ciao

Was there any error during the build?

Philippe