[CentOS] Cannot find Tcl library(Sort of OT)

Johnny Hughes johnny at centos.org
Sat Jan 12 01:00:36 UTC 2013


On 01/11/2013 06:30 PM, Mark LaPierre wrote:
> Hey All,
>
> I'm trying to build Tux Racer.  I get:
>
> checking for tcl8.5 library... no
> checking for tcl83 library... no
> checking for tcl8.2 library... no
> checking for tcl82 library... no
> checking for tcl8.0 library... no
> checking for tcl80 library... no
> checking for tcl library... no
> configure: error: Cannot find Tcl library
>
> The install manual says I may have to pass some options to configure:
>
> Many people will be able to run configure without passing any options. 
> The more commonly-used configure options are:
>
>      --with-tcl-libs=DIR: Specify Tcl library location
>      --with-tcl-inc=DIR: Specify Tcl header file location
>      --with-tcl-lib-name=NAME: Specify Tcl library base name
>
> I have:
>
> [mlapier at mushroom ~]$ rpm -qa | grep -i tcl
> tclx-devel-8.4.0-15.el6.i686
> tclx-8.4.0-15.el6.i686
> tcl-brlapi-0.5.4-6.el6.i686
> tcl-8.5.7-6.el6.i686
> tcl-devel-8.5.7-6.el6.i686
> tcl-pgtcl-1.6.2-3.el6.i686
> [mlapier at mushroom ~]$
>
> The problem I seem to have is that I don't know what to use to replace 
> DIR: or NAME: to make it happy.  Anyone know how to find the Tcl library 
> location, Tcl header file location, and Tcl library base name?
>
> CentOS release 6.3 (Final)
> Linux mushroom.patch 2.6.32-279.19.1.el6.i686 #1 SMP Wed Dec 19 04:30:58 
> UTC 2012 i686 i686 i386 GNU/Linux
>

Use the command:

rpm -ql tcl-devel

That should tell you where the header (.h files) and/or development
libraries (.so files) are stored.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20130111/5e501be2/attachment.sig>


More information about the CentOS mailing list