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 

Attempting to Compile, Why won't it include tls?

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


Joined: 23 Apr 2013
Posts: 34

PostPosted: Sun Jul 07, 2013 7:21 pm    Post subject: Attempting to Compile, Why won't it include tls? Reply with quote

I am not sure why I cannot get this to work...

Just installed Ubuntu Server 13.04, and am compiling my eggdrop.

Code:
./configure  --with-tcllib='/usr/local/lib/libtcl8.6.so' --with-tclinc='/usr/include/tcl8.6/tcl.h' --with-handlen=15


openssl is installed
Code:
OpenSSL 1.0.1c 10 May 2012


However, when I load up webby, in the partyline I see:
Code:
Webby: Found zlib package. Fast lane activated!
[6:45pm]Webby: https NOT supported: tls package NOT found.



How can I fix this? I saw some documentation here, but the switches it references do not work with ./configure

It also appears it may not be using gzip or something... as I do not believe this output is correct:
Code:
<@neocharles> !webby gizmodo.com
<Oracle>  Gizmodo - The Gadget Guide ( http://tinyurl.com/suee2 )( 200; text/html; utf-8; 110912 bytes )
<Oracle> The Gadget Guide
Back to top
View user's profile Send private message
Hero
Halfop


Joined: 26 Jun 2012
Posts: 49
Location: root@localhost

PostPosted: Mon Jul 08, 2013 3:27 am    Post subject: Reply with quote

Try To Install
Code:

sudo apt-get install tcl8.5
sudo apt-get install tcllib

_________________
The Road To Hell Is Full Of Good Intentions
Back to top
View user's profile Send private message Visit poster's website
neocharles
Voice


Joined: 23 Apr 2013
Posts: 34

PostPosted: Mon Jul 08, 2013 7:28 am    Post subject: Reply with quote

The goal is to not use tcl8.5.

Installed tcllib however. Also previously installed was tcl-tls.

http://pastebin.com/axaA2Cgn
Back to top
View user's profile Send private message
Hero
Halfop


Joined: 26 Jun 2012
Posts: 49
Location: root@localhost

PostPosted: Mon Jul 08, 2013 8:00 am    Post subject: Reply with quote

Hmm! Then Wait For Someone Other To SOlve Your Issue!
_________________
The Road To Hell Is Full Of Good Intentions
Back to top
View user's profile Send private message Visit poster's website
Johannes13
Halfop


Joined: 10 Oct 2010
Posts: 46

PostPosted: Tue Jul 09, 2013 6:19 am    Post subject: Reply with quote

Install the Tcl tls package. Should not be that hard. Google helps finding the package.
Back to top
View user's profile Send private message
neocharles
Voice


Joined: 23 Apr 2013
Posts: 34

PostPosted: Wed Jul 10, 2013 8:35 pm    Post subject: Reply with quote

Johannes13 wrote:
Install the Tcl tls package. Should not be that hard. Google helps finding the package.


Code:
apt-get -y --force-yes -f install tcl-tls ..

Reading package lists...
Building dependency tree...
Reading state information...
tcl-tls is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Back to top
View user's profile Send private message
heartbroken
Op


Joined: 23 Jun 2011
Posts: 106
Location: somewhere out there

PostPosted: Thu Jul 11, 2013 3:37 am    Post subject: Reply with quote

Code:
wget http://garr.dl.sourceforge.net/project/tls/tls/1.6/tls1.6-src.tar.gz
tar -zxf tls1.6-src.tar.gz
cd tls1.6
./configure --prefix='path/to/tcl'
make install

_________________
Life iS Just a dReaM oN tHE wAy to DeaTh
Back to top
View user's profile Send private message
neocharles
Voice


Joined: 23 Apr 2013
Posts: 34

PostPosted: Thu Jul 11, 2013 2:29 pm    Post subject: Reply with quote

Ummm, not sure if it's already installed or not working properly...


Code:
$ ./configure --prefix='/usr/include/tcl8.6'

checking for correct TEA configuration... ok (TEA 3.6)
checking for Tcl configuration... found /usr/local/lib/tclConfig.sh
checking for existence of /usr/local/lib/tclConfig.sh... loading
configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for Tcl public headers... /usr/local/include
checking for pthread_mutex_init in -lpthread... yes
checking for building with threads... yes (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version... Linux-2.6.32-042stab078.22
checking for dlopen in -ldl... yes
checking for ar... ar
checking for required early compiler flags...  _LARGEFILE64_SOURCE
checking for 64-bit integer type... using long
checking for build with symbols... no
checking for SSL directory... /usr
checking if libgcc is needed to resolve openssl symbols... no
checking for tclsh... /usr/local/bin/tclsh8.6
configure: creating ./config.status
config.status: creating Makefile

$ make install
mkdir: cannot create directory '/usr/local/lib/tls1.6': File exists
make: *** [install-lib-binaries] Error 1
Back to top
View user's profile Send private message
heartbroken
Op


Joined: 23 Jun 2011
Posts: 106
Location: somewhere out there

PostPosted: Thu Jul 11, 2013 3:41 pm    Post subject: Reply with quote

remove that ' ' just :
Code:
./configure --prefix=path/to/tcl

for example :
Code:
./configure --prefix=$HOME/local

if tls already exits ,it should overwrite/replace the old one.
but if you gonna use same tls instaliation path now again, dont forget to type " make clean " first. (i mean for your this second attempt start with "make clean" and go on ...)
_________________
Life iS Just a dReaM oN tHE wAy to DeaTh
Back to top
View user's profile Send private message
neocharles
Voice


Joined: 23 Apr 2013
Posts: 34

PostPosted: Thu Jul 11, 2013 4:08 pm    Post subject: Reply with quote

http://pastebin.com/eW1PCzyq

Still gives an error
Back to top
View user's profile Send private message
heartbroken
Op


Joined: 23 Jun 2011
Posts: 106
Location: somewhere out there

PostPosted: Thu Jul 11, 2013 4:29 pm    Post subject: Reply with quote

http://postimg.org/image/hklrjy52v/
http://postimg.org/image/51v5efg81/

tls should install with tcl ..not in* tcl .
i did that couple of times before on my Shell account.i installed localy
tls ,trf ,tcllib .. all other extra tcl packages with tcl not in tcl directory.
so .
Code:
./configure --prefix=/usr/include
or
Code:
./configure --prefix=/usr/local
i dunno wherever the tcl located in your system.
_________________
Life iS Just a dReaM oN tHE wAy to DeaTh
Back to top
View user's profile Send private message
neocharles
Voice


Joined: 23 Apr 2013
Posts: 34

PostPosted: Thu Jul 11, 2013 4:47 pm    Post subject: Reply with quote

heartbroken wrote:
http://postimg.org/image/hklrjy52v/
http://postimg.org/image/51v5efg81/

tls should install with tcl ..not in* tcl .
i did that couple of times before on my Shell account.i installed localy
tls ,trf ,tcllib .. all other extra tcl packages with tcl not in tcl directory.
so .
Code:
./configure --prefix=/usr/include
or
Code:
./configure --prefix=/usr/local
i dunno wherever the tcl located in your system.



I'm not sure... Regardless of what path I enter for that prefix, I get the same 'cannot create directory'

http://i.imgur.com/TtDUiaX.png

Code:
root@neocharles:/home/neocharles/tls/tls1.6# whereis tcl
tcl: /usr/lib/tcl8.6 /usr/local/lib/tcl8.6 /usr/include/tcl8.6

Code:
root@neocharles:/home/neocharles/tls/tls1.6# whereis tls
tls: /usr/local/lib/tls1.6 /usr/include/tls.h
root@neocharles:/home/neocharles/tls/tls1.6#
Back to top
View user's profile Send private message
heartbroken
Op


Joined: 23 Jun 2011
Posts: 106
Location: somewhere out there

PostPosted: Thu Jul 11, 2013 5:06 pm    Post subject: Reply with quote

so your tcl located into /usr/local and looks like tls already installed there.maybe the problem about on permissions (chmod settings) for that directory or tls damaged there . i cannot be so sure ...
_________________
Life iS Just a dReaM oN tHE wAy to DeaTh


Last edited by heartbroken on Thu Jul 11, 2013 11:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
neocharles
Voice


Joined: 23 Apr 2013
Posts: 34

PostPosted: Thu Jul 11, 2013 7:10 pm    Post subject: Reply with quote

I've tried this as root as well, so I imagine permissions shouldn't cause an issue?
** might have figured it out **

There was a symbolic link (see the red) that was pointing to an invalid spot. Took that out, and it seems to have installed properly from what I can tell.

Check this out, and if so, what should the next step be?


http://pastebin.com/BqVpDKwM
Back to top
View user's profile Send private message
heartbroken
Op


Joined: 23 Jun 2011
Posts: 106
Location: somewhere out there

PostPosted: Thu Jul 11, 2013 11:48 pm    Post subject: Reply with quote

its looks successfully installed this time. kill your bot and over compile again :
./configure --with-/points/the/directories and then hopefully your bot gonna have that .... thing 'g'

for example : (this is from my bash history..dont forget to change the directory ways)
Code:
./configure --with-tcllib=$HOME/local/lib/libtcl8.6.so --with-tclinc=$HOME/local/include/tcl.h
export LD_LIBRARY_PATH=$HOME/local/lib:${LD_LIBRARY_PATH}
export TCL_LIBRARY=$HOME/local/lib/tcl8.6
make config
make
make install DEST=/home/heartbroken/bot

_________________
Life iS Just a dReaM oN tHE wAy to DeaTh
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
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