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.

Installation problem......

Old posts that have not been replied to for several years.
Locked
d
defendtherealm

Installation problem......

Post by defendtherealm »

Hi all !

You have most probably seen this a million times before.....

I have installed TCL for linux from ActiveState. The version is 4.4.0

I have put the path in my profile and have set the TCLLIB and TCLINC variables...I have double checked the paths and I am as sure as I can be that they are correct.

Yet I still get the error below. Please help !!!!! Thanks


Code: Select all

 login as: cbarnett


It's a mystery to me why it comes up with that error considering the recent version I am using. To be honest, a few moons ago I tried all of this before and came up with the same results even using version 8.3.4

Cheers.

Chris.

Sent username "cbarnett"
cbarnett@talkinlondon.net's password:
Last login: Sun Aug 31 02:51:29 2003 from 81-86-96-68.dsl.pipex.com
': not a valid identifier
: command not found
sh-2.05$ ls
bin   core.19843  core.22026  etc  home     lib        opt   sbin  usr  www
boot  core.21923  dev         ftp  include  localtime  proc  tmp   var
sh-2.05$ set
BASH=/ftponly
BASH_VERSINFO=([0]="2" [1]="05" [2]="8" [3]="1" [4]="release" [5]="i386-redhat-linux-gnu")
BASH_VERSION=$'2.05.8(1)-release'
COLUMNS=80
CVSROOT=/home/cvs
DIRSTACK=()
EDITOR=/bin/vi
EUID=5209
GROUPS=()
HISTFILE=//.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/
HOSTNAME=talkinlondon.net
HOSTTYPE=i386
IFS=$' \t\n'
LANG=C
LC_ALL=C
LD_PRELOAD=
LINES=24
LOGNAME=cbarnett
MACHTYPE=i386-redhat-linux-gnu
MAIL=/var/mail/cbarnett
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/ActiveTcl/bin:/bin:/usr/local/bin:/usr/bin:.
PIPESTATUS=([0]="0")
POSIXLY_CORRECT=y
PPID=22183
PS1=$'\\s-\\v\\$ '
PS2=$'> '
PS4=$'+ '
PWD=/
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:posix:emacs
SHLVL=1
SPHERA_PWD=x
SPHERA_fifoPath=xxxxxxxxxxxxxxxxxxxxxx
SPHERA_monitor=xxxx
SPHERA_service=xxxxx
SSH_CLIENT=$'81.86.96.68 3128 22'
SSH_TTY=/dev/pts/2
TCLINC=/usr/local/ActiveTcl/include
TCLLIB=/usr/local/ActiveTcl/lib
TERM=vt100
UID=5209
USER=cbarnett
VISUAL=/bin/vi
_=ls
sh-2.05$ ls
bin   core.19843  core.22026  etc  home     lib        opt   sbin  usr  www
boot  core.21923  dev         ftp  include  localtime  proc  tmp   var
sh-2.05$ cd usr/lcoal
sh: cd: usr/lcoal: No such file or directory
sh-2.05$ cd usr/local
sh-2.05$ ls
ActiveTcl                        apache             etc    openssh_sphera
ActiveTcl8.4.4.0-linux-ix86      bin                horde  perl
ActiveTcl8.4.4.0-linux-ix86.tar  casp               info   share
PHPNuke                          cvs-1.12.1         lib    src
Unreal3.1.5.1                    eggdrop1.6.15      man    temp
Zend                             eggdrop1.6.15.tar  mysql
sh-2.05$ cd eggdrop1.6.15
sh-2.05$ ls
CONTENTS   Makefile     aclocal.m4    disabled_modules  logs
COPYING    Makefile.in  config.h.in   doc               misc
ChangeLog  NEWS         config.log    eggdrop.conf      scripts
FEATURES   README       configure     help              src
INSTALL    acconfig.h   configure.in  language          text
sh-2.05$ ./configure

This is Eggdrop's GNU configure script.
It's going to run a bunch of strange tests to hopefully
make your compile work without much twiddling.

