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@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@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
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@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@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.
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@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@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@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@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?
On 01/14/2013 10:15 AM, lhecking@users.sourceforge.net wrote:
Okay so that means I should use:
--with-tcl-libs=/usr/lib --with-tcl-inc=/usr/include --with-tcl-lib-name=tcl.h
no?
Those are default locations/names and should be found anyway. Check the generated config.log file to find out why exactly they are not.
I ran this:
./configure --with-tcl-libs=/usr/lib --with-tcl-inc=/usr/include --with-tcl-lib-name=tcl.h
I got this:
checking for tcl.h library... no configure: error: Cannot find Tcl library
Here's what I found at the end of in config.log:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ configure:2805: checking for tcl.h library configure:2815: gcc -o conftest conftest.c -lSM -lICE -lX11 -lXi -lXext -lXmu -lXt -ldl -lm -L/usr/lib -ltcl.h 1>&5 /usr/bin/ld: cannot find -lXmu collect2: ld returned 1 exit status configure: failed program was: #line 2808 "configure" #include "confdefs.h"
int main() { char Tcl_NewStringObj(); Tcl_NewStringObj(); ; return 0; } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So, what do I do now?
I ran this:
./configure --with-tcl-libs=/usr/lib --with-tcl-inc=/usr/include --with-tcl-lib-name=tcl.h
None of these options are probably required. Test it.
configure:2805: checking for tcl.h library configure:2815: gcc -o conftest conftest.c -lSM -lICE -lX11 -lXi -lXext -lXmu -lXt -ldl -lm -L/usr/lib -ltcl.h 1>&5 /usr/bin/ld: cannot find -lXmu
You need to install libXmu and libXmu-devel.
Mark LaPierre wrote:
I ran this:
./configure --with-tcl-libs=/usr/lib --with-tcl-inc=/usr/include --with-tcl-lib-name=tcl.h
this sounds wrong: tcl.h is a header file, not a library. The library is something like libfoo.so , and the lib-name would then be foo (drop the lib and .so parts).
On 01/11/2013 07: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@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@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
I installed libXmu-devel and then ran ./configure and got no issue with missing Tcl. I didn't need any of those arguments to configure.
Thank you all for the help. I've got one more issue but I'll start a new string for that one.