LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CNET installation (https://www.linuxquestions.org/questions/linux-newbie-8/cnet-installation-786153/)

khushid 02-01-2010 04:29 AM

CNET installation
 
Hi,
I have problem when installing CNET 3.1.4. I have configured TCL/TK 8.5.8 .When I had done make step again I have the error relating to tcl /tk . I m not able to solve the error. I think I must be mistaking in my download of tcl/tk. can any one tell me if there can be any path problem while installing tcl/tk.
please give me solution. make
cd src && make
make[1]: Entering directory `/root/Desktop/cnet-3.1.4/src'
make[2]: Entering directory `/root/Desktop/cnet-3.1.4/src'
gcc -rdynamic -o cnet applicationlayer.o battery.o checksums.o cnetmain.o compile.o drawframes.o error.o events.o exit.o format64.o globals.o images.o ipod.o lan.o leds.o lexical.o links.o mainwindow.o motd.o mt19937.o nics.o nicmenu.o nicwindows.o nodes.o nodemenu.o nodewindows.o parser.o physicallayer.o poisson.o position.o queuing.o random.o save.o scheduler.o shmem.o statistics.o stdapplication.o stdio.o tcltkfunctions.o timers.o topology.o trace.o wan.o wlan.o -L/usr/X11R6/lib -ltcl -ltk -lX11 -lelf -ldl -lm
/usr/bin/ld: cannot find -ltcl
collect2: ld returned 1 exit status
make[2]: *** [cnet] Error 1
make[2]: Leaving directory `/root/Desktop/cnet-3.1.4/src'
make[1]: *** [it] Error 2
make[1]: Leaving directory `/root/Desktop/cnet-3.1.4/src'
make: *** [it] Error 2

mesiol 02-01-2010 06:05 AM

Hi,

seems ld does not find the tcl archive mentioned in option -l$ARCHIVENAME where $ARCHIVENAME here is tcl.

Check your LD_LIBRARY_PATH, check if tcl is correctly installed including development packages.

Also check ld man page to correctly understand what the -l option does.

knudfl 02-01-2010 06:48 AM

Are you still using Fedora 8 ?

' cnet ' requires tcl8.4.xx and will find no
" /usr/lib/libtcl8.4.so " ( You say, you have 8.5.8 ).


I guess you got an answer for that in your other
cnet thread, two weeks ago ..
http://www.linuxquestions.org/questi...lation-783137/

The original Fedora 8 packages are : ( example x86 )
tcl-8.4.15-5.fc8.i386.rpm
tcl-devel-8.4.15-5.fc8.i386.rpm
tk-8.4.15-5.fc8.i386.rpm
tk-devel-8.4.15-5.fc8.i386.rpm
http://archives.fedoraproject.org/pu...ases/8/Fedora/
.....


All times are GMT -5. The time now is 09:02 PM.