checking for gcc... gcc
checking for C compiler default output... 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 egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether the compiler understands -pipe... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for strip... strip
checking for gawk... gawk
checking for basename... basename
checking for uname... uname
checking system type... Linux
checking system release... 2.4.9-31enterprise
checking for socket in -lsocket... no
checking for connect in -lnsl... yes
checking for gethostbyname in -ldns... no
checking for dlopen in -ldl... yes
checking for tan in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking std_args.h usability... no
checking std_args.h presence... no
checking for std_args.h... no
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for kernel IPv6 support... no
checking whether or not you enabled IPv6 support... no
checking for clock... yes
checking for getrusage... yes
checking for setpgid... yes
checking for uname... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for rename... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for getdtablesize... yes
checking for memset... yes
checking for random... yes
checking for srandom... yes
checking for dlopen... yes
checking for dprintf... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for memcpy... yes
checking for strftime... yes
checking for fsync... yes
checking for gethostbyname2... yes
checking for getipnodebyname... no
checking for vsprintf... yes
checking for broken libsafe sscanf... no
configure: warning:

  Environment variable TCLLIB was set, but incorrect.
  Please set both TCLLIB and TCLINC correctly if you wish to use them.
  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... grep: /: Is a directory

checking for Tcl patch level... grep: /: Is a directory

configure: error:

  Your Tcl version is much too old for Eggdrop to use.
  I suggest you download and compile a more recent version.
  The most reliable current version is 8.3.4 and
  can be downloaded from ftp://tcl.activestate.com/pub/tcl/tcl8_3/

./configure: sort: command not found
./configure: sort: command not found
sh-2.05$
D
Darmoth
Master
Posts: 210
Joined: Sun Oct 07, 2001 8:00 pm
Location: old europe

Post by Darmoth »

Your Tcl version is much too old for Eggdrop to use.
I suggest you download and compile a more recent version.
The most reliable current version is 8.3.4 and
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^
can be downloaded from ftp://tcl.activestate.com/pub/tcl/tcl8_3/


You wrote you are using a version 4.4.0 and you get the errormessage your tcl version is outdated. That's pretty clear I think.
d
defendtherealm

Post by defendtherealm »

:oops:

I really sorry, I meant version 8.4.4.0

It's the latest version of TCL from Activestate.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

It remains that the error message is:
Environment variable TCLLIB was set, but incorrect.
Please set both TCLLIB and TCLINC correctly if you wish to use them.
configure will now attempt to autodetect both the Tcl library and header...
From the copy and paste of your environment variables it seems you should have installed it in /usr/local/ActiveTcl. But from the shell transcript it is not clear what is inside that directory.
Is appears you should pay extra attention to the location of the header file.
d
defendtherealm

Post by defendtherealm »

Correct thats the error message.

I think everything is installed to the correct directory....

Code: Select all

sh-2.05$
sh-2.05$ cd
sh-2.05$ ls
bin   core.19843  core.22026  etc  home     lib        opt   sbin  usr  www
boot  core.21923  dev         ftp  include  localtime  proc  tmp   var
sh-2.05$ cd usr/local/ActiveTcl
sh-2.05$ ls
MANIFEST  README.txt  bin  demos  include  lib  license.terms  man
sh-2.05$ cd bin
sh-2.05$ ls
tclsh  tclsh8.4  tkcon  wish  wish8.4
sh-2.05$
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

and what is inside

- /usr/local/ActiveTcl/lib
- /usr/local/ActiveTcl/include

?
d
defendtherealm

Post by defendtherealm »

Code: Select all

sh-2.05$ cd bin
sh-2.05$ ls
tclsh  tclsh8.4  tkcon  wish  wish8.4
sh-2.05$ cd ..
sh-2.05$ ls
MANIFEST  README.txt  bin  demos  include  lib  license.terms  man
sh-2.05$ cd lib
sh-2.05$ ls
Img1.3              libogg.a                libxml2.so.2.4.24
Memchan2.2          libogg.la               libxslt.a
Mk4tcl              libogg.so               libxslt.la
Tcldom2.6           libogg.so.0             libxslt.so
TcldomConfig.sh     libogg.so.0.4.0         libxslt.so.1
Tclexpat2.6         libsnackstub2.2.a       libxslt.so.1.0.20
Tclxml2.6           libsp.a                 libxsltbreakpoint.a
TclxmlConfig.sh     libtcl8.4.a             libxsltbreakpoint.la
Tclxslt2.6          libtcl8.4.so            libxsltbreakpoint.so
Tkhtml2.0           libtclstub8.4.a         libxsltbreakpoint.so.1
Tktable2.8          libtk8.4.a              libxsltbreakpoint.so.1.0.8
Trf2.1              libtk8.4.so             pkgconfig
ao                  libtkstub8.4.a          pngtclConfig.sh
bwidget1.6          libvorbis.a             ppm
expect5.38          libvorbis.la            snack2.2
itcl3.2             libvorbis.so            tbcload1.4
itclConfig.sh       libvorbis.so.0          tcl8.4
itk3.2              libvorbis.so.0.2.0      tclConfig-shared.sh
iwidgets4.0.2       libvorbisenc.a          tclConfig.sh
jpegtclConfig.sh    libvorbisenc.la         tcldomxml2.6
libao.la            libvorbisenc.so         tcldomxmlConfig.sh
libao.so            libvorbisenc.so.2       tcllib1.5
libao.so.2          libvorbisenc.so.2.0.0   tclsoap1.6.6
libao.so.2.1.1      libvorbisfile.a         tclx8.4
libexpect5.38.a     libvorbisfile.la        tifftclConfig.sh
libexpect5.38.so    libvorbisfile.so        tk8.4
libexslt.a          libvorbisfile.so.3      tkConfig-shared.sh
libexslt.la         libvorbisfile.so.3.0.0  tkConfig.sh
libexslt.so         libxml2.a               tkimgConfig.sh
libexslt.so.0       libxml2.la              vfs1.2
libexslt.so.0.7.11  libxml2.so              xml2Conf.sh
libnistutil.a       libxml2.so.2            xsltConf.sh
sh-2.05$ cd ...
sh: cd: ...: No such file or directory
sh-2.05$ cd ..
sh-2.05$ ls
MANIFEST  README.txt  bin  demos  include  lib  license.terms  man
sh-2.05$ cd include
sh-2.05$ ls
ao                    ogg                  tifftcl.h
expect.h              pngtcl.h             tifftclDecls.h
expect_comm.h         pngtclDecls.h        tifftclDeclsMask.h
expect_tcl.h          pngtclDeclsMask.h    tifftclDeclsUnmask.h
itcl.h                pngtclDeclsUnmask.h  tk.h
itclDecls.h           proTbcLoad.h         tkDecls.h
itclInt.h             sp                   tkPlatDecls.h
itclIntDecls.h        tcl.h                tkTable.h
itk.h                 tclDecls.h           tkimg.h
itkDecls.h            tclExtend.h          tkimgDecls.h
jpegtcl.h             tclInt.h             transform.h
jpegtclDecls.h        tclIntDecls.h        trfDecls.h
jpegtclDeclsMask.h    tclIntPlatDecls.h    util
jpegtclDeclsUnmask.h  tclPlatDecls.h       vorbis
libexslt              tcldbg.h             xmlparse.h
libxml2               tcldom-libxml2.h     xmlrole.h
libxslt               tcldom.h             xmltok.h
mk4.h                 tcldomDecls.h        zlibtcl.h
mk4.inl               tcldomxmlDecls.h     zlibtclDecls.h
mk4str.h              tclxml.h             zlibtclDeclsMask.h
mk4str.inl            tclxslt.h            zlibtclDeclsUnmask.h
sh-2.05$
[/quote]
d
defendtherealm

Post by defendtherealm »

I don't mind to give you access to the server if I have to.
d
defendtherealm

Post by defendtherealm »

bump!!!!!!

soz.... but does anyone have any idea about this mystery?
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

read doc/compiling.faq (which came with your eggdrop) point configure to it
a.k.a. hellios
Locked