Install an Older Root version on Suse 10.3 64 bit

Hi,

I try to install an older version of ROOT (ex. 5.12 or 5.14) on Suse 10.3 64bit, gcc 4.2.1 & kernel 2.6.22.5-31-default. I run

./configure or ./configure linux

and then

make

without success. The last lines of the output, are

cint/src/v6_var.cxx:7175: warning: deprecated conversion from string constant to ‘char*’ bin/rmkdepend -R -fcint/src/gcc3strm.d -Y -w 1000 -- -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -pthread -Icint/lib/gcc3strm -D__cplusplus -- cint/src/gcc3strm.cxx g++ -O -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -pthread -Icint/lib/gcc3strm -o cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx cint/src/gcc3strm.cxx: In function ‘int G__G__stream_7_7_0(G__value*, const char*, G__param*, int)’: cint/src/gcc3strm.cxx:304: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator==’ cint/src/gcc3strm.cxx: In function ‘int G__G__stream_7_8_0(G__value*, const char*, G__param*, int)’: cint/src/gcc3strm.cxx:310: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator!=’ make: *** [cint/src/gcc3strm.o] Error 1

Everything works fine with root v 5.17, (or newer I suppose) but I need to install an older version.

Thank you in advance for your help.

Best regards,
Loukas

Hi,

[quote]but I need to install an older version. [/quote]The older version were not ported to gcc 4.2.1. You can attempt to make the build by copying the file cint/src/gcc4strm.h and cint/src/gcc4strm.cxx from ROOT 5.17 or 18 over the old cint/src/gcc3strm.h and cint/src/gcc3strm.cxx

Cheers,
Philippe

Hi Philippe,

thank you for your suggestion, but unfortunately I didn’t manage to compile ROOT. Below are the last lines of the output…

cint/src/gcc4strm.cxx:4679: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4680: error: ‘basic_ofstream’ was not declared in this scope cint/src/gcc4strm.cxx:4680: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4680: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4681: error: ‘basic_fstream’ was not declared in this scope cint/src/gcc4strm.cxx:4681: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4681: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4682: error: ‘basic_iostream’ was not declared in this scope cint/src/gcc4strm.cxx:4682: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4682: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4683: error: ‘G__get_linked_tagnum_fwd’ was not declared in this scope cint/src/gcc4strm.cxx:4684: error: ‘basic_stringbuf’ was not declared in this scope cint/src/gcc4strm.cxx:4684: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4684: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4685: error: ‘basic_istringstream’ was not declared in this scope cint/src/gcc4strm.cxx:4685: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4685: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4686: error: ‘basic_ostringstream’ was not declared in this scope cint/src/gcc4strm.cxx:4686: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4686: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx:4687: error: ‘basic_stringstream’ was not declared in this scope cint/src/gcc4strm.cxx:4687: error: expected primary-expression before ‘char’ cint/src/gcc4strm.cxx:4687: error: expected `)' before ‘char’ cint/src/gcc4strm.cxx: At global scope: cint/src/gcc4strm.cxx:3757: warning: ‘void G__setup_memvarchar_traitslEchargR()’ defined but not used cint/src/gcc4strm.cxx:3766: warning: ‘void G__setup_memvarbasic_istreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3775: warning: ‘void G__setup_memvarbasic_ioslEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3784: warning: ‘void G__setup_memvarbasic_streambuflEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3793: warning: ‘void G__setup_memvarbasic_ostreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3802: warning: ‘void G__setup_memvarbasic_ostreamlEcharcOchar_traitslEchargRsPgRcLcLsentry()’ defined but not used cint/src/gcc4strm.cxx:3811: warning: ‘void G__setup_memvarbasic_istreamlEcharcOchar_traitslEchargRsPgRcLcLsentry()’ defined but not used cint/src/gcc4strm.cxx:3820: warning: ‘void G__setup_memvarbasic_filebuflEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3829: warning: ‘void G__setup_memvarbasic_ifstreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3838: warning: ‘void G__setup_memvarbasic_ofstreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3847: warning: ‘void G__setup_memvarbasic_fstreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3856: warning: ‘void G__setup_memvarbasic_iostreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3865: warning: ‘void G__setup_memvarbasic_stringbuflEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3874: warning: ‘void G__setup_memvarbasic_istringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3883: warning: ‘void G__setup_memvarbasic_ostringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:3892: warning: ‘void G__setup_memvarbasic_stringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4002: warning: ‘void G__setup_memfuncchar_traitslEchargR()’ defined but not used cint/src/gcc4strm.cxx:4044: warning: ‘void G__setup_memfuncbasic_istreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4085: warning: ‘void G__setup_memfuncbasic_ioslEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4118: warning: ‘void G__setup_memfuncbasic_streambuflEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4148: warning: ‘void G__setup_memfuncbasic_ostreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4166: warning: ‘void G__setup_memfuncbasic_ostreamlEcharcOchar_traitslEchargRsPgRcLcLsentry()’ defined but not used cint/src/gcc4strm.cxx:4178: warning: ‘void G__setup_memfuncbasic_istreamlEcharcOchar_traitslEchargRsPgRcLcLsentry()’ defined but not used cint/src/gcc4strm.cxx:4193: warning: ‘void G__setup_memfuncbasic_filebuflEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4207: warning: ‘void G__setup_memfuncbasic_ifstreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4223: warning: ‘void G__setup_memfuncbasic_ofstreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4239: warning: ‘void G__setup_memfuncbasic_fstreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4255: warning: ‘void G__setup_memfuncbasic_iostreamlEcharcOchar_traitslEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4265: warning: ‘void G__setup_memfuncbasic_stringbuflEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4279: warning: ‘void G__setup_memfuncbasic_istringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4295: warning: ‘void G__setup_memfuncbasic_ostringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used cint/src/gcc4strm.cxx:4309: warning: ‘void G__setup_memfuncbasic_stringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used make: *** [cint/src/gcc4strm.o] Error 1

Thanks in advance,
Loukas

[quote]cint/src/gcc4strm.cxx:4679: error: expected `)’ before ‘char’ [/quote]I meant that not only you need to copy gcc4strm but also rename it to gcc3strm (i.e. over-write the existing gcc3strm files).

I did forget to mention that you need to also change the #include “gcc4strm.h” into #include “gcc3strm.h” in the (new) file gcc3strm.cxx.

If this does not work, then you might try to completely replace the cint directory with the cint directory from root 5-17 or 5-18.

Cheers,
Philippe.

Hi Philippe,

i tried many times and with many ways all the above without success…

Maybe the only solution is to find another PC with older gcc? :confused:

Thanks,
Loukas

[quote]but I need to install an older version. [/quote]By the way, why?
Cheers,
Philippe

I need to run same HCAL classes for the analysis of TB data…
I could only compile them with older versions of ROOT, which I couldn’t install on my gcc 4.2.1 linux… :slight_smile:

To overcome this conflict I’m using now another pc with older version of gcc…

Thanks for your help,
Loukas

Hello,
I have encountered the same problem as described before. When i install root 5.14 on my ubuntu 8.0 computer i had these lines

, G__param, int)’:
cint/src/gcc3strm.cxx:317: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator!=’
make: *** [cint/src/gcc3strm.o] Error 1
dounia@ordinator:~/install/root$ make cintdlls
bin/rmkdepend -R -fcint/main/cppmain.d -Y -w 1000 – -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -iquote. -iquotecint/lib/dll_stl -D__cplusplus – cint/main/cppmain.cxx
g++ -O -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -iquote. -iquotecint/lib/dll_stl -o cint/main/cppmain.o -c cint/main/cppmain.cxx
cp -f cint/src/v6_loadfile.cxx cint/src/v6_loadfile_tmp.cxx
bin/rmkdepend -R -fcint/src/v6_loadfile_tmp.d -Y -w 1000 – -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -iquote. -iquotecint/lib/dll_stl -UR__HAVE_CONFIG -DROOTBUILD -D__cplusplus – cint/src/v6_loadfile_tmp.cxx
g++ -O -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -iquote. -iquotecint/lib/dll_stl -UR__HAVE_CONFIG -DROOTBUILD -o cint/src/v6_loadfile_tmp.o -c cint/src/v6_loadfile_tmp.cxx
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__include_file()’:
cint/src/v6_loadfile_tmp.cxx:241: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:274: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘char* G__getmakeinfo(char*)’:
cint/src/v6_loadfile_tmp.cxx:307: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:308: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:309: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:310: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:311: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:312: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:313: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:314: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:315: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:316: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:317: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:321: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:349: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:352: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:354: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:371: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__getcintsysdir()’:
cint/src/v6_loadfile_tmp.cxx:423: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:486: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__isfilebusy(int)’:
cint/src/v6_loadfile_tmp.cxx:518: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:537: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘char* G__stripfilename(char*)’:
cint/src/v6_loadfile_tmp.cxx:618: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:619: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:621: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__unloadfile(const char*)’:
cint/src/v6_loadfile_tmp.cxx:720: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:729: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:758: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:775: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:789: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__isbinaryfile(char*)’:
cint/src/v6_loadfile_tmp.cxx:846: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:853: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:855: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__loadfile_tmpfile(FILE*)’:
cint/src/v6_loadfile_tmp.cxx:993: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1059: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1062: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__loadfile(const char*)’:
cint/src/v6_loadfile_tmp.cxx:1186: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1255: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1256: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1260: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1266: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1267: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1271: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1306: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1340: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1374: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1427: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1431: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1435: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1797: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1880: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1883: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:1919: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__preprocessor(char*, char*, int, char*, char*, char*, char*)’:
cint/src/v6_loadfile_tmp.cxx:2142: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2145: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2148: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2151: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2182: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2185: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2188: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2189: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2219: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2225: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx:2300: warning: deprecated conversion from string constant to ‘char*’
cint/src/v6_loadfile_tmp.cxx: In function ‘int G__setTMPDIR(char*)’:
cint/src/v6_loadfile_tmp.cxx:2375: warning: deprecated conversion from string constant to ‘char*’
bin/rmkdepend -R -fcint/src/gcc3strm.d -Y -w 1000 – -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -iquote. -iquotecint/lib/dll_stl -Icint/lib/gcc3strm -D__cplusplus – cint/src/gcc3strm.cxx
g++ -O -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -iquote. -iquotecint/lib/dll_stl -Icint/lib/gcc3strm -o cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx
cint/src/gcc3strm.cxx: In function ‘int G__G__stream_7_7_0(G__value*, const char*, G__param*, int)’:
cint/src/gcc3strm.cxx:311: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator==’
cint/src/gcc3strm.cxx: In function ‘int G__G__stream_7_8_0(G__value*, const char*, G__param*, int)’:
cint/src/gcc3strm.cxx:317: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator!=’
make: *** [cint/src/gcc3strm.o] Error 1
dounia@ordinator:~/install/root$ sudo make install
[sudo] password for dounia:
bin/rmkdepend -R -fcint/src/gcc3strm.d -Y -w 1000 – -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -Icint/lib/gcc3strm -D__cplusplus – cint/src/gcc3strm.cxx
g++ -O -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -Icint/lib/gcc3strm -o cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx
cint/src/gcc3strm.cxx: In function ‘int G__G__stream_7_7_0(G__value*, const char*, G__param*, int)’:
cint/src/gcc3strm.cxx:311: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator==’
cint/src/gcc3strm.cxx: In function ‘int G__G__stream_7_8_0(G__value*, const char*, G__param*, int)’:
cint/src/gcc3strm.cxx:317: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator!=’
make: *** [cint/src/gcc3strm.o] Error 1

