r2 - 13 May 2010 - 20:33:03 - MichelSorelYou are here: TWiki >  NEXT Web  >  NextSoftware > SoftwareOffline > SoftwareOfflineTroubleshooting

Troubleshooting

FMWK Base Code

Compilation

rootcint fails in EventDisplayBase?

  • Error log:
Making all in EventDisplayBase
make[2]: Entering directory `/next/fmwk-R2010-03-12/EventDisplayBase'
/next/root/bin/rootcint -f EventDisplayBaseCint.cxx -c  -I. -I.. -I/usr/include -I/usr/include/xercesc -I/next/root/include AutoAdvance.h ButtonBar.h Canvas.h CfgEdit.h DisplayWindow.h EditMenu.h evdb.h FileMenu.h Functors.h GoToDialog.h HelpMenu.h IoModule.h JobInterface.h JobMenu.h MenuBar.h Printable.h PrintDialog.h RootEnv.h ScanCat.h StatusBar.h View2D.h View3D.h WindowMenu.h LinkDef.h
#error "You need a ISO C conforming compiler to use the glibc headers"
Error: Missing one of '\/' expected at or after line 89.
  • Seen in: Linux, gcc 4.1 (not clear if this is the relevant info)
  • Resolved? Not yet. Will probably involve changes in the EventDisplayBase source code
  • Workaround: remove EventDisplayBase from list of FMWK base code libraries, as this is not used for now:
make distclean
edit top-level Makefile.am, removing EventDisplayBase from list of SUBDIRS
autoreconf
make
make install

Linking

nextoffline

Compilation

Unrecognized bash shell syntax

  • Error log: 
/bin/sh: [[: not found
  • Seen in: Linux systems where /bin/sh points to /bin/dash, as opposed to expected /bin/bash
  • Resolved? Not yet.
  • Workaround:  either have /bin/sh point to /bin/bash on your system (eg, sudo ln -s /bin/sh /bin/bash), or modify the syntax in the SRT_NEXT/SoftRelTools/arch_spec_fmwk.mk and SRT_NEXT/SoftRelTools/arch_spec_bhep.mk makefile fragments

Linking

Cannot resolve relative path to ROOT libraries

  • Error log:
**building library** libAnaBase
ld: file not found: @rpath/libCore.so
collect2: ld returned 1 exit status
make[2]: *** [/Users/sorel/next/nextoffline/releases/current/lib/Darwin-GCC/libAnaBase.dylib] Error 1
make[1]: *** [AnaBase.lib] Error 2
  • Seen in: MacOSX? 10.6
  • Resolved? In SVN trunk version of AnaBase package (will go in next release)

Run-time Problems

Reading non-empty FMWK events in MacOSX?

  • Error log:
depends on the packages being run, but ultimately crashing in the EventDataModel package when ana is invoked with a -i option pointing to a non-null file
  • Seen in: MacOSX?
  • Resolved? Not yet
  • Workaround: only known so far is to place all FMWK modules you are interested in within a single job. In other words, run ana with the -i /dev/null/0 option and have the first module in the job list an event generator module (BHEPReader is the only one we have so far)

-- MichelSorel - 13 May 2010

Edit | WYSIWYG | Attach | PDF | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback