2/ Then I tried using the make file to build root from scratch. There
are a couple of things that I wanted to point out that are not big
problems with the make files but they would tidy things up a bit.
This is what I found:
* I untarred the source tree in a new directory /data1/fduncan/root/
* I made the link in src/
ln -s Makefile.linux Makefile
* I ran make
Problems: 1) there were no bin/ and lib/ directories so I created
them by hand.
Could the standard distribution have these put in?
2) The make crashed when it couldn't find libXpm.a
It took me a while to realize that it is a system
library and not supposed to be distributed with root.
Part of the confusion was that if I look in old
versions of root, libXpm.a is in $ROOTSYS/lib.
Maybe the make file could be changed to not make it
look like libXpm.a is supposed to be in $ROOTSYS/lib
(Also I guess you need libXpm.so to run applications...)
3) There was no $ROOTSYS/include directory with the header
files in it.
Could the make file create and stuff this directory?
4) There was no $ROOTSYS/icons directory. I stole the
directory from the binary distribution of 2.00/09
The last problem with building root from scratch is probably my fault.
When I compiled the programs in the test directory I got a warning:
---------------------------------------------
g++ -O -Wall -fPIC -I/data1/fduncan/root/include -c hworld.cxx
g++ -g hworld.o -L/data1/fduncan/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/X11R6/lib -lXpm -lX11 -lg++ -lm -ldl -rdynamic -o hworld
/usr/bin/ld: warning: libstdc++.so.2.7.2, needed by /usr/lib/libg++.so,
may conflict with libstdc++.so.2.8
hworld done
----------------------------------------------
I don't know if this is a problem with my linux installation or if
it is a problem with the way the root libraries are made.
Hope these comments are helpfull.
- Fraser Duncan