I have no idea where it can come from my version of gcc is 3.3 and 3.4.
Could you help me please?
Cheers,
dounia

Hi,

Would you be able to try a newer version of ROOT?

Cheers,
Philippe.

hello,
yes i will try the newer version of root but with the software i am using (gate) they advise this old version. I ll try anyway.
cheers.
dounia

hello again,
i have copied the cint repertory of a newer version in my old version of root so the make seems to work fine but when i try sudo make install i get these ;

dounia@ordinator:~/install/root$ sudo make install
make: *** No rule to make target config/Makefile.comp', needed byinclude/configcint.h’. Stop.

Do you know what this mean?
thank.
cheers, dounia

ok finally i have installed the new version 5.18 of ROOT. The program seems to be installed but when i try to launch it with .root.exe nothing happens. I have to go in the bin directory to launch root is it normal?

Well. Been messing around for a bit now, trying to get root 5.14 running on my 10.04 64-bit installation.

Yes, I have 5.32 running fine. Yes, it is necessary to also have 5.14.

So, to chronicle my steps…

sudo gedit /etc/apt/sources.list
Add these lines
deb hu.archive.ubuntu.com/ubuntu/ hardy universe
deb hu.archive.ubuntu.com/ubuntu/ hardy-updates universe
sudo apt-get update
sudo apt-get install build-essential gcc-3.4 g+±3.4 libstdc++6-4.3-dev g77 gcc-multilib
sudo su
cd /usr/bin
mkdir hide
(after installation, change symbolic links to compilers back to latest versions; in /usr/bin rm g++, rm gcc, mv hide/* . , rm -r hide)
mv gcc hide
mv g++ hide
ln -s gcc-3.4 gcc
ln -s g+±3.4 g++
exit

(gcc -v, g++ -v should return 3.4)
gedit cint/src/Type.cxx
(change two instances of ‘defind’ to ‘defined’, save, exit)

./configure linuxdeb
make
[…]
.gnu.linkonce.t._ZN4ROOT6Cintex9ConverterIeE6toCintEP8G__valuePv' referenced in section.rodata’ of cintex/src/CINTUtils.o: defined in discarded section `.gnu.linkonce.t._ZN4ROOT6Cintex9ConverterIeE6toCintEP8G__valuePv’ of cintex/src/CINTUtils.o
collect2: ld returned 1 exit status
make: *** [lib/libCintex.so] Error 1

sad face

Hi,

It seems that the compiler ‘forgot’ to instantiate some templates. I recommend you try with a newer version of gcc if possible.

It could also be that you did not start from a fresh ROOT source directory (i.e. inadvertently mixing releases).

Philippe.

Hi Philippe, thank you for your reply.

The reason I downgraded from gcc 4.4.3 to 3.4 was that ‘make’ with 4.4.3 fails;

cint/src/gcc3strm.cxx:317: error: ‘class std::fpos<__mbstate_t>’ has no member named ‘operator!=’

I have taken all mention of my other root system from the environmental variables.

Is there a gcc version you would recommend for root 15.4?

Regards

Ben.

Hi Ben,

Ha yes, I did forget we did not backport v5.14 to gcc 4 :frowning:

To work around the problem you might be able to just disable cintex (–disable-cintex as an argument to configure) if you do not use genreflex.

Cheers,
Philippe.