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.

TCL FIX

Old posts that have not been replied to for several years.
Locked
c
crypted
Voice
Posts: 1
Joined: Sat Dec 11, 2004 8:56 am

TCL FIX

Post by crypted »

download tcl and its not working right?

cool 1 easy thing to do
cp the files to /usr from /usr/local
then ldconfig
presto working tcl

to know if you need to do this try to rune a eggdrop if it says something like can not connect to data base error [ 127 ] i believe then this is right for you ...
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Well, your version can be done only by server admin. Regular users without access to root account still can't do anything ;)

Code: Select all

This method should work everywhere:
1. Download and compile tcl in your home directory:
    cd tcl8.x.x/unix
   ./configure --prefix=/home/your_login/tcl
   make
   make install
2. Export shell variables (it depends on shell which your using, i'm using bash):
    export PATH="$PATH:/home/your_login/tcl/bin"
    export LD_LIBRARY_PATH="/home/your_login/tcl/lib"
    (those lines can be added to .bashrc)
Eggdrop should now compile and start without problems. If configure will warn about missing tcl libraries and headers add --with-tclib=/home/your_login/tcl/lib --with-tclinc=/home/your_login/tcl/include
Que?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

your home directory may not start with /home :P

in bash, use ~:

Code: Select all

export LD_LIBRARY_PATH=~/lib
that is, better install TCL libs in standard places; the only one you'd have write access to if you aren't admin would be ~/lib; thus you won't have to add non-standard binary location to your PATH (usually, ~/bin is already included)
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Well, in bash you can also use $HOME variable to get your home directory. Sometimes it is not possible to install Tcl in standard location, admin dont like it, or don't want to upgrade Tcl, when user for example need newest version of libraries. I did not used ~/ as home directory path, becase some scripts, program don't recognize it properly.
Que?
Locked