From: Bjorn H Samset (bjornhs@rcf2.rhic.bnl.gov)
Date: Fri Aug 01 2003 - 07:33:50 EDT
Hi all. I've just migrated my laptop to RedHat 9, and in the process of compiling brat I've come across a cople of problems. I'd like some input on the following points/suggestions: * First, the autogen step. As Hiro, Steve and Christian pointed out some time back, on newer systems we need to do libtoolize --automake automake -a autoconf ./configure --disable-dependency-tracking make; make install to compile, which is not what's in the autogen file. Is there any reason not to change the autogen? (I.e. will these commands also work for any older systems that we might have?) Christian: I had to include the --disable-dependency-tracking to compile on a newborn, quite standard RH9 installed from a blank disk - since you asked in an email once. (http://www.sdcc.bnl.gov/brahms/private/list_hyper/brahms-dev-l/2485.html) * Then, in the file util/BrIostream.h 1) using std::setprecesion; should be using std::setprecision; Typical physicist typo? ;-) 2) To compile a number of other classes, I had to add using std::setw; using std::cerr; Should this have been dealt with in another way, or is this a good place to add them? * I have multiple instances of files called vector.h around my system. I therefore had to change a number of #include <vector>'s to #include "vector.h" to get the right file. Any reason not to make this change permanent? * Finally, I ended up with a line #include "algorithm.h" in the auto-generated file modules/util/modules_util_Cint.h I could't find this file on my system, and removing the include does not seem to cause problems. Ideas on this? After all that, I have a fresh ROOT and BRAT on my system: [samset@fyspc-kjerne39 samset]$ bratroot ******************************************* * * * W E L C O M E to R O O T * * * * Version 3.05/07 1 August 2003 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* FreeType Engine v2.1.3 used to render TrueType fonts. Compiled for linux with thread support. CINT/ROOT C/C++ Interpreter version 5.15.94, June 30 2003 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. ******************************************** * * * W E L C O M E to B R A T * * Version 2.09/08 * * * * All Classes preloaded * * Library, Header and Script paths set * * * ******************************************** brat [0] Hooray! I'll await some feedback before trying to fix the problems, but note that at least the typo in util/BrIostream.h renders BRAT uncompilable (but easily fixable) at the moment. Ping :-) -- Bjorn H. Samset Phone: 22856465/92051998 PhD student, heavy ion physics Adr: Schouterrassen 6 Inst. of Physics, University of Oslo 0573 Oslo \|/ ----------------------------> -*- <----------------------------- /|\
This archive was generated by hypermail 2.1.5 : Fri Aug 01 2003 - 07:34:43 EDT