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

Sat Jan 12 01:19:23 UTC 2013
Mark LaPierre <marklapier at aol.com>

On 01/11/2013 08:00 PM, Johnny Hughes wrote:
> 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.
>
>

[mlapier at mushroom ~]$ rpm -ql tcl-devel
/usr/include/tcl-private
/usr/include/tcl-private/generic
/usr/include/tcl-private/generic/regcustom.h
<<SNIP>>
/usr/include/tcl-private/unix
/usr/include/tcl-private/unix/tclDTrace.h
<<SNIP>>
/usr/include/tcl.h
<<SNIP>>
/usr/lib/libtcl.so
/usr/lib/libtclstub8.5.a
/usr/lib/tcl8.5/tclConfig.sh
/usr/lib/tclConfig.sh
[mlapier at mushroom ~]$

Okay so that means I should use:

--with-tcl-libs=/usr/lib
--with-tcl-inc=/usr/include
--with-tcl-lib-name=tcl.h

no?

-- 
     _
    °v°
   /(_)\
    ^ ^  Mark LaPierre
Registerd Linux user No #267004
https://linuxcounter.net/
****