Hi all,I've a few problems compiling Vic 2.8.
Here we go:
[root@gurli vic]# ./configure
loading cache ./config.cache
checking host system type... i586-unknown-linux
checking target system type... i586-unknown-linux
checking build system type... i586-unknown-linux
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler...
no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler...
no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... (cached) no
checking for poll in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for getnodebyname in -ldnet_stub... (cached) no
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
checking for main in -ltcl8.0... (cached) no
checking for libtcl.a
checking for tcl/init.tcl
checking for main in -ltk8.0... (cached) no
checking for libtk.a
checking for tk/tk.tcl
checking for dlopen in -ldl... (cached) yes
checking for main in -ldl... (cached) yes
creating ./config.status
creating Makefile
[root@gurli vic]# make
make: *** No rule to make target `grabber-scc.o', needed by `vic'.
Stop.
Here i have deleted 'grabber-scc.o' at line 'OBJ_GRABBER
= grabber-scc.o'
in the Makefile
But i still have a problem:
[root@gurli vic]# make
rm -f vic
c++ -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void -Itmndec -Itmn-x
-Ih263 -I./jpeg -I./p64 -I. -o
vic inet.o cellb_tables.o tkStripchart.o md5c.o
random.o main.o net.o net-ip.o source.o iohandler.o timer.o idlecallback.o
media-timer.o session.o session-rtpv1.o session-nv.o session-ivs.o
decoder.o
decoder-jpeg.o decoder-nv.o decoder-h263.o decoder-h261.o decoder-h261v1.o
decoder-raw.o decoder-cellb.o decoder-h263v2.o mbus.o mbus_engine.o
device.o
grabber.o vw.o Tcl.o Tcl2.o module.o transmitter.o encoder-h263v2.o
encoder-nv.o
encoder-cellb.o encoder-h261.o encoder-jpeg.o encoder-raw.o encoder-h263.o
transcoder-jpeg.o framer-jpeg.o group-ipc.o confbus.o renderer.o
renderer-window.o color.o color-true.o color-pseudo.o color-dither.o
color-ed.o
color-quant.o color-hi.o color-gray.o color-mono.o color-hist.o rgb-converter.o
jpeg/jpeg.o p64/p64.o dct.o compositor.o rate-variable.o crypt.o crypt-des.o
grabber-still.o h263/h263rtp.o h263/h263dec.o h263/bitIn.o h263/input.o
h263/getgob.o h263/reconh263.o h263/recon.o h263/getvlc.o h263/getblk.o
h263/h263enc.o h263/motion.o h263/block.o h263/bitOut.o h263/h263mux.o
h263/idctdec.o h263/fdct.o h263/code.o h263/gethdr.o h263/idctenc.o
h263/sac.o
encoder-bvc.o decoder-bvc.o cm0.o cm1.o huffcode.o version.o bv.o ui-ctrlmenu.o
ui-main.o ui-resource.o ui-relate.o ui-srclist.o ui-stats.o ui-util.o
ui-windows.o
ui-switcher.o ui-extout.o ui-grabber.o ui-unix.o cf-main.o cf-tm.o
cf-confbus.o
cf-network.o cf-util.o tkerror.o entry.o tk.o
qfDES.o qfDES_key.o
qfDES_memory.o -L/usr/lib -ltk8.0 -L/usr/lib -ltcl8.0 -L/usr/X11R6/lib
-lXext
-lX11 -lnsl -ldl tmndec/libh263.a tmn-x/libh263coder.a -lm -static
/usr/bin/ld: cannot open -ltk8.0: No such file or directory
collect2: ld returned 1 exit status
make: *** [vic] Error 1
But Tcl/Tk seems well installed on my system:
[root@gurli lib]# cd /usr/lib
[root@gurli lib]# ls -ld tk*
lrwxrwxrwx 1 root root
6 Jun 22 18:25 tk -> tk8.0/
drwxr-xr-x 4 root root
1024 Apr 9 16:53 tk8.0
-rw-r--r-- 1 root root
2588 Oct 11 1998 tkConfig.sh
drwxr-xr-x 3 root root
1024 Apr 9 16:52 tkX8.0.3
drwxr-xr-x 2 root root
1024 Apr 9 16:54 tksysv
-rw-r--r-- 1 root root
1069 Oct 11 1998 tkxConfig.sh
[root@gurli lib]# ls -ld tc*
lrwxrwxrwx 1 root root
6 Jun 22 18:24 tcl -> tcl8.0
drwxr-xr-x 5 root root
1024 Apr 9 16:52 tcl8.0
-rw-r--r-- 1 root root
4923 Oct 11 1998 tclConfig.sh
drwxr-xr-x 3 root root
1024 Apr 9 16:52 tclX8.0.3
-rw-r--r-- 1 root root
1093 Oct 11 1998 tclxConfig.sh
Any hints to help me?
Thanks,
Pierre
