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 

INstalling TCL
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Khilborn
Voice


Joined: 07 Nov 2011
Posts: 15

PostPosted: Mon Nov 07, 2011 12:27 pm    Post subject: INstalling TCL Reply with quote

It was pretty straight forward installed aggdrop to my shell. The problem I am having is finding a tutorial that will guide me through installing tcl on my server. Can anyone guide me in the right direction on getting TCL installing on my server .
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 07, 2011 12:56 pm    Post subject: Reply with quote

With most linux and bsd dists these days, it's a mere matter of using a packet manager (such as apt-get, aptitude, yum, or similar) for your dist; and install the tcl and tcl-dev packages.
If you'd rather do it the hard way, have a look here: http://tcl.tk/software/tcltk/8.5.html
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Nov 07, 2011 12:59 pm    Post subject: Reply with quote

http://www.egghelp.org/faq.htm#042


Edit:
It seems that the link mentioned there, is dead. Sad

Would a moderator be able to pass this along to whoever maintains the above link?
Thanks.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 07, 2011 1:02 pm    Post subject: Reply with quote

willyw,
I'm afraid that link is not accurate anymore. The eggfaq.com domain linked there has expired and now only hosts a resale/links page.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Nov 07, 2011 1:22 pm    Post subject: Reply with quote

nml375 wrote:
willyw,
I'm afraid that link is not accurate anymore.
...


Right.
Can you let whoever maintains that page know? Perhaps they would like to edit it.
Thanks
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 07, 2011 1:29 pm    Post subject: Reply with quote

Well, since the link is on egghelp.org, that would be slennox... Just sent him a PM about it..
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Nov 07, 2011 1:34 pm    Post subject: Reply with quote

Cool.
Will do.
Back to top
View user's profile Send private message
Khilborn
Voice


Joined: 07 Nov 2011
Posts: 15

PostPosted: Mon Nov 07, 2011 4:11 pm    Post subject: Reply with quote

I have tried everything to get TCL on my server with no success. I have uploaded, extracted it but for some reason cant get it compiled and working
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 07, 2011 4:19 pm    Post subject: Reply with quote

Assuming you've got the needed buildtools (gcc, libc, make, etc); it's generally a matter of ./configure; make; make install
Unfortunately, your current description does'nt give us much more information to work with..

What kind of system (linux, bsd, unix) and distribution?
Can you install the tcl libraries using a packet manager?
If you're compiling, does the ./configure-script give any errors?
Does the actual compiling (make) give any errors?

If you do get any errors, what are they?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Khilborn
Voice


Joined: 07 Nov 2011
Posts: 15

PostPosted: Mon Nov 07, 2011 4:33 pm    Post subject: Reply with quote

Alright sorry for not being specific. This is what I have done. I have uploaded via FTP Eggdrop, tcl8.5.10, and tk8.5.10. Each one has been extracted via telnet to my server.

When I ran ./configure via telnet for eggdrop everything works fine until the tcl check. This is what I get.

configure: WARNING:

You must specify both --with-tcllib and --with-tclinc for either to work.

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

checking for Tcl library... found /usr/lib/libtcl8.4.so
checking for Tcl header... not found
checking whether the Tcl system has changed... yes
configure: error:

Tcl cannot be found on this system.

Eggdrop requires Tcl and the Tcl development files to compile.
If you already have Tcl installed on this system, make sure you
also have the development files (common package names include
'tcl-dev' and 'tcl-devel'). If I just wasn't looking
in the right place for it, re-run ./configure using the
--with-tcllib='/path/to/libtcl.so' and
--with-tclinc='/path/to/tcl.h' options.


So I followed the instructions via: http://www.tcl.tk/doc/howto/compile.html to comfigure and compile tcl on my server.

./configure --prefix=/home/TCL ----> SUCCESS
make ------->SUCCESS I guess, i did not get errors
make test ------> Run fine until load.test

load.test


==== load-10.1 load from vfs FAILED
==== Contents of test case:
list [catch {load simplefs:/pkgd$ext pkgd} msg] $msg
---- Result was:
1 {couldn't load file "/tmp/tclXgVPg0": /tmp/tclXgVPg0: failed to map segment from shared object: Operation not permitted}
---- Result should have been (exact matching):
0 {}
==== load-10.1 FAILED


Then when I do make install I get the following

-bash-3.2$ make install
Making directory /home/TCL/lib
mkdir: cannot create directory `/home/TCL': Permission denied
chmod: cannot access `/home/TCL/lib': No such file or directory
Making directory /home/TCL/bin
mkdir: cannot create directory `/home/TCL': Permission denied
chmod: cannot access `/home/TCL/bin': No such file or directory
Making directory /home/TCL/lib
mkdir: cannot create directory `/home/TCL': Permission denied
chmod: cannot access `/home/TCL/lib': No such file or directory
make: *** [install-binaries] Error 1


The File permission on the TCL directory is 755.

THis is where I am stuck at this time
Back to top
View user's profile Send private message
Khilborn
Voice


Joined: 07 Nov 2011
Posts: 15

PostPosted: Mon Nov 07, 2011 4:34 pm    Post subject: Reply with quote

OS = Linux

My hosting privider in Hostmonster.com
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 07, 2011 4:48 pm    Post subject: Reply with quote

In this case, you've already got tcl8.4 installed, though you are missing the -dev package for it.
This would be a good point to ask whether you've got root access to this system, or just a shell account. If you do have root access, the brand (or distribution) of Linux would also be quite helpful.

Your build of the tcl libraries worked just fine, however, you do not have write access to the /home/TCL directory, where you are trying to install tcl. Or, more to the point, there is no /home/TCL directory, and you do not have write permissions in /home. Perhaps this should be something along /home/myhome/tcl (where myhome would be your accounts home directory).
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Khilborn
Voice


Joined: 07 Nov 2011
Posts: 15

PostPosted: Mon Nov 07, 2011 5:08 pm    Post subject: Reply with quote

I even tried

-bash-3.2$ make install
Making directory /home/public_html/TCL/lib
mkdir: cannot create directory `/home/public_html': Permission denied
chmod: cannot access `/home/public_html/TCL/lib': No such file or directory
Making directory /home/public_html/TCL/bin
mkdir: cannot create directory `/home/public_html': Permission denied
chmod: cannot access `/home/public_html/TCL/bin': No such file or directory
Making directory /home/public_html/TCL/lib
mkdir: cannot create directory `/home/public_html': Permission denied
chmod: cannot access `/home/public_html/TCL/lib': No such file or directory
make: *** [install-binaries] Error 1
-bash-3.2$


all my websites, etc are in public_html

The TCL Folder now exist in /home/public_html/TCL and I changed permission to 777 but still get the above error
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Nov 07, 2011 5:13 pm    Post subject: Reply with quote

Please re-check the last part of my previous post.
It is VERY uncommon to have user data directly under /home. It's pretty much standard to create one directory for each user account under /home.
Say my login-name would be test123, then my home directory would be /home/test123, and I would place a private installation of tcl in /home/test123/tcl; I would have my private website in /home/test123/public_html; and so on...

Also, am I safe to assume you do NOT have root access on this server?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Nov 08, 2011 9:39 am    Post subject: Reply with quote

nml375 wrote:
Well, since the link is on egghelp.org, that would be slennox... Just sent him a PM about it..


He replied to my PM.
Link has been updated. Smile

For anyone else that is reading along, the link that I mentioned above once again leads to information.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
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