Re: [Brahms-dev-l] [Fwd: reminder on OS upgrade plans]

From: Kris Hagel <hagel@comp.tamu.edu>
Date: Wed Aug 24 2005 - 10:19:43 EDT
Hiro,
These warnings can be eliminated by a simple change in the 
acinclude.m4.  Just change the statement AC_DEFUN(BRAT_DEBUG,.....) to 
AC_DEFUN([BRAT_DEBUG],........)
ie, but brackets around the function being defined.  Why they all of a 
sudden need that is beyond me, but it works.

I also ran once or twice into a very wierd problem where it cratered 
after even doing that.  If you get something "wierd", try to remove the 
autom4te.... directory.  Apparently that error is generated when it 
finds a autom4te.... directory that was generated by a previous version 
of automake.

Kris

Hironori Ito wrote:

> Hello.  I just tried to compile root/brat in test machines using 
> SL4.0.  It failed with the following messages.
> in this machines, following versions of programs are used.
> gcc/g++ version 3.4.3
> aclocal/automake 1.9
> autoconf  2.59
>
> in rplay45 (SL 4.0)
> in autogen
> after aclocal -I config, following message shows up.
>
> acinclude.m4:6: warning: underquoted definition of BRAT_DEBUG
>  run info '(automake)Extending aclocal'
>  or see 
> http://sources.redhat.com/automake/automake.html#Extending-aclocal
> acinclude.m4:25: warning: underquoted definition of BRAT_OPTIMIZE
> acinclude.m4:59: warning: underquoted definition of BRAT_LATEX
> acinclude.m4:75: warning: underquoted definition of BRAT_DVIPS
> acinclude.m4:81: warning: underquoted definition of BRAT_MAKEINDEX
> acinclude.m4:87: warning: underquoted definition of BRAT_FIG2DEV
> acinclude.m4:93: warning: underquoted definition of BRAT_LATEX2HTML
> acinclude.m4:110: warning: underquoted definition of BRAT_ROOT
> acinclude.m4:157: warning: underquoted definition of BRAT_XPM
> acinclude.m4:299: warning: underquoted definition of BRAT_PATHS
>
>
> in make, following error messages, and failed to compile.  (Is it due 
> to the aclocal warning message?  Needs help from automake expert since 
> I don't know anything about it.)
>
>
> make[2]: Entering directory `/home/hito/brat/db/main'
> if /bin/sh ../../libtool --mode=compile --tag=CXX g++ 
> -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"brat\" 
> -DVERSION=\"2.27.4\" -DONL_unix=1 -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1  -I. -I.  -I. -I/home/hito/root//include/root 
> -I../../data/abc -I../../data/params -I../../util -I../../managers 
> -I../../modules/abc -I../../modules/util -I../../modules/util/detector 
> -I../../db/abc -I../../db/calib -I../../db/geometry -I../../db/main 
> -I../../db/params -I../../db/pass -I../../db/filecatalog 
> -I../../db/run        -g -O1 -MT BrMainDb.lo -MD -MP -MF 
> ".deps/BrMainDb.Tpo" -c -o BrMainDb.lo BrMainDb.cxx; \
> then mv -f ".deps/BrMainDb.Tpo" ".deps/BrMainDb.Plo"; else rm -f 
> ".deps/BrMainDb.Tpo"; exit 1; fi
> mkdir .libs
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"brat\" 
> -DVERSION=\"2.27.4\" -DONL_unix=1 -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -I. -I. -I. -I/home/hito/root//include/root 
> -I../../data/abc -I../../data/params -I../../util -I../../managers 
> -I../../modules/abc -I../../modules/util -I../../modules/util/detector 
> -I../../db/abc -I../../db/calib -I../../db/geometry -I../../db/main 
> -I../../db/params -I../../db/pass -I../../db/filecatalog 
> -I../../db/run -g -O1 -MT BrMainDb.lo -MD -MP -MF .deps/BrMainDb.Tpo 
> -c BrMainDb.cxx  -fPIC -DPIC -o .libs/BrMainDb.o
> BrMainDb.cxx: In member function `virtual BrRunsDb* 
> BrMainDb::ConnectToRun(const Char_t*)':
> BrMainDb.cxx:147: error: no matching function for call to 
> `BrMainDb::ConnectToDB(BrDb*, const Char_t*&)'
> BrMainDb.cxx:96: note: candidates are: virtual Bool_t 
> BrMainDb::ConnectToDB(BrDb*&, const Char_t*)
> BrMainDb.cxx: In member function `virtual BrPassDb* 
> BrMainDb::ConnectToPass(const Char_t*)':
> BrMainDb.cxx:159: error: no matching function for call to 
> `BrMainDb::ConnectToDB(BrDb*, const Char_t*&)'
> BrMainDb.cxx:96: note: candidates are: virtual Bool_t 
> BrMainDb::ConnectToDB(BrDb*&, const Char_t*)
> BrMainDb.cxx: In member function `virtual BrCalibrationsDb* 
> BrMainDb::ConnectToCalib(const Char_t*)':
> BrMainDb.cxx:177: error: no matching function for call to 
> `BrMainDb::ConnectToDB(BrDb*, const Char_t*&)'
> BrMainDb.cxx:96: note: candidates are: virtual Bool_t 
> BrMainDb::ConnectToDB(BrDb*&, const Char_t*)
> BrMainDb.cxx: In member function `virtual BrGeometriesDb* 
> BrMainDb::ConnectToGeom(const Char_t*)':
> BrMainDb.cxx:189: error: no matching function for call to 
> `BrMainDb::ConnectToDB(BrDb*, const Char_t*&)'
> BrMainDb.cxx:96: note: candidates are: virtual Bool_t 
> BrMainDb::ConnectToDB(BrDb*&, const Char_t*)
> BrMainDb.cxx: In member function `virtual BrFileCatalogsDb* 
> BrMainDb::ConnectToFileCatalog(const Char_t*)':
> BrMainDb.cxx:201: error: no matching function for call to 
> `BrMainDb::ConnectToDB(BrDb*, const Char_t*&)'
> BrMainDb.cxx:96: note: candidates are: virtual Bool_t 
> BrMainDb::ConnectToDB(BrDb*&, const Char_t*)
> make[2]: *** [BrMainDb.lo] Error 1
> make[2]: Leaving directory `/home/hito/brat/db/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/hito/brat/db'
> make: *** [all-recursive] Error 1
>
> Hiro
>
> ------------------------------------------------------------------------
>
> Subject:
> reminder on OS upgrade plans
> From:
> "Tony W. Chan" <tony@bnl.gov>
> Date:
> Tue, 23 Aug 2005 10:24:17 -0400 (EDT)
> To:
> liaisons@rcf.rhic.bnl.gov
>
> To:
> liaisons@rcf.rhic.bnl.gov
> CC:
> linux@rcf.rhic.bnl.gov
>
>
>This is a reminder for the collaborations to test the 
>proposed OS upgrade flavors:
>
>rplay46 -> SL-3.0.2 patched
>rplay48 -> SL-3.0.5 
>rplay45 -> SL-4.0
>
>Your input will help determine the direction of the 
>upcoming OS upgrade (i.e., by ruling in/out some of
>the flavors listed above). I'm planning to hold a 3rd
>OS upgrade meeting Sept. 8 or 9. Please test all the 
>OS flavors above before our next meeting. Thanks.
>
>Tony
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Brahms-dev-l mailing list
>Brahms-dev-l@lists.bnl.gov
>http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
>  
>

_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Wed Aug 24 10:20:13 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 24 2005 - 10:20:17 EDT