Re: [ROOT] no such file? Script Compiler

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jun 16 2000 - 14:54:18 MEST


Hi Olivier,
You do not indicate which version you are using.
>From the trace back, I have the impression that you run a version of Root
on Solaris compiled with gcc. If this is the case, the script compiler
is not built by default in this configuration.

Rene Brun

Olivier D'Arcy wrote:
> 
> I'm trying to create a shared library for my programm and it doesn't work.
> There should'nt be any syntax errors since Fons has already corrected and
> verified my code in a previous message. Is it a path problem, an
> installation problem, why are those files not found ?
> 
> On my system,
> $ROOTSYS = home/edaw/root/root.
> 
> I would like an advice on what is the
> problem.
> 
> Thanks
> 
> My file is named mymain.C
> and when I try to link with "++", here is what I receive from ROOT:
> 
> root [0] .L ~/tidgui/mymain.C++
> Creating shared library /home/darcy/tidgui/mymain.so
> Note: operator new() masked 1c
> Note: operator delete() masked 1c
> Class MyMainFrame: Streamer() not declared
> Class MyMainFrame: ShowMembers() not declared
> In file included from baa22aWqm.C:5:
> baa22aWqm.h:8: stdio.h: No such file or directory
> baa22aWqm.h:9: stdlib.h: No such file or directory
> In file included from baa22aWqm.h:10,
>                  from baa22aWqm.C:5:
> /home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/math.h:5:
> math.h: No such file or directory
> In file included from baa22aWqm.C:5:
> baa22aWqm.h:11: string.h: No such file or directory
> In file included from baa22aWqm.h:13,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/G__ci.h:202: stdio.h: No such file or
> directory
> /home/edaw/root/root/include/G__ci.h:203: string.h: No such file or
> directory
> In file included from baa22aWqm.h:13,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/G__ci.h:205: stdlib.h: No such file or
> directory
> /home/edaw/root/root/include/G__ci.h:206: signal.h: No such file or
> directory
> In file included from
> /home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/syslimits.h:7,
>                  from
> /home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/limits.h:11,
>                  from /home/edaw/root/root/include/G__ci.h:208,
>                  from baa22aWqm.h:13,
>                  from baa22aWqm.C:5:
> /home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/limits.h:117:
> limits.h: No such file or directory
> In file included from baa22aWqm.h:13,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/G__ci.h:209: setjmp.h: No such file or
> directory
> /home/edaw/root/root/include/G__ci.h:211: ctype.h: No such file or
> directory
> /home/edaw/root/root/include/G__ci.h:212: fcntl.h: No such file or
> directory
> /home/edaw/root/root/include/G__ci.h:221: unistd.h: No such file or
> directory
> In file included from /home/edaw/root/root/include/TObject.h:23,
>                  from /home/edaw/root/root/include/TNamed.h:18,
>                  from /home/edaw/root/root/include/TDirectory.h:17,
>                  from /home/edaw/root/root/include/TROOT.h:21,
>                  from baa22aWqm.h:26,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/Rtypes.h:22: stdio.h: No such file or
> directory
> In file included from /home/edaw/root/root/include/TObject.h:199,
>                  from /home/edaw/root/root/include/TNamed.h:18,
>                  from /home/edaw/root/root/include/TDirectory.h:17,
>                  from /home/edaw/root/root/include/TROOT.h:21,
>                  from baa22aWqm.h:26,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/TBuffer.h:15: string.h: No such file or
> directory
> In file included from /home/edaw/root/root/include/TBuffer.h:24,
>                  from /home/edaw/root/root/include/TObject.h:199,
>                  from /home/edaw/root/root/include/TNamed.h:18,
>                  from /home/edaw/root/root/include/TDirectory.h:17,
>                  from /home/edaw/root/root/include/TROOT.h:21,
>                  from baa22aWqm.h:26,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/Bytes.h:30: string.h: No such file or
> directory
> In file included from /home/edaw/root/root/include/TCollection.h:30,
>                  from /home/edaw/root/root/include/TSeqCollection.h:18,
>                  from /home/edaw/root/root/include/TList.h:18,
>                  from /home/edaw/root/root/include/TNamed.h:23,
>                  from /home/edaw/root/root/include/TDirectory.h:17,
>                  from /home/edaw/root/root/include/TROOT.h:21,
>                  from baa22aWqm.h:26,
>                  from baa22aWqm.C:5:
> /home/edaw/root/root/include/TString.h:17: string.h: No such file or
> directory
> g++: baa22aWqm.o: No such file or directory
> g++: No input files



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET