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.

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

General support and discussion of Eggdrop bots.
Post Reply
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

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

Post by neocharles »

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

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

Code: Select all

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

Code: Select all

OpenSSL 1.0.1c 10 May 2012
However, when I load up webby, in the partyline I see:

Code: Select all

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: Select all

<@neocharles> !webby gizmodo.com
<Oracle>  Gizmodo - The Gadget Guide ( http://tinyurl.com/suee2 )( 200; text/html; utf-8; 110912 bytes )
<Oracle> The Gadget Guide
H
Hero
Halfop
Posts: 49
Joined: Tue Jun 26, 2012 6:27 pm
Location: root@localhost
Contact:

Post by Hero »

Try To Install

Code: Select all

sudo apt-get install tcl8.5 
sudo apt-get install tcllib
The Road To Hell Is Full Of Good Intentions
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

The goal is to not use tcl8.5.

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

http://pastebin.com/axaA2Cgn
H
Hero
Halfop
Posts: 49
Joined: Tue Jun 26, 2012 6:27 pm
Location: root@localhost
Contact:

Post by Hero »

Hmm! Then Wait For Someone Other To SOlve Your Issue!
The Road To Hell Is Full Of Good Intentions
J
Johannes13
Halfop
Posts: 46
Joined: Sun Oct 10, 2010 11:38 am

Post by Johannes13 »

Install the Tcl tls package. Should not be that hard. Google helps finding the package.
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

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

Code: Select all

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.
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

Code: Select all

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
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

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

Code: Select all

$ ./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
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

remove that ' ' just :

Code: Select all

./configure --prefix=path/to/tcl
for example :

Code: Select all

./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
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

http://pastebin.com/eW1PCzyq

Still gives an error
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

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: Select all

./configure --prefix=/usr/include
or

Code: Select all

./configure --prefix=/usr/local
i dunno wherever the tcl located in your system.
Life iS Just a dReaM oN tHE wAy to DeaTh
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

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: Select all

./configure --prefix=/usr/include
or

Code: Select all

./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: Select all

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

Code: Select all

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#
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

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 ...
Last edited by heartbroken on Thu Jul 11, 2013 11:43 pm, edited 1 time in total.
Life iS Just a dReaM oN tHE wAy to DeaTh
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

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
User avatar
heartbroken
Op
Posts: 110
Joined: Thu Jun 23, 2011 11:15 pm
Location: somewhere out there

Post by heartbroken »

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: Select all

./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
Post Reply