Re: automake 1.6 or 1.5 with BRAT

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Wed Mar 12 2003 - 12:56:10 EST

  • Next message: Ian Bearden: "Re: AuAu reco and cas farm"
    Hi Hiro et al,
    
    Hironori Ito <hito@rcf.rhic.bnl.gov> wrote concerning
      Re: automake 1.6 or 1.5 with BRAT [Tue, 11 Mar 2003 18:30:54 -0500] 
    ----------------------------------------------------------------------
    > Thanks, now it works.
    > 
    > Just to summarize how to compile brat with automake 1.5 or above, this 
    > is the process.
    > 
    > libtoolize --automake
    ^^^^^^^^^^^^^^^^^^^^^^^
    
    As I mentioned in the mail you've most probably found, this step is
    needed with newer Autotools.  
    
    > aclocal -I config
              ^^^^^^^^^
    This isn't needed anymore, as all the Autoconf macros are in
    `acinclude.m4'. 
      
    > automake -a
    > autoconf
    > ./configure --disable-dependency-tracking (and other options)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    I'm sort of puzzled by this one.  I'm guessing you're on a Red Hat 7.3
    or 8.0 machine (some sort of GNU/Linux at least) and you're using GCC
    (what ever version).  For that compiler, the dependency tracking
    should work just fine.  I think there's a couple of exceptions with
    some compilers that don't do dependency tracking very well (M$VC
    springs to mind, and to some extent also Intel's C++ compiler). 
    
    How did you try to compile BRAT? Did you start from scratch, or did
    you have some old stuff lying around?  If you didn't, please try from
    scratch (I guess you did). 
    
    That said, I think the problem lies with the version of Automake
    you're using.  Automake 1.5 is know to be rather buggy (I've filed at
    least one bug-report against that version).   My suggestion would be
    to upgrade your Automake to 1.6 which works rather nicely.  Also, Red
    Hat has made some rather bizarre choices on how to package the newer
    Autotools - which is particularly surprising as most of the
    maintainers of Autotools are Red Hat employees. 
       
    > make
    
    You do mean `make install' don't you?  Or at least `make ; make
    install'
    
    > >> What is ".Plo"???
    
    These files are Makefile rules that says what a given object depends
    on (what files they `#include').  Normally these are automatically
    generated (GCC option -MD or something like that).   They all live in
    the `.deps' subdirectories.  
    
    > >>> ... alas, without a search engine I'm not now able to find it.
    > >>> There is a command you need to run before automake. 
    
    Ah, the old and ever lasting question:  Why the !@#$%^&*(()_+ hasn't
    RCF set up a search engine on the experiments web-pages?   The really
    need to remove what ever they are sitting on and get to work.  
    
    > >>> In my case, I just copy ltmain.sh from the libtools directory into 
    > >>> brat/config and everything works fine. 
    
    That is depreciated.  Use `libtoolize --automake' as outlined by Hiro
    above. 
    
    > >>>> Since I know nothing about automake, it would be helpful if 
    > >>>> someone can give me a tip or trick to work.  :)
    
    Well, reading the manuals usually help :-) 
    
    Yours, 
    
     ___  |  Christian Holm Christensen 
      |_| |	 -------------------------------------------------------------
        | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
         _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
        _|	          Denmark                    Office: (+45) 353  25 305
     ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
     | |
    


    This archive was generated by hypermail 2.1.5 : Wed Mar 12 2003 - 12:58:19 EST