RE: [ROOT] compiling version 4 on Sun

From: Perfetto Francesco (Francesco.Perfetto@na.infn.it)
Date: Tue Mar 16 2004 - 10:31:06 MET


Hi Philippe,

thanks for answer, but I don't undestand what I have to do practly.
Can you tell me what and how do it?

Thanks Francesco.

On Mon, 15 Mar 2004, Philippe Canal wrote:

> Hi Francesco,
>
> You have to define R__NO_CLASS_TEMPLATE_SPECIALIZATION
> For example you can define it base/inc/RConfig.h
>
> Cheers,
> Philippe
>
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Perfetto Francesco
> Sent: Monday, March 15, 2004 10:58 AM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] compiling version 4 on Sun
>
>
>
> Hi all.
>
> I have a problem compiling the version 4 on Sun with Solaris operating
> system.
> After unzip and untar the file downloaded, I go in directory root created
> by "tar" command and in this directory I do: ./configure and the I have :
>
> sunkloe1:/root# ./configure
> Configuring for solarisCC5
> Checking for libX11 ... /usr/lib
> Checking for libXpm ... /usr/local/lib
> Checking for GL/gl.h ... /usr/local/include
> Checking for libGL, or libMesaGL ... /usr/local/lib
> Checking for libGLU, or libMesaGLU ... /usr/local/lib
> Checking for Inventor/SoType.h ... no
> Checking for libInventor, libCoin, or coin* ... no
> Checking for libInventorXt, libSoXt, libSoQt, or soqt* ... no
> Checking for mysql.h ... no
> Checking for libmysqlclient ... no
> Checking for libpq-fe.h ... no
> Checking for libpq ... no
> Checking for qt.h ... no
> Checking for libqt-mt, libqt, qt-mt*, or qt ... no
> Checking for sql.h ... no
> Checking for libsqlod ... no
> Checking for rfio_api.h ... /usr/local/include/shift
> Checking whether rfio_fchmod declared in rfio_api.h ... no
> ### Found old version of libshift, please uprade to >=1.5.2
> Checking for libshift, shiftmd, or shift ... /usr/local/lib
> Checking for libpacklib, packmd, or packlib ... /cern/pro/lib
> Checking for libkernlib, kernmd, or kernlib ... /cern/pro/lib
> Checking for libPythia ... no
> Checking for libPythia6 ... no
> Checking for libVenus ... no
> Checking for dcap.h ... no
> Checking for libdcap ... no
> Checking for chirp_client.h ... no
> Checking for libchirp_client ... no
> Checking for AliEnAPI++.h ... no
> Checking for libAliEnAPI++ ... no
> Checking for jpeglib.h ... /usr/local/include
> Checking for png.h ... /usr/local/include
> Checking for tiffio.h ... /usr/local/include
> Checking for gif_lib.h ... /usr/local/include
> Checking for libjpeg ... /usr/local/lib
> Checking for libtiff ... /usr/local/lib
> Checking for libungif ... /usr/local/lib
> Checking for libz ... /usr/local/lib
> Checking for libpng ... /usr/local/lib
> Checking for ldap.h ... no
> Checking for libldap ... no
> Checking for globusdir ... no
> Checking for GLOBUS_LOCATION ... no
> Checking for t_server.h ... no
> Checking for libsrp ... no
> Checking for libgmp ... /usr/local/lib
> Checking for libmisc ... no
> Checking for pwauth.h ... no
> Checking for krb5.h ... no
> Checking for libk5crypto ... no
> Checking whether we're using MIT Kerberos ... no
> Checking for libkrb5 ... no
> Checking for kinit ... /usr/bin/kinit
> Checking for shadow passwords ... yes
> Checking whether to build libTable ... no
> Writing config/Makefile.config ... done
> Writing include/config.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 bin/memprobe ... done
> Writing build/misc/root-help.el ... done
>
> To build ROOT type:
>
>    gmake
>
> at this point I do : gmake and I have after some warnings:
>
> ...
>
> ==> lib/libCint.so done
> CC -O  -o bin/cint cint/main/cppmain.o \
>            -Llib -lCint -lm -ltermcap -ldl
> cc -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL -Iinclude  -DG__SHAREDLIB
> -DG__ROOT -DG__REDIRECTIO  -o cint/tool/makecint.o -c cint/tool/makecint.c
> CC -O  -o bin/makecint cint/tool/makecint.o
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> utils/src/rootcint.o -c utils/src/rootcint.cxx
> "utils/src/rootcint.cxx", line 3892: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3893: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3896: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3912: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3913: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3914: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3915: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3917: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3918: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3973: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3974: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3975: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3976: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3977: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3978: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3979: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3980: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3985: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 3986: Warning: String literal converted to
> char* in assignment.
> "utils/src/rootcint.cxx", line 4021: Warning: String literal converted to
> char* in assignment.
> 20 Warning(s) detected.
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> utils/src/RStl.o -c utils/src/RStl.cxx
> CC -O  -o bin/rootcint utils/src/rootcint.o utils/src/RStl.o
> metautils/src/TClassEdit.o \
>            -Llib -lCint -lm -ltermcap -ldl
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> utils/src/rlibmap.o -c utils/src/rlibmap.cxx
> CC -O  -o bin/rlibmap utils/src/rlibmap.o
> Running build/unix/compiledata.sh
> Making include/compiledata.h
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> base/src/InitGui.o -c base/src/InitGui.cxx
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> base/src/Match.o -c base/src/Match.cxx
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> base/src/String.o -c base/src/String.cxx
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> base/src/Stringio.o -c base/src/Stringio.cxx
> CC -O -KPIC -I/usr/openwin/include -ptr/cern/root -Iinclude   -o
> base/src/TApplication.o -c base/src/TApplication.cxx
> "include/TClass.h", line 256: Error: Multiple declaration for IsPointer.
> 1 Error(s) detected.
> gmake: *** [base/src/TApplication.o] Error 1
>
> Is there anyone that can help me to compiling root in the exact mode?
>
> Thanks all.
> Francesco
>
>
>



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET