SuSE GmbH

SuSE Support Database

Title: cint: missing path

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

cint: missing path

Applies to

SuSE Linux: Version 5.3#1,5.3#2

Symptom:

The C/C++ interpreter cint aborts the execution of C and C++ programs with a lot of error messages like the following :
/usr/lib/cint/demo/intprt_cint > ./CINT simple.C
CINT:: This is very slow. CINT interpreter interpreting itself.

Warning: environment variable CINTSYSDIR is not set. 
Standard include files ignored
testmain.c:37: src/auxu.c: No such file or directory
testmain.c:38: src/cast.c: No such file or directory
testmain.c:39: src/debug.c: No such file or directory      
[...]
testmain.c:81: src/dmystrm.c: No such file or directory
testmain.c:83: main/G__setup.c: No such file or directory
Warning: Undeclared symbol G__othermain. Automatic variable 
allocated FILE:testmain.c LINE:91
Error: No symbol G__main(argc,argv) in current scope  
FILE:testmain.c LINE:92 

Cause:

The environment variable CINTSYSDIR wasn't set.

Solution:

Edit the file /etc/profile and enter the following lines :
CINTSYSDIR=/usr/lib/cint
export CINTSYSDIR
After the next reboot the variable exists and has the correct value.

In order to check, whether everything works o.k., change to the directory /usr/lib/cint/demo/intprt_cint and enter the command

/usr/lib/cint/demo/intprt_cint > ./CINT simple.C
You should then see the following output :
/usr/lib/cint/demo/intprt_cint > ./CINT simple.C
CINT:: This is very slow. CINT interpreter interpreting itself.


Simple.C start
Cint is interpreting cint itself, and the interpreted cint interprets Simple.C.
Loop test
0*3.14=0
1*3.14=3.14
2*3.14=6.28
3*3.14=9.42
4*3.14=12.56
End

----------

See also:

----------

Keywords: CINT, INTERPRETER, PATH, ENVIRONMENT

----------

Categories: Applications

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-rb_cint, Copyright SuSE GmbH, Nuremberg, Germany - Version: 10. Aug 1998
SuSE GmbH - Last generated: 07. Oct 1999 17:57:37 by maddin with sdb_gen 1.00.0