This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Problem TCL [solved]

General support and discussion of Eggdrop bots.
Post Reply
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Problem TCL [solved]

Post by Cr4sh »

I'm new on eggdrop (i know windrop).
I read on http://www.egghelp.org/faq.htm[code]
How do I install Tcl on my shell account and point the bot to it during compile?

It's rarely necessary to install Tcl yourself, as it's usually already on the system. However, if the bot can't find Tcl, or you want to use a version that isn't present on the system, you may want to install your own copy. KuNgFo0 has written a nice little three-step guide at his Egg FAQ site explaining how to do this. Visit the How to Compile Eggdrop page and scroll down to the bottom section on installing Tcl and telling the bot where it is.[/code]

How to Compile Eggdrop page is a broken link.

I launch

Code: Select all

./config
but i read one error

Code: Select all

checking for Tcl library... not found
checking for Tcl header... {not found}
checking whether the Tcl system has changed... yes
configure: error:

  Tcl cannot be found on this system.
What can i do now?
Last edited by Cr4sh on Sat Dec 11, 2010 12:48 pm, edited 1 time in total.
C
CtrlAltDel
Halfop
Posts: 49
Joined: Wed Jun 02, 2004 7:58 am

Post by CtrlAltDel »

# First, download the TCL source.

* For v1.1/v1.2 eggdrops, use the newest of the v8.0 branch:
ftp://ftp.scriptics.com/pub/tcl/tcl8_0/tcl8.0.5.tar.gz
* For v1.3/v1.4 eggdrops, use the newest of the v8.3 branch:
ftp://ftp.scriptics.com/pub/tcl/tcl8_3/ ... src.tar.gz
* For v1.6 eggdrops, use the newest of the v8.4 branch:
ftp://ftp.scriptics.com/pub/tcl/tcl8_4/ ... src.tar.gz

# Here are the commands necessary to compile TCL v8.4.11 from your ~/tcl8.4.11 directory:
cd ~
tar -zxvf tcl8.4.11-src.tar.gz
cd tcl8.4.11/unix
./configure --disable-shared
make

If "tar -zxpf tcl8.4.11-src.tar.gz" doesn't work, then try:
gzip -d tcl8.4.11-src.tar.gz
tar -xpf tcl8.4.11-src.tar

# Next, move back to the eggdrop source's directory and run the configure script:
Eggdrop v1.1/v1.2
make clean
export TCLLIB=$HOME/tcl8.0.5/unix
export TCLINC=$HOME/tcl8.0.5/generic
./configure
NOTE: The export command works on bash shells, if you are using csh or tcsh, do setenv. To find out what shell you are using, type echo $SHELL
NOTE: The $TCLLIB/$TCLINC variables point to the directories where the files are found, NOT the files themselves.
Eggdrop v1.3-v1.6
make clean
./configure --with-tcllib=$HOME/tcl8.4.11/unix/libtcl8.4.a --with-tclinc=$HOME/tcl8.4.11/generic/tcl.h

NOTE: On some systems (like FreeBSD), the library may be named libtcl84.a instead of libtcl8.4.a
NOTE: this is from an archive dated Dec 20, 2005
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

Thx very much but there is a problem.
I use eggdrop 1.6.19 on gentoo then i need this file ftp://ftp.scriptics.com/pub/tcl/tcl8_4/ ... src.tar.gz
The folder is empty. :cry:

I've launched

Code: Select all

./configure --with-tcllib=$HOME/tcl8.4.11/unix/libtcl8.4.a --with-tclinc=$HOME/tcl8.4.11/generic/tcl.h
and return

Code: Select all

The file '/home/cr4sh/tcl8.4.11/unix/libtcl8.4.a' given to option --with-tcllib is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

configure: warning:

  The file '' given to option --with-tclinc is not valid.

  configure will now attempt to autodetect both the Tcl library and header.

checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version... 
checking for Tcl patch level... 
configure: error:

  Your Tcl version is much too old for Eggdrop to use. You should
  download and compile a more recent version. The most reliable
  current version is 8.5.X and can be downloaded from
  ftp://tcl.activestate.com/pub/tcl/tcl8_5/.
I've downloaded tk85b3-src.zip from ftp://tcl.activestate.com/pub/tcl/tcl8_5/
It's correct?

On gentoo must to emerge on portage the dev-lang/tcl pack now at 8.5.8-r1.
t
thommey
Halfop
Posts: 76
Joined: Tue Apr 01, 2008 2:59 pm

Post by thommey »

You should ask your system adminsitrator to install Tcl for you, gentoo has a package system, it's a trivial task for them.

Anyway, if you really insist on installing it locally... http://eggwiki.org/Local_Tcl

tk85b3-src.zip is completely wrong.
User avatar
Cr4sh
Halfop
Posts: 63
Joined: Sat Jan 14, 2006 5:16 pm
Contact:

Post by Cr4sh »

No thanks, i'm the administrator and i've just solved the problem. :wink:
Post Reply