Hello Rooters, I'm trying to compile the files in the test-directory for root 2.2306. I get error messages like: ginkgo/home/johann/test.new# make -f Makefile.johann CC -O -KPIC -c Event.cxx "Event.cxx", line 64: Error: Could not open include file "TRandom.h". "Event.cxx", line 65: Error: Could not open include file "TDirectory.h". "Event.h", line 12: Error: Could not open include file "TObject.h". "Event.h", line 13: Error: Could not open include file "TClonesArray.h". "Event.h", line 14: Error: Could not open include file "TH1.h". "Event.h", line 15: Error: Could not open include file "TMath.h". "Event.h", line 26: Error: Int_t is not defined. etc.... This seems to be a problem of my Makefile which is the original one. If I test root-config --cflags I get the output -I/usr/local/root_v2.2306/incl ude which looks OK. The environment variables are set so: ROOTSYS=/usr/local/root_v2.2306 export LD_LIBRARY_PATH=$ROOTSYS/lib export PATH=$PATH:$ROOTSYS/bin The other problem is to compile macros which are using X11 (canvas, ...) with root 2.2108. Compiling macros for xterm works. If I compile the canvastest.C macro everything seems alright till I try to start the programm. ginkgo/home/johann# make -f Makefile.canvastest CC -O -compat=4 -KPIC -I/usr/local/root/include -I/ncc/ttpro/include -DUSE_STRTOK -c canvastest.C CC -o canvastest -g -compat=4 canvastest.o -L/usr/local/root/lib -lNew -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPostscript -lProof -lTree -lUnix -lZip -lm -lsocket -lgen -lsunmath -L/usr/local/root/lib -lNew -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d -L/usr/openwin/lib -L/usr/ccs/lib -lXpm -lX11 -lm -lgen -ldl -lsocket -lsunmath ginkgo/home/johann# ./canvastest Segmentation Fault (core dumped) If I compile canvastest with root 2.2306 I run into the same problems as with the files in test-directory. Any help is welcome! My OS is Solaris. Johann
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET