egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem TCL [solved]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Sat Dec 11, 2010 9:49 am    Post subject: Problem TCL [solved] Reply with quote

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.


How to Compile Eggdrop page is a broken link.

I launch
Code:
./config
but i read one error
Code:
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
Back to top
View user's profile Send private message Visit poster's website
CtrlAltDel
Halfop


Joined: 02 Jun 2004
Posts: 49

PostPosted: Sat Dec 11, 2010 10:00 am    Post subject: Reply with quote

Quote:
# 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/tcl8.3.5-src.tar.gz
* For v1.6 eggdrops, use the newest of the v8.4 branch:
ftp://ftp.scriptics.com/pub/tcl/tcl8_4/tcl8.4.11-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
Back to top
View user's profile Send private message
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Sat Dec 11, 2010 10:12 am    Post subject: Reply with quote

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/tcl8.4.11-src.tar.gz
The folder is empty. Crying or Very sad

I've launched
Code:
./configure --with-tcllib=$HOME/tcl8.4.11/unix/libtcl8.4.a --with-tclinc=$HOME/tcl8.4.11/generic/tcl.h
and return
Code:
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.
Back to top
View user's profile Send private message Visit poster's website
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Sat Dec 11, 2010 2:52 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Cr4sh
Halfop


Joined: 14 Jan 2006
Posts: 63

PostPosted: Sat Dec 11, 2010 3:01 pm    Post subject: Reply with quote

No thanks, i'm the administrator and i've just solved the problem. Wink
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber