Christian, I have compiled root on solaris. Make sure you are sitting down when you hear the trick because as many of my things, the goal is to get the job done and to hell with truth and beauty of computing building of code. I should note that this trick was far too deep for a shallow computer mind like mine to come up with alone. Konstantin was the mastermind. Here are what I boiled down to be the steps: 1. We copied the x11 stuff from opus which in our world was defined to be "the standard". I eventually put it into /afs/rhic/opt/brahms/root/opus-x11 2. Hack the $ROOTSYS/config/makefile.solarisegcs and add -I/afs/rhic/opt/brahms/root/opus-x11 to the CXXFLAGS I think these two steps do the job. I have used them several times to build the various incarnations of root_v3 on rmine001 It was actually more complicated in the beginning because in addition to having bad X stuff, they also had a bad install on the compiler. So Konstantin made many hacks that I had only a vague understanding of to every corner of the build procedure which used the include files and libraries on opus but the "bad" compiler on rmine001. This only for your cultural enrichement as the proper build on the compiler was made the next day and all of those hacks were removed (by downloading root again and starting from scratch) Kris P. S. I was not frustrated with Solaris per se. My reading is that it is basically a UNIX problem and we would never have crap like this if we would have stayed with VMS!!! Christian Holm Christensen wrote: > Hi all, > > Ok, so ROOT will not build on rmine001, 'cause the header Xlib.h is > bad! It doesn't define the return values of the functions (not allowed > in ANSI C++). Has anyone successfully compiled ROOT on solaris, and of > so what's the trick? > > As you can probably guess, I'm becoming increasingly frustrated about > Solaris! > > Yours, > > Christian ----------------------------------------------------------- > Holm Christensen Phone: (+45) 35 35 96 91 > Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 > DK-2200 Copenhagen N Web: www.nbi.dk/~cholm > Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Tue May 01 2001 - 11:26:46 EDT