Re: Problems compiling ROOT and ROOT-test-programs

From: Timm Morten Steinbeck (timm@physik.rwth-aachen.de)
Date: Tue Jul 07 1998 - 16:12:57 MEST


Hello Torsten,

I also have Root 2.00/9 on SuSE 5.2. The problem is, if you do a 

timm@ac3a25:/usr7lib > ls -ld termcap

You get this:

drwxr-xr-x   2 root     root         1024 Jun 25 11:38 termcap


You can get around this problem by adding  
-L/usr/lib/termcap
 for
the CILIBS definition (somewhere around line 20-25) in the makefile.
Before the 
-ltermcap
part of that definition of course.

If you have any more questions on getting root to compile you can mail
me directly if you like, unless there are other people with problems in
this configuration.

Bye
  Timm

Torsten Nielsen wrote:
> 
> I've just installed ROOT-sys on a Linux-box:
> i486 running S.u.S.E 5.2.
> After installing the Linux vers. 2.00/09 for Redhat 4.2 and gcc 2.7,
> the demos ran fine, but I couldn't compile the test progs!
> Problems loading the libCint.so error 13 (if I remember correctly).
> Then I installed the souce-tree: root_v2.00.source.tar.gz on top
> of the binaries, removed the _DR_GLIBC flags in Makefile.Linux and made a
> link from Makefile. After make distclean, make and some compile-time
> I got this:
> g++ -g -Wall -fPIC -I/include -c MAIN_cppmain.cxx
> g++ -g -o /home/ton/root/bin/cint MAIN_cppmain.o \
>         -L/home/ton/root/lib -lCint -lm -ltermcap -lbsd -ldl -lg++ -rdynamic
> /usr/i486-linux/bin/ld: cannot open -ltermcap: No such file or directory
> make: *** [/home/ton/root/bin/cint] Error 1
> 
> ton@kemton:/usr/lib > ls -l termcap
> total 11
> -rw-r--r--   1 root     root        11088 Mar  4 20:22 libtermcap.a
> lrwxrwxrwx   1 root     root           24 Jun 17 14:13 libtermcap.so ->
> /usr/lib/libtermcap.so.2
> 
> ton@kemton:/usr/lib > ls -l libtermcap*
> lrwxrwxrwx   1 root     root           19 Jun 17 14:13 libtermcap.so.2 ->
> libtermcap.so.2.0.8
> -rwxr-xr-x   1 root     root        12162 Mar  4 20:22 libtermcap.so.2.0.8
> 
> What is going wrong?
> 
> ----------------------------------
> E-Mail: ton@kemi.aau.dk
> Date: 07-Jul-98
> Time: 15:33:11
> ----------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET