Re: problems compiling brat-2.0.12.tar.gz

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Fri Jun 21 2002 - 14:56:50 EDT

  • Next message: Eun-Joo Kim: "pbar absorption"

    James,
    
    I do not think you will get much help with version 2.0.12 we are up to
    2.3.17 for pro and 2.4.1 for new.
    Too I think the default root is 3.03/04 in /opt/brahms/new and pro.
    
    Flemming
    
    ------------------------------------------------------
    Flemming Videbaek
    Physics Department
    Brookhaven National Laboratory
    
    tlf: 631-344-4106
    fax 631-344-1334
    e-mail: videbaek@bnl.gov
    ----- Original Message -----
    From: "jnorris" <jnorris@ku.edu>
    To: "Brahms-dev-l@bnl.gov (E-mail)" <brahms-dev-l@bnl.gov>
    Cc: "jnorris" <jnorris@ku.edu>
    Sent: Friday, June 21, 2002 2:43 PM
    Subject: problems compiling brat-2.0.12.tar.gz
    
    
    > People,
    >
    > I'm having trouble compiling brat-2.0.12, and if there's anyone out there
    > (even Ian), who can help, I'd really appreciate it.
    >
    > The error I'm running into is:
    >
    > make[3]: Nothing to be done for `install-data-am'.
    > make[3]: Leaving directory `/home/jnorris/brahms/brat/db'
    > make[2]: Leaving directory `/home/jnorris/brahms/brat/db'
    > Making install in apps
    > make[2]: Entering directory `/home/jnorris/brahms/brat/db/apps'
    > c++ -DPACKAGE=\"brat\" -DVERSION=\"2.0.12\" -DONL_unix=1
    > -I. -I.   -I. -fsigned-char -I/usr/X11/include
    > -I/home/jnorris/brahms/cern/root_v3.00.06/include -I../../data/abc
    > -I../../data/params   -I../../util
    > -I../../managers   -I../../modules/abc
    > -I../../modules/util -I../../db/abc
    >   -I../../db/calib
    > -I../../db/geometry
    >   -I../../db/main   -I../../db/params
    >
    >           -I../../db/pass   -I../../db/run
    > -g -O2 -c CreateCalib.cxx
    > c++ -DPACKAGE=\"brat\" -DVERSION=\"2.0.12\" -DONL_unix=1
    > -I. -I.   -I. -fsigned-char -I/usr/X11/include
    > -I/home/jnorris/brahms/cern/root_v3.00.06/include -I../../data/abc
    > -I../../data/params   -I../../util
    > -I../../managers   -I../../modules/abc
    > -I../../modules/util -I../../db/abc
    >   -I../../db/calib
    > -I../../db/geometry
    >   -I../../db/main   -I../../db/params
    >
    >           -I../../db/pass   -I../../db/run
    > -g -O2 -c DbUtils.cxx
    > /bin/sh ../../libtool --mode=link c++  -g -O2  -o brdbcalib
    > -L/home/jnorris/brahms/cern/root_v3.00.06/lib              -rdynamic
    > CreateCalib.o DbUtils.o -lCore -lCint -lHist -lGraf -lGraf3d -lGpad
    > -lTree
    > -lRint -lPostscript -lMatrix -lPhysics -lm -ldl
    > ../../data/abc/libBratDataAbc.la
    >           ../../managers/libBratManager.la
    >
    >   ../../util/libBratUtil.la
    > ../../db/libBratDb.la
    > mkdir .libs
    > c++ -g -O2 -o .libs/brdbcalib
    > -L/home/jnorris/brahms/cern/root_v3.00.06/lib -rdynamic
    > CreateCalib.o
    > DbUtils.o -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint
    > -lPostscript -lMatrix -lPhysics -lm -ldl
    > ../../data/abc/.libs/libBratDataAbc.so
    > ../../managers/.libs/libBratManager.so
    > ../../util/.libs/libBratUtil.so
    > ../../db/.libs/libBratDb.so -Wl,--rpath
    > -Wl,/home/jnorris/brahms/cern/2000/lib
    > ../../data/abc/.libs/libBratDataAbc.so: undefined reference to
    > `TBuffer::TBuffer(TBuffer::EMode, int, void *, unsigned char)'
    > ../../data/abc/.libs/libBratDataAbc.so: undefined reference to
    > `TObject::Execute(TMethod *, TObjArray *, int *)'
    > ../../data/abc/.libs/libBratDataAbc.so: undefined reference to
    > `TObject::Execute(char const *, char const *, int *)'
    > collect2: ld returned 1 exit status
    > make[2]: *** [brdbcalib] Error 1
    > make[2]: Leaving directory `/home/jnorris/brahms/brat/db/apps'
    > make[1]: *** [install-recursive] Error 1
    > make[1]: Leaving directory `/home/jnorris/brahms/brat/db'
    > make: *** [install-recursive] Error 1
    >
    > I get this after:
    >
    > prompt> aclocal -I config
    > prompt> automake -a
    > prompt> autoconf
    > prompt> ./configure --prefix=/home/jnorris
    > --with-rootsys=/home/brahms/root/lib
    > --libdir=/home/jnorris/brahms/cern/2000/lib --etcdir=/etc/root
    > --enable-rpath
    >
    > This last resulted in the error message that
    >
    > configure: error: --etcdir=/etc/root: invalid option; use --help to
    > show usage
    >
    > So I removed this flag(?) and just used:
    >
    > prompt> ./configure --prefix=/home/jnorris
    > --with-rootsys=/home/brahms/root/lib
    > > --libdir=/home/jnorris/brahms/cern/2000/lib --enable-rpath
    > >
    > prompt> make install
    >
    > Now I copied these ./configure flags(?) out of the README - I am reading
    > these now,  Christian! - and the only 'etc' in the README has to do with
    > "read-only single-machine data in DIR [PREFIX/etc]".  But I have no
    > /home/jnorris/etc, so I didn't really expect:
    >
    > prompt> ./configure --prefix=/home/jnorris
    > --with-rootsys=/home/brahms/root/lib
    > > --libdir=/home/jnorris/brahms/cern/2000/lib --enable-rpath
    > > --sysconffidr=/home/jnorris/etc
    > >
    > to help any.  And in fact, it resulted in a new error message:
    >
    > Making install in apps
    > make[2]: Entering directory `/home/jnorris/brahms/brat/db/apps'
    > /bin/sh ../../libtool --mode=link c++  -g -O2  -o brdbcalib
    > -L/home/jnorris/brahms/cern/root_v3.00.06/lib              -rdynamic
    > CreateCalib.o DbUtils.o -lCore -lCint -lHist -lGraf -lGraf3d -lGpad
    > -lTree
    > -lRint -lPostscript -lMatrix -lPhysics -lm -ldl
    > ../../data/abc/libBratDataAbc.la
    >           ../../managers/libBratManager.la
    >
    >   ../../util/libBratUtil.la
    > ../../db/libBratDb.la
    > c++ -g -O2 -o .libs/brdbcalib
    > -L/home/jnorris/brahms/cern/root_v3.00.06/lib -rdynamic
    > CreateCalib.o
    > DbUtils.o -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint
    > -lPostscript -lMatrix -lPhysics -lm -ldl
    > ../../data/abc/.libs/libBratDataAbc.so
    > ../../managers/.libs/libBratManager.so
    > ../../util/.libs/libBratUtil.so
    > ../../db/.libs/libBratDb.so -Wl,--rpath
    > -Wl,/home/jnorris/brahms/cern/2000/lib
    > ../../data/abc/.libs/libBratDataAbc.so: undefined reference to
    > `TBuffer::TBuffer(TBuffer::EMode, int, void *, unsigned char)'
    > ../../data/abc/.libs/libBratDataAbc.so: undefined reference to
    > `TObject::Execute(TMethod *, TObjArray *, int *)'
    > ../../data/abc/.libs/libBratDataAbc.so: undefined reference to
    > `TObject::Execute(char const *, char const *, int *)'
    > collect2: ld returned 1 exit status
    > make[2]: *** [brdbcalib] Error 1
    > make[2]: Leaving directory `/home/jnorris/brahms/brat/db/apps'
    > make[1]: *** [install-recursive] Error 1
    > make[1]: Leaving directory `/home/jnorris/brahms/brat/db'
    > make: *** [install-recursive] Error 1
    >
    > Anyway, it's all beyond me and desperation is setting in, so:
    >
    > HELP!!!
    >
    > Have a care,
    > James Norris
    >
    > --------------------------------------------------------------------------
    > University of Kansas                                email:  jnorris@ku.edu
    > Dept of Physics & Astronomy                            Phone: 785-864-4889
    > Malott Hall Rm#B008          Lawrence KS 66045           FAX: 785-864-5262
    > Home Address: 810 Ash St      Wamego KS 66547     Home Phone: 785-456-7059
    > --------------------------------------------------------------------------
    >          | WWW Homepage:  http://www.people.ku.edu/~jnorris/ |
    > --------------------------------------------------------------------------
    >  | Perhaps we are the first to talk and think and build and aspire, but |
    >   | we may not be the last. Others may follow us in this adventure... |
    >   | We owe it to that possible future to let their potential survive. |
    >   ---------------------------| David Brin |----------------------------
    >
    



    This archive was generated by hypermail 2b30 : Fri Jun 21 2002 - 14:52:11 EDT