I have just downloaded the newest root version from cvs (using Mac OS X 10.4.2)
and encountered the following problems in the tutorials:
1, shapes.C:
Bus error when closing X3D or OpenGL
2, limit.C:
Computing limits with systematics...
Error: Can't call TLimitDataSource::AddChannel(signal,background,data,errors,errorb,names) in current scope FILE:limit.C LINE:94
Possible candidates are...
filename line:size busy function type and name (in TLimitDataSource)
(compiled) 0:0 0 public: virtual void AddChannel(TH1*,TH1*,TH1*);
(compiled) 0:0 0 public: virtual void AddChannel(TH1*,TH1*,TH1*,TVectorD*,TVectorD*,TObjArray*);
filename line:size busy function type and name (in TObject)
Error: Symbol mynewdatasource is not defined in current scope FILE:limit.C LINE:94
Error: Failed to evaluate mynewdatasource->AddChannel(signal,background,data,errors,errorb,names)Possible candidates are...
filename line:size busy function type and name
*** Interpreter error recovered ***
root [5]
3, guitest.C:
When selecting “Font Dialog” I get the following error:
root [7] Error in <TGFontDialog::GetFontProperties>: no font selected or specified, should not happen
Warning in <TGFontDialog::GetFontName>: font -*--medium-r-*-*-12-*-*-*-*-*-*-* not found
This is an old error, but I do not know why I get this error.
The error messages you see when starting Font Dialog are the same one I got on SLC3 when installing root for the first time in this environment. The reasons for that were new environment settings required by SLC3. I had to add the $ROOTSYS/fonts directory to the /etc/X11/fs/config file and to restart the font server. After that the error messages disappeared and I got fonts available in the font dialog of guitest.C. My guess is that you have empty ‘Font’ and ‘Style’ lists in the Font dialog, isn’t it? So, the problem on Mac could be similar, i.e. related to some configuration settings. Someone with better knowledge on your environment could help you more.
Thank you for your sugeestion.
Indeed I have empty Font and Style lists in the font dialog.
The corresponding entry in my config file looks as follows:
catalogue = /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/