Re: [ROOT] Error in makefile

From: Ray Fliller III (rfliller@bnl.gov)
Date: Fri Sep 06 2002 - 16:21:15 MEST


On 6 Sep 2002, Fons Rademakers wrote:

> Hi Ray,
> 
>   how are you running ./configure? Try running ./configure with the -x
> flag (chang #!/bin/sh to #!/bin/sh -x) and send me the output.
> 
> -- Fons

Here is the output of configure and gmake.
Attached is $ROOTSYS/config/Makefile.config

[rfliller@rainman root]$ configure linux --prefix=/opt/cern/root
--libdir=/opt/cern/root/lib --incdir=/opt/cern/root/include
--datadir=/opt/cern/root --etcdir=/opt/cern/root/etc --enable-shared
--enable-thread --enable-soversion --enable-ttf
--with-ttf-fontdir=/opt/cern/root/ttf/fonts
--with-ttf-incdir=/opt/cern/root/ttf/include
--with-ttf-libdir=/opt/cern/root/ttf/lib 
+ configure linux --prefix=/opt/cern/root --libdir=/opt/cern/root/lib
--incdir=/opt/cern/root/include --datadir=/opt/cern/root
--etcdir=/opt/cern/root/etc --enable-shared --enable-thread
--enable-soversion --enable-ttf
--with-ttf-fontdir=/opt/cern/root/ttf/fonts
--with-ttf-incdir=/opt/cern/root/ttf/include
--with-ttf-libdir=/opt/cern/root/ttf/lib
Configuring for linux
Checking for libXpm ... /usr/local/lib
Checking for libpthread ... /usr/lib
Checking for freetype.h ... /opt/cern/root/ttf/include
Checking for libttf ... /opt/cern/root/ttf/lib
Checking for arial.ttf ... /opt/cern/root/ttf/fonts
Checking for GL/gl.h ... /usr/X11R6/include
Checking for libGL, or libMesaGL ... /usr/X11R6/lib
Checking for libGLU, or libMesaGLU ... /usr/X11R6/lib
Checking for Inventor/SoType.h ... no
Checking for libInventor ... no
Checking for libInventorXt ... no
Checking for mysql.h ... no
Checking for libmysqlclient ... no
Checking for libpq-fe.h ... no
Checking for libpq ... /usr/lib
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for libpacklib, or packlib ... no
Checking for libkernlib, or kernlib ... no
Checking for libPythia ... no
Checking for libPythia6 ... no
Checking for libVenus ... no
Checking for libshift, or shift ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for AliEn.h ... no
Checking for libAliEn ... no
Checking for afterimage.h ... no
Checking for libAfterImage ... no
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... no
Checking for base/libmisc/libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... no
Checking for libk5crypto ... no
Checking for libkrb5 ... no
Checking for shadow passwords ... yes
Checking whether to build libTable ... no
Writing config/Makefile.config ... done
Writing test/Makefile ... done
Writing include/config.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/root.mimes ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done

To build ROOT type:

   gmake
   gmake install

++ echo -ne '\033]0;rfliller@rainman: /opt/cern/root\007'
++ echo -ne '\033]0;rfliller@rainman: /opt/cern/root\007'
[rfliller@rainman root]$ gmake
+ gmake
build/unix/depend.sh thread/src/TThread.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" thread/src/TThread.cxx > thread/src/TThread.d
build/unix/depend.sh x11ttf/src/TGX11TTF.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" x11ttf/src/TGX11TTF.cxx > x11ttf/src/TGX11TTF.d
build/unix/depend.sh proofd/src/proofd.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" proofd/src/proofd.cxx >
proofd/src/proofd.d
build/unix/depend.sh rootx/src/rootx.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" rootx/src/rootx.cxx >
rootx/src/rootx.d
build/unix/depend.sh unix/src/TUnixSystem.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" unix/src/TUnixSystem.cxx > unix/src/TUnixSystem.d
build/unix/depend.sh eg/src/TDatabasePDG.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" eg/src/TDatabasePDG.cxx > eg/src/TDatabasePDG.d
build/unix/depend.sh rint/src/TTabCom.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" rint/src/TTabCom.cxx >
rint/src/TTabCom.d
build/unix/depend.sh gui/src/TGFSComboBox.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" gui/src/TGFSComboBox.cxx > gui/src/TGFSComboBox.d
build/unix/depend.sh gui/src/TGClient.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" gui/src/TGClient.cxx >
gui/src/TGClient.d
build/unix/depend.sh gui/src/TGApplication.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" gui/src/TGApplication.cxx > gui/src/TGApplication.d
build/unix/depend.sh gpad/src/TClassTree.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" gpad/src/TClassTree.cxx > gpad/src/TClassTree.d
build/unix/depend.sh net/src/TAuthenticate.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" net/src/TAuthenticate.cxx > net/src/TAuthenticate.d
build/unix/depend.sh base/src/TROOT.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" base/src/TROOT.cxx >
base/src/TROOT.d
build/unix/depend.sh base/src/TQObject.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" base/src/TQObject.cxx >
base/src/TQObject.d
build/unix/depend.sh base/src/TEnv.d "-pipe -Wall -Woverloaded-virtual
-fPIC -Iinclude -DHAVE_CONFIG -D_REENTRANT" base/src/TEnv.cxx >
base/src/TEnv.d
build/unix/depend.sh base/src/TApplication.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" base/src/TApplication.cxx > base/src/TApplication.d
build/unix/depend.sh utils/src/rootcint.d "-pipe -Wall
-Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT" utils/src/rootcint.cxx > utils/src/rootcint.d
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o utils/src/rootcint.o -c utils/src/rootcint.cxx
g++ -O  -o bin/rootcint utils/src/rootcint.o \
	   -Llib -lCint -lm -ldl -rdynamic
utils/src/rootcint.o: In function `main':
utils/src/rootcint.o(.text+0x9be3): the use of `tmpnam' is dangerous,
better use `mkstemp'
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o base/src/TApplication.o -c base/src/TApplication.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o base/src/TEnv.o -c base/src/TEnv.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o base/src/TQObject.o -c base/src/TQObject.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o base/src/TROOT.o -c base/src/TROOT.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o net/src/TAuthenticate.o -c net/src/TAuthenticate.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o unix/src/TUnixSystem.o -c unix/src/TUnixSystem.cxx
g++ -shared -Wl,-soname,libCore.so.3.03 -O -o lib/libCore.so.3.03
base/src/InitGui.o base/src/Match.o base/src/Stringio.o
base/src/TApplication.o base/src/TApplicationImp.o base/src/TAtt3D.o
base/src/TAttAxis.o base/src/TAttFill.o base/src/TAttLine.o
base/src/TAttMarker.o base/src/TAttPad.o base/src/TAttText.o
base/src/TBenchmark.o base/src/TBrowser.o base/src/TBrowserImp.o
base/src/TBuffer.o base/src/TCanvasImp.o base/src/TColor.o
base/src/TContextMenu.o base/src/TContextMenuImp.o
base/src/TControlBarImp.o base/src/TDatime.o base/src/TDirectory.o
base/src/TDSet.o base/src/TEnv.o base/src/TError.o base/src/TException.o
base/src/TExec.o base/src/TFile.o base/src/TFolder.o base/src/TFree.o
base/src/TGuiFactory.o base/src/TInspectorImp.o base/src/TKey.o
base/src/TKeyMapFile.o base/src/TMapFile.o base/src/TMath.o
base/src/TMD5.o base/src/TMemberInspector.o base/src/TMessageHandler.o
base/src/TNamed.o base/src/TObject.o base/src/TObjPtr.o
base/src/TObjString.o base/src/TPadView3D.o base/src/TPluginManager.o
base/src/TProcessID.o base/src/TProcessUUID.o base/src/TQConnection.o
base/src/TQObject.o base/src/TRandom2.o base/src/TRandom3.o
base/src/TRandom.o base/src/TRealData.o base/src/TRefCnt.o base/src/TRef.o
base/src/TRegexp.o base/src/TROOT.o base/src/TStopwatch.o
base/src/TStorage.o base/src/TString.o base/src/TStringLong.o
base/src/TStyle.o base/src/TSysEvtHandler.o base/src/TSystem.o
base/src/TSystemDirectory.o base/src/TSystemFile.o base/src/TTask.o
base/src/TTime.o base/src/TTimer.o base/src/TTimeStamp.o base/src/TUUID.o
base/src/TView.o base/src/TVirtualFitter.o base/src/TVirtualGL.o
base/src/TVirtualMutex.o base/src/TVirtualPad.o base/src/TVirtualPS.o
base/src/TVirtualX.o cont/src/TArrayC.o cont/src/TArray.o
cont/src/TArrayD.o cont/src/TArrayF.o cont/src/TArrayI.o
cont/src/TArrayL.o cont/src/TArrayS.o cont/src/TBits.o cont/src/TBtree.o
cont/src/TClassTable.o cont/src/TClonesArray.o cont/src/TCollection.o
cont/src/TExMap.o cont/src/THashList.o cont/src/THashTable.o
cont/src/TIterator.o cont/src/TList.o cont/src/TMap.o cont/src/TObjArray.o
cont/src/TObjectTable.o cont/src/TOrdCollection.o cont/src/TRefArray.o
cont/src/TSeqCollection.o cont/src/TSortedList.o meta/src/TBaseClass.o
meta/src/TCint.o meta/src/TClass.o meta/src/TClassMenuItem.o
meta/src/TDataMember.o meta/src/TDataType.o meta/src/TDictionary.o
meta/src/TFunction.o meta/src/TGenericClassInfo.o meta/src/TGlobal.o
meta/src/TInterpreter.o meta/src/TMethodArg.o meta/src/TMethodCall.o
meta/src/TMethod.o meta/src/TStreamerElement.o meta/src/TStreamerInfo.o
meta/src/TToggle.o meta/src/TToggleGroup.o net/src/TAuthenticate.o
net/src/TCache.o net/src/TFTP.o net/src/TGrid.o net/src/TGridResult.o
net/src/TInetAddress.o net/src/TMessage.o net/src/TMonitor.o
net/src/TNetFile.o net/src/TPServerSocket.o net/src/TPSocket.o
net/src/TServerSocket.o net/src/TSocket.o net/src/TSQLResult.o
net/src/TSQLRow.o net/src/TSQLServer.o net/src/TUrl.o net/src/TWebFile.o
unix/src/TUnixSystem.o zip/src/Bits.o zip/src/Deflate.o zip/src/Inflate.o
zip/src/Trees.o clib/src/attach.o clib/src/Demangle.o clib/src/detach.o
clib/src/Getline.o clib/src/getpagesize.o clib/src/keys.o
clib/src/mcalloc.o clib/src/mfree.o clib/src/mmalloc.o clib/src/mmapsup.o
clib/src/mmcheck.o clib/src/mmemalign.o clib/src/mmstats.o
clib/src/mmtrace.o clib/src/mrealloc.o clib/src/mvalloc.o
clib/src/sbrksup.o clib/src/snprintf.o clib/src/strtod.o clib/src/strtok.o
base/src/G__Base1.o base/src/G__Base2.o base/src/G__Base3.o
cont/src/G__Cont.o meta/src/G__Meta.o net/src/G__Net.o unix/src/G__Unix.o
clib/src/G__Clib.o
==> lib/libCore.so done
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o gpad/src/TClassTree.o -c gpad/src/TClassTree.cxx
g++ -shared -Wl,-soname,libGpad.so.3.03 -O -o lib/libGpad.so.3.03
gpad/src/TAttCanvas.o gpad/src/TAttFillCanvas.o gpad/src/TAttLineCanvas.o
gpad/src/TAttMarkerCanvas.o gpad/src/TAttTextCanvas.o gpad/src/TButton.o
gpad/src/TCanvas.o gpad/src/TClassTree.o gpad/src/TControlBarButton.o
gpad/src/TControlBar.o gpad/src/TDialogCanvas.o gpad/src/TDrawPanelHist.o
gpad/src/TFitPanel.o gpad/src/TFitPanelGraph.o gpad/src/TGroupButton.o
gpad/src/TInspectCanvas.o gpad/src/TPad.o gpad/src/TPaveClass.o
gpad/src/TSliderBox.o gpad/src/TSlider.o gpad/src/G__GPad.o
==> lib/libGpad.so done
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o gui/src/TGApplication.o -c gui/src/TGApplication.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o gui/src/TGClient.o -c gui/src/TGClient.cxx
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o gui/src/TGFSComboBox.o -c gui/src/TGFSComboBox.cxx
g++ -shared -Wl,-soname,libGui.so.3.03 -O -o lib/libGui.so.3.03
gui/src/HelpText.o gui/src/TG3DLine.o gui/src/TGApplication.o
gui/src/TGButton.o gui/src/TGButtonGroup.o gui/src/TGCanvas.o
gui/src/TGClient.o gui/src/TGComboBox.o gui/src/TGDimension.o
gui/src/TGDoubleSlider.o gui/src/TGFileDialog.o gui/src/TGFrame.o
gui/src/TGFSComboBox.o gui/src/TGFSContainer.o gui/src/TGGC.o
gui/src/TGIcon.o gui/src/TGImageMap.o gui/src/TGLabel.o gui/src/TGLayout.o
gui/src/TGListBox.o gui/src/TGListTree.o gui/src/TGListView.o
gui/src/TGMenu.o gui/src/TGMimeTypes.o gui/src/TGMsgBox.o
gui/src/TGNumberEntry.o gui/src/TGObject.o gui/src/TGPicture.o
gui/src/TGProgressBar.o gui/src/TGScrollBar.o gui/src/TGShutter.o
gui/src/TGSlider.o gui/src/TGSplitter.o gui/src/TGStatusBar.o
gui/src/TGString.o gui/src/TGTab.o gui/src/TGTableLayout.o
gui/src/TGTextBuffer.o gui/src/TGText.o gui/src/TGTextEdit.o
gui/src/TGTextEditDialogs.o gui/src/TGTextEntry.o gui/src/TGTextView.o
gui/src/TGToolBar.o gui/src/TGToolTip.o gui/src/TGView.o
gui/src/TGWidget.o gui/src/TGWindow.o gui/src/TGXYLayout.o
gui/src/TRootApplication.o gui/src/TRootBrowser.o gui/src/TRootCanvas.o
gui/src/TRootContextMenu.o gui/src/TRootControlBar.o gui/src/TRootDialog.o
gui/src/TRootEmbeddedCanvas.o gui/src/TRootGuiFactory.o
gui/src/TRootHelpDialog.o gui/src/G__Gui1.o gui/src/G__Gui2.o
gui/src/G__Gui3.o
==> lib/libGui.so done
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o rint/src/TTabCom.o -c rint/src/TTabCom.cxx
g++ -shared -Wl,-soname,libRint.so.3.03 -O -o lib/libRint.so.3.03
rint/src/TRint.o rint/src/TTabCom.o rint/src/G__Rint.o
==> lib/libRint.so done
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -o eg/src/TDatabasePDG.o -c eg/src/TDatabasePDG.cxx
g++ -shared -Wl,-soname,libEG.so.3.03 -O -o lib/libEG.so.3.03
eg/src/TAttParticle.o eg/src/TDatabasePDG.o eg/src/TDecayChannel.o
eg/src/TGenerator.o eg/src/TParticleClassPDG.o eg/src/TParticle.o
eg/src/TParticlePDG.o eg/src/TPrimary.o eg/src/G__EG.o
==> lib/libEG.so done
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
-D_REENTRANT -I/opt/cern/root/ttf/include -o x11ttf/src/TGX11TTF.o -c
x11ttf/src/TGX11TTF.cxx
g++ -shared -Wl,-soname,libGX11TTF.so.3.03 -O -o lib/libGX11TTF.so.3.03
x11ttf/src/TGX11TTF.o x11ttf/src/G__X11TTF.o /opt/cern/root/lib
/opt/cern/root/ttf/lib/libttf.a
/opt/cern/root/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
gmake: *** [lib/libGX11TTF.so] Error 1
++ echo -ne '\033]0;rfliller@rainman: /opt/cern/root\007'
[rfliller@rainman root]$ 





-- 

 RAINMAN
      "How much does a piece of gum cost Ray?"
      "About $100."
      "How much does a new car cost Ray?"
      "`Bout $100."
      "There goes working for NASA!"

==================================================================
Ray Fliller: rfliller@bnl.gov      Office Phone: (631)-344-6124 
C-A Accelerator Physics            Dept. Fax: (631)-344-5954
Building 911B
Brookhaven National Lab
Upton, NY 11973                    Office: Room 211

http://www.agsrhichome.bnl.gov/People/rfliller/
==================================================================





This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:08 MET