ROOT Ver. 5.28.00D and Ubuntu 11.04 compiling problem

Hi all,

I have been trying to compile the newest ROOT version (with the Ubuntu 11.04 patch). I can configure and compile to a certain point then get an error 1 when trying to compile the class TBufferFile. I have attacched the output of the configure process and what where to make command stalls.

Thanks a bunch in advance.

Cheers, Ben

Edit 1:
I tried fiddling around with it a little more and got this error out more:

Invalid option '-L/usr/lib/x86_64-linux-gnu'. Try ./configure.classic --help *** Error condition reported by Xrootd-configure (rc = 1): bin/rmkdepend -R -fcint/cint/src/g__cfunc.d -Y -w 1000 -- -pipe -m64 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/home/xxx/root-5.28.00d/cint/cint/inc -I/home/xxx/root-5.28.00d/cint/cint/src -I/home/xxx/root-5.28.00d/cint/cint/src/dict -pthread -I. -- /home/xxx/root-5.28.00d/cint/cint/src/g__cfunc.c make: bin/rmkdepend: Command not found make: *** [cint/cint/src/g__cfunc.o] Error 127

I tried make distclean, but that didnt make a difference either. i also ran ./configure linuxx8664gcc, but that does not make a difference either.

Edit 2:
So after tinkering around a little more. I got it go past this error and now get this error:

Options to Xrootd-configure: --ccflavour=gccx8664 --use-xrd-strlcpy --with-krb5-libdir=/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu --with-ssl-shared=yes --enable-shadowpw --disable-krb4 --enable-echo --no-arch-subdirs --disable-mon --with-cxx=g++ --with-ld=g++ Guessing architecture/compiler: linux:x86_64:2.6.38-8-generic linux | x86_64 | 2.6.38-8-generic | x86_64_linux_26 | gccx8664 Guessing architecture/compiler: linux:x86_64:2.6.38-8-generic linux | x86_64 | 2.6.38-8-generic | x86_64_linux_26 | gccx8664 Invalid option '-L/usr/lib/x86_64-linux-gnu'. Try ./configure.classic --help *** Error condition reported by Xrootd-configure (rc = 1): bin/rmkdepend -R -fcore/base/src/TROOT.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -- /home/xxx/root-v5.28.00d/core/base/src/TROOT.cxx g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o core/base/src/TROOT.o -c /home/xxx/root-v5.28.00d/core/base/src/TROOT.cxx cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/gccdemangler.py lib/python/genreflex/gccdemangler.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/gencapa.py lib/python/genreflex/gencapa.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/gendict.py lib/python/genreflex/gendict.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/genheader.py lib/python/genreflex/genheader.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/genreflex.py lib/python/genreflex/genreflex.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/genreflex-rootcint.py lib/python/genreflex/genreflex-rootcint.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/genrootmap.py lib/python/genreflex/genrootmap.py cp /home/xxx/root-v5.28.00d/cint/reflex/python/genreflex/selclass.py lib/python/genreflex/selclass.py g++ -shared -Wl,-soname,libCore.so -m64 -O2 -o lib/libCore.so core/base/src/InitGui.o core/base/src/ManualBase4.o core/base/src/Match.o core/base/src/String.o core/base/src/Stringio.o core/base/src/TApplication.o core/base/src/TApplicationImp.o core/base/src/TAtt3D.o core/base/src/TAttAxis.o core/base/src/TAttBBox.o core/base/src/TAttFill.o core/base/src/TAttLine.o core/base/src/TAttMarker.o core/base/src/TAttPad.o core/base/src/TAttText.o core/base/src/TBase64.o core/base/src/TBenchmark.o core/base/src/TBrowser.o core/base/src/TBrowserImp.o core/base/src/TBuffer3D.o core/base/src/TBuffer.o core/base/src/TCanvasImp.o core/base/src/TColor.o core/base/src/TContextMenu.o core/base/src/TContextMenuImp.o core/base/src/TControlBarImp.o core/base/src/TDatime.o core/base/src/TDirectory.o core/base/src/TEnv.o core/base/src/TError.o core/base/src/TException.o core/base/src/TExec.o core/base/src/TFileCollection.o core/base/src/TFileInfo.o core/base/src/TFolder.o core/base/src/TGuiFactory.o core/base/src/TInetAddress.o core/base/src/TInspectorImp.o core/base/src/TMacro.o core/base/src/TMathBase.o core/base/src/TMD5.o core/base/src/TMemberInspector.o core/base/src/TMessageHandler.o core/base/src/TNamed.o core/base/src/TObject.o core/base/src/TObjectSpy.o core/base/src/TObjString.o core/base/src/TParameter.o core/base/src/TPluginManager.o core/base/src/TPRegexp.o core/base/src/TProcessID.o core/base/src/TProcessUUID.o core/base/src/TQCommand.o core/base/src/TQConnection.o core/base/src/TQObject.o core/base/src/TRefCnt.o core/base/src/TRef.o core/base/src/TRegexp.o core/base/src/TRemoteObject.o core/base/src/TROOT.o core/base/src/TStopwatch.o core/base/src/TStorage.o core/base/src/TString.o core/base/src/TStringLong.o core/base/src/TStyle.o core/base/src/TSysEvtHandler.o core/base/src/TSystem.o core/base/src/TSystemDirectory.o core/base/src/TSystemFile.o core/base/src/TTask.o core/base/src/TTime.o core/base/src/TTimer.o core/base/src/TTimeStamp.o core/base/src/TUri.o core/base/src/TUrl.o core/base/src/TUUID.o core/base/src/TVirtualFFT.o core/base/src/TVirtualGL.o core/base/src/TVirtualMonitoring.o core/base/src/TVirtualMutex.o core/base/src/TVirtualPad.o core/base/src/TVirtualPadEditor.o core/base/src/TVirtualPadPainter.o core/base/src/TVirtualPerfStats.o core/base/src/TVirtualPS.o core/base/src/TVirtualViewer3D.o core/base/src/TVirtualX.o core/cont/src/TArrayC.o core/cont/src/TArray.o core/cont/src/TArrayD.o core/cont/src/TArrayF.o core/cont/src/TArrayI.o core/cont/src/TArrayL64.o core/cont/src/TArrayL.o core/cont/src/TArrayS.o core/cont/src/TBits.o core/cont/src/TBtree.o core/cont/src/TClassTable.o core/cont/src/TClonesArray.o core/cont/src/TCollection.o core/cont/src/TExMap.o core/cont/src/THashList.o core/cont/src/THashTable.o core/cont/src/TIterator.o core/cont/src/TList.o core/cont/src/TMap.o core/cont/src/TObjArray.o core/cont/src/TObjectTable.o core/cont/src/TOrdCollection.o core/cont/src/TRefArray.o core/cont/src/TRefTable.o core/cont/src/TSeqCollection.o core/cont/src/TSortedList.o core/meta/src/TBaseClass.o core/meta/src/TCint.o core/meta/src/TClass.o core/meta/src/TClassGenerator.o core/meta/src/TClassMenuItem.o core/meta/src/TClassRef.o core/meta/src/TDataMember.o core/meta/src/TDataType.o core/meta/src/TDictionary.o core/meta/src/TFunction.o core/meta/src/TGenericClassInfo.o core/meta/src/TGlobal.o core/meta/src/TInterpreter.o core/meta/src/TIsAProxy.o core/meta/src/TMethodArg.o core/meta/src/TMethodCall.o core/meta/src/TMethod.o core/meta/src/TRealData.o core/meta/src/TSchemaRule.o core/meta/src/TSchemaRuleSet.o core/meta/src/TStreamerElement.o core/meta/src/TToggle.o core/meta/src/TToggleGroup.o core/meta/src/TVirtualStreamerInfo.o core/unix/src/TUnixSystem.o core/zip/src/ZDeflate.o core/zip/src/ZInflate.o core/clib/src/attach.o core/clib/src/Demangle.o core/clib/src/detach.o core/clib/src/getpagesize.o core/clib/src/keys.o core/clib/src/mcalloc.o core/clib/src/mfree.o core/clib/src/mmalloc.o core/clib/src/mmapsup.o core/clib/src/mmcheck.o core/clib/src/mmemalign.o core/clib/src/mmstats.o core/clib/src/mmtrace.o core/clib/src/mrealloc.o core/clib/src/mvalloc.o core/clib/src/sbrksup.o core/clib/src/snprintf.o core/clib/src/strlcat.o core/clib/src/strlcpy.o core/metautils/src/RConversionRuleParser.o core/metautils/src/TClassEdit.o core/editline/src/builtins.o core/editline/src/chared.o core/editline/src/common.o core/editline/src/el.o core/editline/src/emacs.o core/editline/src/enhance.o core/editline/src/fcns.o core/editline/src/Getline_el.o core/editline/src/help.o core/editline/src/hist.o core/editline/src/history.o core/editline/src/key.o core/editline/src/map.o core/editline/src/parse.o core/editline/src/prompt.o core/editline/src/read.o core/editline/src/readline.o core/editline/src/refresh.o core/editline/src/search.o core/editline/src/sig.o core/editline/src/term.o core/editline/src/tokenizer.o core/editline/src/TTermManip.o core/editline/src/tty.o core/editline/src/win32vt100.o core/base/src/G__Base1.o core/base/src/G__Base2.o core/base/src/G__Base3.o core/cont/src/G__Cont.o core/meta/src/G__Meta.o core/meta/src/G__TCint.o core/unix/src/G__Unix.o core/clib/src/G__Clib.o core/metautils/src/G__MetaUtils.o core/editline/src/G__Editline.o -L/usr/lib/x86_64-linux-gnu -lz -lncurses -L/usr/lib/x86_64-linux-gnu -lpcre -lcrypt ==> lib/libCore.so done

There now is a ROOT executable, but it says it cant load it when i try to execute it and get this:

Couldn't find font "-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1", trying "fixed". Please fix your system so helvetica can be found, this font typically is in the rpm (or pkg equivalent) package XFree86-[75,100]dpi-fonts or fonts-xorg-[75,100]dpi. ./root: can't start ROOT -- check that /home/xxx/root-v5.28.00d/bin/root.exe exists!
configure.txt (8.41 KB)

Hi,

I have been able to track down at least some of the problems I am having and fixes to get passed them

  1. bin/rmkdepend

To be able to fully compile this after make exits, I have to run the ./configure (I am running ./configure linuxx8664gcc --enable-rootfit --enable-mathmore) again and then it runs passed that point, but i am getting seg faults in my compiler (gcc 4.5.2) left and right

  1. Xrootd still makes trouble

Options to Xrootd-configure: --ccflavour=gccx8664 --use-xrd-strlcpy --with-krb5-libdir=/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu --with-ssl-shared=yes --enable-shadowpw --disable-krb4 --enable-echo --no-arch-subdirs --disable-mon --with-cxx=g++ --with-ld=g++ Guessing architecture/compiler: linux:x86_64:2.6.38-8-generic linux | x86_64 | 2.6.38-8-generic | x86_64_linux_26 | gccx8664 Guessing architecture/compiler: linux:x86_64:2.6.38-8-generic linux | x86_64 | 2.6.38-8-generic | x86_64_linux_26 | gccx8664 Invalid option '-L/usr/lib/x86_64-linux-gnu'. Try ./configure.classic --help *** Error condition reported by Xrootd-configure (rc = 1): bin/rmkdepend -R -fcore/base/src/TROOT.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus -- /home/briedel/root-52800d/core/base/src/TROOT.cxx g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o core/base/src/TROOT.o -c /home/briedel/root-52800d/core/base/src/TROOT.cxx

when i run ./configure linuxx8664gcc --enable-roofit --enable-mathmore --disable-xrootd the build goes past the rmkdepend problem and the build finished without a hitch. The problem is with the xrootd and ubuntu 11.04 it seems