LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-24-2004, 12:32 PM   #1
divoibs
LQ Newbie
 
Registered: Jul 2004
Location: Malaysia
Posts: 8

Rep: Reputation: 0
What is tcl.h?


I'm trying to install an Audio conferencing tool - RAT which requires tcl.h. I've got tcl package installed but when I run ./configure, it still cannot work. This is what I get:

[root@localhost rat]# ./configure --with-tcl=/usr/bin
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for working const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking whether char is unsigned... no
checking for stdint.h... yes
checking for inttypes.h... yes
checking for stropts.h... yes
checking for sys/filio.h... no
checking for malloc.h... yes
checking for bstring.h... no
checking for sys/sockio.h... no
checking for kill declaration... present
checking for gettimeofday declaration... present
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing dlopen... -ldl
checking for sin... no
checking for main in -lieee... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t in <stdint.h>... yes
checking for uint16_t in <stdint.h>... yes
checking for uint32_t in <stdint.h>... yes
checking for usleep... yes
checking for snprintf... yes
checking for linux/telephony.h... yes
checking for recent telephony drivers... missing
checking for sys/asoundlib.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether X11 headers are broken... no
checking for /usr/bin/tcl.h... no
Could not find tcl.h. One of the following halted progress:
(a) Tcl is not installed.
(b) Tcl's location was mis-specified, or not specified (--with-tcl=DIR).
(c) this script failed to see it (please inform rat-trap@cs.ucl.ac.uk).


Anyone out there who could kindly provide a piece of advice or two will be utmost appreciated. Thank you.


divo
 
Old 09-24-2004, 01:56 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Re: What is tcl.h?

Quote:
Originally posted by divoibs
I'm trying to install an Audio conferencing tool - RAT which requires tcl.h. I've got tcl package installed but when I run ./configure, it still cannot work.
Just having the package installed is not enough when compiling you need to have the developement files installed as well.
Quote:
This is what I get:

[root@localhost rat]# ./configure --with-tcl=/usr/bin

checking for /usr/bin/tcl.h... no
Could not find tcl.h. One of the following halted progress:
(a) Tcl is not installed.
(b) Tcl's location was mis-specified, or not specified (--with-tcl=DIR).
(c) this script failed to see it (please inform rat-trap@cs.ucl.ac.uk).


Anyone out there who could kindly provide a piece of advice or two will be utmost appreciated. Thank you.


divo [/B]
Looking at the output of a search here on Debian I would say you need one of the tcl8.?-dev packages whatever it is called in your distro.

Code:
>$ apt-file search tcl.h
db3-doc: usr/share/doc/db3-doc/html/ref/upgrade.3.1/tcl.html
db3-doc: usr/share/doc/db3-doc/html/ref/upgrade.3.1/tcl.html
db4.0-doc: usr/share/doc/db4.0-doc/html/ref/upgrade.3.1/tcl.html
db4.0-doc: usr/share/doc/db4.0-doc/html/ref/upgrade.3.1/tcl.html
db4.1-doc: usr/share/doc/db4.1-doc/ref/upgrade.3.1/tcl.html
db4.1-doc: usr/share/doc/db4.1-doc/ref/upgrade.3.1/tcl.html
db4.2-doc: usr/share/doc/db4.2-doc/ref/upgrade.3.1/tcl.html
db4.2-doc: usr/share/doc/db4.2-doc/ref/upgrade.3.1/tcl.html
db4.2-doc: usr/share/doc/db4.2-doc/ref/upgrade.4.2/tcl.html
db4.2-doc: usr/share/doc/db4.2-doc/ref/upgrade.4.2/tcl.html
doc-linux-html: usr/share/doc/HOWTO/en-html/Lego/tcl.html
doc-linux-html: usr/share/doc/HOWTO/en-html/Lego/tcl.html
doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Lego/tcl.html
doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Lego/tcl.html
doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Secure-Programs-HOWTO/tcl.html
doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Secure-Programs-HOWTO/tcl.html
doc-linux-nonfree-html: usr/share/doc/HOWTO/en-html/Secure-Programs-HOWTO/tcl.html
doc-linux-nonfree-html: usr/share/doc/HOWTO/en-html/Secure-Programs-HOWTO/tcl.html
expect-dev: usr/include/tcl8.4/expect_tcl.h
expect-dev: usr/include/tcl8.4/expect_tcl.h
itcl3-dev: usr/include/tcl8.4/itcl-private/generic/itcl.h
itcl3-dev: usr/include/tcl8.4/itcl-private/generic/itcl.h
itcl3-dev: usr/include/tcl8.4/itcl.h
itcl3-dev: usr/include/tcl8.4/itcl.h
itcl3.0-dev: usr/include/itcl.h
itcl3.0-dev: usr/include/itcl.h
itcl3.0-dev: usr/include/itcl3.0/generic/itcl.h
itcl3.0-dev: usr/include/itcl3.0/generic/itcl.h
itcl3.1-dev: usr/include/tcl8.3/itcl-private/generic/itcl.h
itcl3.1-dev: usr/include/tcl8.3/itcl-private/generic/itcl.h
itcl3.1-dev: usr/include/tcl8.3/itcl.h
itcl3.1-dev: usr/include/tcl8.3/itcl.h
kdelibs4-dev: usr/include/kde/keditcl.h
kdelibs4-dev: usr/include/kde/keditcl.h
libfcgi0: usr/share/doc/libfcgi0/ch4tcl.htm
libfcgi0: usr/share/doc/libfcgi0/ch4tcl.htm
libfcgi0: usr/share/doc/libfcgi0/fastcgi-prog-guide/ch4tcl.htm
libfcgi0: usr/share/doc/libfcgi0/fastcgi-prog-guide/ch4tcl.htm
libfcgi0: usr/share/doc/libfcgi0/fcgi-tcl.htm
libfcgi0: usr/share/doc/libfcgi0/fcgi-tcl.htm
libmetakit2.4.9.2-dev: usr/share/doc/libmetakit2.4.9.2-dev/doc/tcl.html
libmetakit2.4.9.2-dev: usr/share/doc/libmetakit2.4.9.2-dev/doc/tcl.html
libmetakit2.4.9.3-dev: usr/share/doc/libmetakit2.4.9.3-dev/doc/tcl.html
libmetakit2.4.9.3-dev: usr/share/doc/libmetakit2.4.9.3-dev/doc/tcl.html
liboop-dev: usr/include/oop-tcl.h
liboop-dev: usr/include/oop-tcl.h
libpgtcl-dev: usr/include/postgresql/libpgtcl.h
libpgtcl-dev: usr/include/postgresql/libpgtcl.h
librdf0-dev: usr/share/doc/librdf0-dev/tcl.html
librdf0-dev: usr/share/doc/librdf0-dev/tcl.html
libtk-img: usr/include/jpegtcl.h
libtk-img: usr/include/jpegtcl.h
libtk-img: usr/include/pngtcl.h
libtk-img: usr/include/pngtcl.h
libtk-img: usr/include/tifftcl.h
libtk-img: usr/include/tifftcl.h
libtk-img: usr/include/zlibtcl.h
libtk-img: usr/include/zlibtcl.h
pgadmin3-data: usr/share/pgadmin3/docs/en_US/pg/pgtcl.html
pgadmin3-data: usr/share/pgadmin3/docs/en_US/pg/pltcl.html
phpdoc: usr/share/doc/phpdoc/html/function.dbplus-tcl.html
phpdoc: usr/share/doc/phpdoc/html/function.dbplus-tcl.html
plplot-doc: usr/share/doc/libplplot9/html/custom-extensions-tcl.html
plplot-doc: usr/share/doc/libplplot9/html/custom-extensions-tcl.html
plplot-doc: usr/share/doc/libplplot9/html/extensions-tcl.html
plplot-doc: usr/share/doc/libplplot9/html/extensions-tcl.html
plplot-doc: usr/share/doc/libplplot9/html/introduction-itcl.html
plplot-doc: usr/share/doc/libplplot9/html/introduction-itcl.html
plplot-doc: usr/share/doc/libplplot9/html/tcl.html
plplot-doc: usr/share/doc/libplplot9/html/tcl.html
plplot-tcl-dev: usr/include/plplot/pltcl.h
plplot-tcl-dev: usr/include/plplot/pltcl.h
postgresql-doc: usr/share/doc/postgresql-doc/html/pgtcl.html
postgresql-doc: usr/share/doc/postgresql-doc/html/pgtcl.html
postgresql-doc: usr/share/doc/postgresql-doc/html/pltcl.html
postgresql-doc: usr/share/doc/postgresql-doc/html/pltcl.html
sourcenav: usr/lib/sourcenav/include/itcl.h
sourcenav: usr/lib/sourcenav/include/itcl.h
sourcenav: usr/lib/sourcenav/include/tcl.h
sourcenav: usr/lib/sourcenav/include/tcl.h
tads3-doc: usr/share/doc/tads3-doc/html/t3intcl.htm
tads3-doc: usr/share/doc/tads3-doc/html/t3intcl.htm
tcl8.0-dev: usr/include/tcl.h
tcl8.0-dev: usr/include/tcl.h
tcl8.0-dev: usr/include/tcl8.0/generic/tcl.h
tcl8.0-dev: usr/include/tcl8.0/generic/tcl.h
tcl8.3-dev: usr/include/tcl8.3/tcl-private/generic/tcl.h
tcl8.3-dev: usr/include/tcl8.3/tcl-private/generic/tcl.h
tcl8.3-dev: usr/include/tcl8.3/tcl.h
tcl8.3-dev: usr/include/tcl8.3/tcl.h
tcl8.4-dev: usr/include/tcl8.4/tcl-private/generic/tcl.h
tcl8.4-dev: usr/include/tcl8.4/tcl-private/generic/tcl.h
tcl8.4-dev: usr/include/tcl8.4/tcl.h
tcl8.4-dev: usr/include/tcl8.4/tcl.h
tkcon: usr/share/doc/tkcon/docs/nontcl.html
tkcon: usr/share/doc/tkcon/docs/nontcl.html
vim-doc: usr/share/doc/vim/html/if_tcl.html
vim-doc: usr/share/doc/vim/html/if_tcl.html
 
Old 09-25-2004, 01:34 AM   #3
divoibs
LQ Newbie
 
Registered: Jul 2004
Location: Malaysia
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the advice. I actually got the tcl package installed. Mine is tcl-8.3.3-74. I manage to deal with my previous problem by specifying my tcl.h path. However, now I'm facing the problem of Tcl_Init. Here's what I got:


[root@localhost rat]# ./configure --with-tcl=/usr/include

checking for /usr/include/tcl.h... yes
checking for library containing Tcl_Init... no
Could not find Tcl library. One of the following halted progess:
(a) Tcl is not installed.
(b) Library is not built or not in expected location (--with-tcl=DIR).
(c) this script failed to see it (please inform rat-trap@cs.ucl.ac.uk).


Where can I get Tcl_Init? I searched it but it's not found in my system. If I can get it from the installation CD, will someone be kind enough to tell me a more precise path(file)? There're so many of them. Again, thanks.


regards,
divo
 
Old 09-25-2004, 09:37 AM   #4
divoibs
LQ Newbie
 
Registered: Jul 2004
Location: Malaysia
Posts: 8

Original Poster
Rep: Reputation: 0
Just got to know that tcl_init is a helper to locate init.tcl. I got init.tcl in my system under path /usr/lib/tcl8.3. However, I have no idea what kind of switch command shall I use so I can run the ./configure successfully. Anyway, I enclosed the ./configure --help content. Hopefully you guys out there can give me a hand. Thanks!

[root@localhost rat]# ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print `checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
--with-sun-audio=DIR specify Sun audio support home
--with-osprey=DIR specify Osprey (Sunvideo Plus PCI) support home
--with-x use the X Window System
--with-tcltk-version=M.m specify preferred Tcl/Tk version
--with-tcl=DIR specify location of Tcl installation
--with-tk=DIR specify location of Tk installation
--enable-ipv6 enable ipv6
--enable-kame-ipv6 enable kame implementation of ipv6
--with-common=DIR specify location of UCL's common library
--enable-optimize enable optimization
--enable-profile enable profiling
--enable-bounds enable bounds checking
--enable-debug enable debug messages and code
--enable-debug-mem enable memory debugging code


regards,
divo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tcl/Tk 8.4.7 dakota rob Solaris / OpenSolaris 3 10-27-2004 02:51 PM
Tcl/tk wasabi Fedora 0 06-03-2004 09:42 AM
TCL/TK vs. Qt liguorir Linux - Software 1 02-12-2004 04:54 AM
Tcl help anyone? CanadianPenguin Programming 4 12-30-2003 05:42 PM
Tcl/tk ccarrieta28 Linux - Software 0 09-10-2003 02:49 PM


All times are GMT -5. The time now is 07:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration