Re: Superimposing a scatter plot

anton empl (empl@calhoun.phys.uh.edu)
Tue, 13 Oct 1998 04:14:21 -0500


Hi Rene,

I just down-loaded the new root distribution (2.00/12) and only had
to apply 3/4 changes to the src in order to compile under Slakware-3.5
successfully. Here is the short recipe:

o) get root_v2.00.Linux.2.0.33.egcs.tar.gz
and root_v2.00.source.tar.gz

o) in the src directory:
ln -sf Makefile.linuxegcs Makefile
and replace egcs with gcc in the makefile since
under Slakware the compiler is still called by it's old name

o) in the routines C_mvalloc.c (starting at line 32)
and C_mmapsup.c (starting at line 45)
comment out definition of getpagesize() since it conflicts with previous definition
in system headers

o) add in UNIX_UnixSystem.cxx (at line 61, just before #include <unistd.h>)
the missing type definition:
typedef int socklen_t;

Two previous problems in X11_GX11.cxx and META_G__Meta.cxx were fixed for this
release.

That's it, unless one wants to compile with opt= -O

o) changes in BASE_Math.cxx (starting at line 44)
keep even for optimized code the following

inline void sincos(Double_t a, Double_t *sinp, Double_t *cosp)
{ *cosp = cos(a); *sinp = sin(a); }

Maybe this information is of help to you. I hope I am not the only one out there
left using Slakware. The version of egcs the distribution uses is egcs-1.0.3

toni