Problems compiling ROOT and ROOT-test-programs
Torsten Nielsen (ton@kemi.aau.dk)
Tue, 07 Jul 1998 15:52:28 +0200 (CEST)
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
----------------------------------