Re: [ROOT] Re: ROOT 2.25 on Linux 7.0

From: Brett Viren (bv@bnl.gov)
Date: Tue Jan 09 2001 - 21:15:13 MET


FOKIN@tsl.uu.se writes:
 > 
 > yes, that would be nice. How could we help you to port the changes?
 > I can put my efforts to write Qt ROOT dialogs, like colors and
 > canvas and line attributes and so on. 
 > 
 > We have already got a community of people who wants to have ROOT
 > Qt bridge. Brett Viren from BNL wants to check Denis changes too.
 > Perhaps he could give some input into the port.

I was able to get Denis Bertini's modified ROOT v2-25-03 which you
sent me (for others: the copy on Denis's page is missing) to compile
under Debian and gcc 2.95.2.  This platform needs the same fixes to
ROOT that RH7.0 needs.

To do this was fairly strait-forward. I did:

	cvs -z3  update -D 2000-10-05

to incorporate the fixes needed for the newer gcc/libc.  You will get
a trivial conflict in config/Makefile.linuxdeb2 which needs to be
resolved.  Also, the `XLIBS' line in this file needs to have -lXpm
come before -lX11.

I then configured it with:

./configure linuxdeb2 \
    --with-ttf-fontdir=/usr/share/fonts/truetype \
    --with-ttf-incdir=/usr/include/freetype \
    --with-xpm=/usr/X11R6/lib \
    --with-opengl-incdir=/usr/include \
    --with-opengl-libdir=/usr/lib \
    --with-thread=/usr/lib/libpthread.so

Everything seemed to compile fine.

Finally I compiled the qtroot code:

	http://www-hades.gsi.de/~dbertini/qtroot.tar.gz

and it seems to compile fine as well.  Running the produced ./qtroot
gives me the test plots embedded in a Qt app.

I'll try to do a similar proceedure to get things working with v3.

-Brett.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET