GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Repeat: jan12 SSL lib problem during root compilation at scientific linux 5.3 64bit
[FIXED] Repeat: jan12 SSL lib problem during root compilation at scientific linux 5.3 64bit [message #13819] Thu, 26 July 2012 07:36 Go to next message
Dmitry Morozov is currently offline  Dmitry Morozov
Messages: 34
Registered: May 2007
Location: Protvino, Russia
continuous participant
From: *ihep.su
This is a repeat message from fairroot thread. Sorry for that.

Hello.

I'm trying to install jan12 externals to sl 5.3 64bit. It's installed at our pc farm, so i stuck with it.

The problem is I get this error during root compilation:
The following parameters are set.
System              :  64bit
C++ compiler        :  g++
C compiler          :  gcc
Fortran compiler    :  gfortran
CXXFLAGS            :  -g -O0
CFLAGS              :  -g -O0
Compiler            :  gcc
Fortran compiler    :  gfortran
Debug               :  yes
Optimization        :  no
Platform            :  linux
Architecture        :  linuxx8664gcc
G4System            :  Linux-g++
g4_data_files       :  yes
g4_get_data         :  yes
Number of parallel    
processes for build :  8
Found cmake version 2.8.2 which is older than the
required version 2.8.6 in PATH
This version is to old
install cmake as external package
*** Package CMake is OK ***
*** Package gtest is OK ***
*** Package glpk is OK ***
*** Package gsl is OK ***
*** Package Boost is OK ***
*** Package ApMon is OK ***
*** Package ml-gsoapclient is OK ***
*** Package Pythia6 is OK ***
*** Package pythia8 is OK ***
*** Package Clhep is OK ***
*** Package Geant4-Source is OK ***
*** Package Geant4-lib is OK ***
*** Compiling root ................ 
*** Building ROOT with debug information
Copied rootconfig.sh ......................
Configure Root ..........................................
linuxx8664gcc
Checking for source directory ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/tools/root
Configuring for linuxx8664gcc
INFO: --enable-xml: already enabled by default.
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
Checking for libX11 ... /usr/lib64
Checking for X11/Xlib.h ... /usr/include
Checking for X11/xpm.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for X11/extensions/shape.h ... /usr/include
Checking for libXpm ... /usr/lib64
Checking for libXft ... /usr/lib64
Checking for libXext ... /usr/lib64
Checking for freetype-config ... /usr/bin/freetype-config
Checking for libfreetype version >= 9.3.0 ... ok
Checking whether to build included libfreetype6 ... no
Checking for pcre-config ... /usr/bin/pcre-config
Checking for libpcre version >= 3.9 ... ok
Checking whether to build included libpcre ... no
Checking for zlib.h ... /usr/include
Checking for libz ... /usr/lib64
Checking whether to build included zlib ... no
Checking for lzma.h ... no
Checking for liblzma ... no
Checking whether to build included lzma ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib64
Checking for libGLU, or libMesaGLU ... /usr/lib64
Checking for GL/glew.h ... no
Checking for libGLEW ... no
Checking whether to build included GLEW ... yes
Checking whether to build included libftgl ... yes
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... no
Checking for libiodbc, libodbc, or odbc32 ... no
Checking for rfio_api.h ... /usr/include/shift
Checking whether rfio_fchmod declared in rfio_api.h ... yes
Checking for librfio, libdpm, libshift, shiftmd, or shift ... no
Checking for rfio_api.h ... /usr/include/shift
Checking whether rfio_fchmod declared in rfio_api.h ... yes
Checking for stager_api.h ... no
Checking for libshift, shiftmd, or shift ... no
Checking for gfal_api.h ... /opt/lcg/include
Checking for libgfal ... /opt/lcg/lib64
Checking for ApMon.h ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/tools/monalisa/include
Checking for libapmoncpp ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/tools/monalisa/lib
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for fitsio.h ... no
Checking for libcfitsio, or cfitsio ... no
Checking for gvc.h ... no
Checking for libgvc, or gvc ... no
Checking for libgraph, or graph ... no
Checking for libcdt, or cdt ... no
Checking for libpathplan, or pathplan ... no
Checking for libexpat, or expat ... no
Checking for libgvplugin_dot_layout, or gvplugin_dot_layout ... no
Checking for libPythia6 ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/generators/lib
Checking for pythia6_common_block_address__ in /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/generators/lib/libPythia6.so ... no
Checking for pythia6_common_block_address_ in /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/generators/lib/libPythia6.so ... no
Checking for pythia6_common_address in /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/generators/lib/libPythia6.so ... ok
Checking for Pythia.h ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/generators/include/pythia8
Checking for libpythia8 ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/generators/lib
Checking for dcap.h ... /opt/d-cache/dcap/include
Checking for libdcap ... no
Checking for chirp_reli.h ... no
Checking for libchirp_client ... no
Checking for hdfs.h ... no
Checking for jni.h ... /usr/java/default/include
Checking for libhdfs ... no
Checking for libjvm ... /usr/java/default/jre/lib/amd64/server
Checking for dns_sd.h ... no
Checking for libdns_sd ... no
Checking for libglite-api-wrapper ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... /usr/include
Checking for png.h ... /usr/include
Checking for tiffio.h ... no
Checking for gif_lib.h ... no
Checking for libjpeg ... /usr/lib64
Checking for libtiff ... no
Checking for libungif ... no
Checking for libz ... /usr/lib64
Checking for libpng ... /usr/lib64
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... no
Checking for libldap ... no
Checking for Python.h ... /usr/include/python2.4
Checking for python2.4, libpython2.4, libpython, python, or Python ... /usr/lib64
Checking for xml2-config ... /usr/bin/xml2-config
Checking for libxml2 version >= 2.4.x ... ok
Checking for XrdVersion.hh ... no
Checking for libssl ... /usr/lib64
Checking for libcrypto ... /usr/lib64
Checking for openssl/bio.h ... /usr/include
Checking for openssl/blowfish.h ... /usr/include
Checking for openssl/err.h ... /usr/include
Checking for openssl/pem.h ... /usr/include
Checking for openssl/rand.h ... /usr/include
Checking for openssl/rsa.h ... /usr/include
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... no
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... /usr/include
Checking for krb5.h redirect ... /usr/include/krb5/krb5.h
Checking for krb5_c_valid_cksumtype in krb5.h ... yes
Checking for valid_cksumtype in krb5.h ... yes
Checking for libk5crypto ... /usr/lib64
Checking whether we're using MIT Kerberos ... yes
Checking for krb5_c_valid_cksumtype in /usr/lib64/libk5crypto.so ... ok
Checking for valid_cksumtype in /usr/lib64/libk5crypto.so ... ok
Checking for libkrb5 ... /usr/lib64
Checking for kinit ... /usr/kerberos/bin/kinit
Checking for libcom_err ... /usr/lib64
Checking for shadow passwords ... yes
Checking for gsl/gsl_version.h ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/basics/gsl/include
Checking for GSL version >= 1.8 ... ok
Checking for libgsl, gslML, or gsl ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/basics/gsl/lib
Checking for libgslcblas, gslcblasML, gslcblas, or cblas ... /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/basics/gsl/lib
Checking whether /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/basics/gsl/lib/libgsl.a is compiled with -fPIC ... yes
Checking whether /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/basics/gsl/lib/libgslcblas.a is compiled with -fPIC ... yes
Checking whether to build libMathMore ... yes
Checking whether to build libGenVector ... yes
Checking whether to build libCintex ... no
Checking whether to build libReflex ... no
Checking whether to build libRooFit ... yes
Checking whether to build libMinuit2 ... yes
Checking whether to build libUnuran ... no
Checking whether to build libGdml ... yes
Checking whether to build libTable ... no
Checking whether to build libTMVA ... yes
Checking whether to build libMemStat ... yes
Checking for Clarens support ... no
Checking for PEAC support ... no
Checking whether to build afdsmgrd ... no
Checking whether to integrate experimental cling ... no 
Checking what type of dictionaries to build ... cint
Checking whether setresuid declared in /usr/include/unistd.h ... yes
Writing config/Makefile.config ... done
Writing config/Makefile.comp ... done
Writing include/RConfigure.h ... done
Writing include/RConfigOptions.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/system.rootauthrc ... done
Writing etc/system.rootdaemonrc ... done
Writing etc/root.mimes ... done
Writing etc/daemons/rootd.rc.d ... done
Writing etc/daemons/rootd.xinetd ... done
Writing etc/daemons/proofd.rc.d ... done
Writing etc/daemons/proofd.xinetd ... done
Writing main/src/proofserv.sh ... done
Writing main/src/roots.sh ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing bin/thisroot.sh ... done
Writing bin/thisroot.csh ... done
Writing bin/setxrd.sh ... done
Writing bin/setxrd.csh ... done
Writing config.status ... done

Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_glew, builtin_lzma, exceptions, explicitlink, gdml, genvector, gfal, krb5, mathmore, memstat, minuit2, monalisa, opengl, pythia6, pythia8, python, roofit, shadowpw, shared, soversion, ssl, tmva, x11, xft, xml.

To build ROOT type:

   make 

bin/rmkdepend -R -fcore/base/src/TROOT.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/core/base/src/TROOT.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o core/base/src/TROOT.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/core/base/src/TROOT.cxx
bin/rmkdepend -R -fnet/net/src/TSSLSocket.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TSSLSocket.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o net/net/src/TSSLSocket.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TSSLSocket.cxx
bin/rmkdepend -R -fhist/hist/src/TProfile2D.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TProfile2D.cxx
bin/rmkdepend -R -fhist/hist/src/TProfile3D.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TProfile3D.cxx
bin/rmkdepend -R -fhist/hist/src/TSVDUnfold.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TSVDUnfold.cxx
bin/rmkdepend -R -fhist/hist/src/TSpline.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TSpline.cxx
bin/rmkdepend -R -fhist/hist/src/TUnfold.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TUnfold.cxx
bin/rmkdepend -R -fhist/hist/src/TUnfoldSys.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TUnfoldSys.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o hist/hist/src/TProfile2D.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TProfile2D.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o hist/hist/src/TUnfold.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TUnfold.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o hist/hist/src/TSpline.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TSpline.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o hist/hist/src/TProfile3D.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TProfile3D.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o hist/hist/src/TUnfoldSys.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TUnfoldSys.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o hist/hist/src/TSVDUnfold.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/hist/hist/src/TSVDUnfold.cxx
/usr/include/openssl/kssl.h:140: error: expected ';' before '*' token
/usr/include/openssl/kssl.h:162: error: 'krb5_ticket_times' has not been declared
/usr/include/openssl/kssl.h:170: error: 'krb5_ticket_times' has not been declared
make: *** [net/net/src/TSSLSocket.o] Error 1
make: *** Waiting for unfinished jobs....
g++ -shared -Wl,-soname,libCore.so.5.32 -m64 -g -Wl,--no-undefined -o lib/libCore.so.5.32 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/TBuffer.o core/base/src/TBuffer3D.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/TMD5.o core/base/src/TMacro.o core/base/src/TMathBase.o core/base/src/TMemberInspector.o core/base/src/TMessageHandler.o core/base/src/TNamed.o core/base/src/TObjString.o core/base/src/TObject.o core/base/src/TObjectSpy.o core/base/src/TPRegexp.o core/base/src/TParameter.o core/base/src/TPluginManager.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/TROOT.o core/base/src/TRef.o core/base/src/TRefCnt.o core/base/src/TRegexp.o core/base/src/TRemoteObject.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/TTimeStamp.o core/base/src/TTimer.o core/base/src/TUUID.o core/base/src/TUri.o core/base/src/TUrl.o core/base/src/TVirtualFFT.o core/base/src/TVirtualGL.o core/base/src/TVirtualMonitoring.o core/base/src/TVirtualMutex.o core/base/src/TVirtualPS.o core/base/src/TVirtualPad.o core/base/src/TVirtualPadEditor.o core/base/src/TVirtualPadPainter.o core/base/src/TVirtualPerfStats.o core/base/src/TVirtualViewer3D.o core/base/src/TVirtualX.o core/cont/src/TArray.o core/cont/src/TArrayC.o core/cont/src/TArrayD.o core/cont/src/TArrayF.o core/cont/src/TArrayI.o core/cont/src/TArrayL.o core/cont/src/TArrayL64.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/TMethod.o core/meta/src/TMethodArg.o core/meta/src/TMethodCall.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/zip/src/Compression.o core/lzma/src/ZipLZMA.o core/clib/src/Demangle.o core/clib/src/attach.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/textinput/src/Getline.o core/textinput/src/Getline_color.o core/textinput/src/textinput/Editor.o core/textinput/src/textinput/History.o core/textinput/src/textinput/KeyBinding.o core/textinput/src/textinput/Range.o core/textinput/src/textinput/SignalHandler.o core/textinput/src/textinput/StreamReader.o core/textinput/src/textinput/StreamReaderUnix.o core/textinput/src/textinput/StreamReaderWin.o core/textinput/src/textinput/TerminalConfigUnix.o core/textinput/src/textinput/TerminalDisplay.o core/textinput/src/textinput/TerminalDisplayUnix.o core/textinput/src/textinput/TerminalDisplayWin.o core/textinput/src/textinput/TextInput.o core/textinput/src/textinput/TextInputContext.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/unix/src/G__Unix.o core/zip/src/G__Zip.o core/clib/src/G__Clib.o core/metautils/src/G__MetaUtils.o core/textinput/src/G__TextInput.o -lz lib/liblzma.a -lpcre -lcrypt -Llib -lCint -ldl
==> lib/libCore.so done
bin/rmkdepend -R -fnet/net/src/TSSLSocket.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TSSLSocket.cxx
g++ -g -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o net/net/src/TSSLSocket.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TSSLSocket.cxx
/usr/include/openssl/kssl.h:140: error: expected ';' before '*' token
/usr/include/openssl/kssl.h:162: error: 'krb5_ticket_times' has not been declared
/usr/include/openssl/kssl.h:170: error: 'krb5_ticket_times' has not been declared
make: *** [net/net/src/TSSLSocket.o] Error 1
**** Checking libraries in /afs/ihep.su/user/m/morozov/sw_afs/fairsoft/tools/root/lib ****
*** ERROR: root could not be created.
*** End installation of external packages with Errors***




So, I suppose the problem is with ssl support. The ssl version is: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

I checked /usr/include/openssl/kssl.h and it has
#include <krb5.h>, where actually this "krb5_ticket_times" struct is declared.

I tried to configure root itself with --disable-ssl, but it failed too here:
bin/rmkdepend -R -fnet/net/src/TApplicationServer.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -- /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TApplicationServer.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -o net/net/src/TApplicationServer.o -c /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TApplicationServer.cxx
Generating dictionary net/net/src/G__Net.cxx...
core/utils/src/rootcint_tmp -cint -f net/net/src/G__Net.cxx -c   /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/NetErrors.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/RRemoteProtocol.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TAS3File.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TApplicationRemote.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TApplicationServer.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TFTP.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TFileStager.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGSFile.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGrid.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGridCollection.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGridJDL.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGridJob.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGridJobStatus.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGridJobStatusList.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TGridResult.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/THTTPMessage.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TMessage.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TMonitor.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TNetFile.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TNetFileStager.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TPServerSocket.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TPSocket.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TParallelMergingFile.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLColumnInfo.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLMonitoring.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLResult.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLRow.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLServer.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLStatement.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSQLTableInfo.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSecContext.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TServerSocket.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TSocket.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TUDPSocket.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/TWebFile.h /afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/inc/LinkDef.h
bin/rmkdepend -R -fnet/net/src/G__Net.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -D__cplusplus -Icint/cint/lib/prec_stl -Icint/cint/stl -I/afs/ihep.su/sw/scharm/fairsoft/tools/root/cint/cint/inc -- net/net/src/G__Net.cxx
g++  -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude   -pthread -I. -I/afs/ihep.su/sw/scharm/fairsoft/tools/root/cint/cint/inc  -o net/net/src/G__Net.o -c net/net/src/G__Net.cxx
g++ -shared -Wl,-soname,libNet.so -m64 -O2 -Wl,--no-undefined -o lib/libNet.so net/net/src/NetErrors.o net/net/src/TAS3File.o net/net/src/TApplicationRemote.o net/net/src/TApplicationServer.o net/net/src/TFTP.o net/net/src/TFileStager.o net/net/src/TGSFile.o net/net/src/TGrid.o net/net/src/TGridJDL.o net/net/src/TGridJob.o net/net/src/TGridJobStatus.o net/net/src/TGridJobStatusList.o net/net/src/TGridResult.o net/net/src/THTTPMessage.o net/net/src/TMessage.o net/net/src/TMonitor.o net/net/src/TNetFile.o net/net/src/TNetFileStager.o net/net/src/TPServerSocket.o net/net/src/TPSocket.o net/net/src/TParallelMergingFile.o net/net/src/TSQLColumnInfo.o net/net/src/TSQLMonitoring.o net/net/src/TSQLResult.o net/net/src/TSQLRow.o net/net/src/TSQLServer.o net/net/src/TSQLStatement.o net/net/src/TSQLTableInfo.o net/net/src/TSecContext.o net/net/src/TServerSocket.o net/net/src/TSocket.o net/net/src/TUDPSocket.o net/net/src/TWebFile.o net/net/src/G__Net.o -Llib -lRIO -lMathCore -lcrypto -Llib -lCore -lCint -ldl
net/net/src/TWebFile.o: In function `TWebSocket::ReOpen()':
/afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TWebFile.cxx:99: undefined reference to `TSSLSocket::TSSLSocket(char const*, int, int)'
net/net/src/TWebFile.o: In function `TWebFile::GetHead()':
/afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TWebFile.cxx:885: undefined reference to `TSSLSocket::TSSLSocket(char const*, int, int)'
net/net/src/TWebFile.o: In function `TWebFile::GetFromWeb(char*, int, TString const&)':
/afs/ihep.su/sw/scharm/fairsoft/tools/root/net/net/src/TWebFile.cxx:576: undefined reference to `TSSLSocket::TSSLSocket(char const*, int, int)'
collect2: ld returned 1 exit status
make: *** [lib/libNet.so] Error 1


which is probably natural...

Does anybody have an idea how to solve this?

Thanks.
Dmitry

[Updated on: Tue, 16 October 2012 14:52] by Moderator

Report message to a moderator

Re: Repeat: jan12 SSL lib problem during root compilation at scientific linux 5.3 64bit [message #13820 is a reply to message #13819] Thu, 26 July 2012 10:37 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *to.infn.it
Hi,

I don't know exactly what is the problem, so I have a comment and a suggestion. First of all SLC 5.3 is already rather old. Could you update to the latests version of the SLC5 versions, since with this version the compilation works?

Since it looks like a problem with kerberos the easiest solution would be to switch of kerberos support in ROOT. This can be done by changing the rootconfig.sh file in the tools directory of your external packages installation. Edit the file and exchange the following line

   --disable-globus \

by

  --disable-globus --disable-krb5 \


After you have done this please run the configure.sh script again.

Ciao

Florian
Re: Repeat: jan12 SSL lib problem during root compilation at scientific linux 5.3 64bit [message #13822 is a reply to message #13820] Fri, 27 July 2012 12:29 Go to previous messageGo to next message
Dmitry Morozov is currently offline  Dmitry Morozov
Messages: 34
Registered: May 2007
Location: Protvino, Russia
continuous participant
From: *ihep.su
Thanks for suggestion, Florian, but it does not work.
Disabling krb5 leads to TSSLxxxx failure of compilation. Disabling both ssl and krb5 leads to "rpdutils" and "TWebFile" failure of compilation.

And I can not update linux to the latests, since it's institute's PC farm and it's administered by IT dep. They have some rules (coming from CERN grid I think) which does not allow them to upgrade for the moment.

So,
Any thurther suggestions?

Thanks.
Dmitry
Re: Repeat: jan12 SSL lib problem during root compilation at scientific linux 5.3 64bit [message #13825 is a reply to message #13822] Mon, 30 July 2012 09:17 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *pools.arcor-ip.net
Hi Dmitry,

Since we do not use this features it would probably be okay to switch them of, too. But I have no idea how to do it, so this would be some work and you may end up in another compile problem

Could you ask the IT department if the kerberos header files are installed? If they are not installed they should install them.

Ciao

Florian


[Updated on: Mon, 30 July 2012 09:19]

Report message to a moderator

Re: Repeat: jan12 SSL lib problem during root compilation at scientific linux 5.3 64bit [message #13844 is a reply to message #13825] Mon, 06 August 2012 08:28 Go to previous message
Dmitry Morozov is currently offline  Dmitry Morozov
Messages: 34
Registered: May 2007
Location: Protvino, Russia
continuous participant
From: *ihep.su
I've finally installed it. I just changed the node. Strange thing is that node also have SL 5.3 installed. As far as I know the only difference with the prevoius one is that old node has some additional staff for root proof. Maybe it has some more differences unknown to me..

So the bottom line - SL 5.3 64 bit is suitable for jan12 externals and PandaRoot...

Thanks.
Dmitry.
Previous Topic: Crash in reco-macro, PndSttMvdTracking.cxx produces segfault
Next Topic: Crash in the Dashboard
Goto Forum:
  


Current Time: Fri Nov 08 18:51:09 CET 2024

Total time taken to generate the page: 0.00761 seconds