Error Tcl/tk Not Found
Site Organization Older Pages Workshop 2008 material OMNeT++ 3.x INET Framework for 3.x Mobility Framework MACSimulator Positif OppBSD Sandbox People List of all pages View Edit History Print Main / TclTkRelatedProblems configure doesn't tk.h not found find Tcl/Tk First, make sure you have the Tcl/Tk libraries and programs (if fatal error: tk.h: no such file or directory you can run tclsh and wish, it should be OK) and the header files (tcl.h, etc -- usually in /usr/include/). The header files come in the Tcl/Tk devel packages. By default, the configure script expects to find the Tcl/Tk libraries in the standard linker path (without any -Ldirectory linker option) and under the standard names (i.e. with the -ltcl8.4 or -ltcl84 linker option). If you have them in different places or under different names, you have to edit configure.user and explicitly set TK_LIBS there, e.g. TK_LIBS="-L/opt/other/lib -ltk8.4 -ltcl8.4". If configure still fails, look into the config.log file that it creates, and search for "tcl". You should find the compilation or linker errors there, and they should give you some hint what's wrong. If unsure, post it to the mailing list. configure doesn't find wish Wish is the "Windowing Shell", part of Tcl/Tk. The configure script looks for wish only in the PATH, under the following names (decreasing preference): wish, wish85, wish8.5, wish84, wish8.4, cygwish, cygwish85, cygwish84. So, you must have wish in the PATH for configure to find it. It must also be working: you should be able to start it from the command line by typing wish (or one of the names listed above). If you get the error "no display and DISPLAY environment variable not set", then you're either not running X (wish , and thus ./configure won't work just in the console) or you really need to set the DISPLAY variable (export DISPLAY=:0.0 usually does it). configure doesn't find BLT Please review the section titled "*** BLT Tcl/Tk extension NOT FOUND -- please install it" first (below). If it was no help and configure still fails, look into the config.log file that it creates and search for "BLT". The compilation or linker errors in there should give you a clue what's wrong. If they don't, write to the mailing list. Cannot load libtcl8.4.s
2009, 10:12 PMHi, I would like to install a program (Scid), but get this error response: configure: Makefile configuration program for Scid Renaming "Makefile" to "Makefile.bak" Tcl/Tk version: 8.5 Your operating system is: Linux 2.6.28-11-generic Location of "tcl.h": not found Location of "tk.h": not found Location of Tcl 8.5 library: /usr/lib Location of Tk 8.5 library: /usr/lib Location of X11 library: /usr/lib Checking if your system already has zlib installed: no. Not all settings could be determined! The default Makefile was written. You will need to edit it before https://omnetpp.org/pmwiki/index.php?n=Main.TclTkRelatedProblems you can compile Scid. ---- So far the error message. Now my question: where do I find tcl.h and tk.h, and what do I have to do? mc4manMay 31st, 2009, 10:38 PMInstall tcl8.5-dev : tk8.5-dev Checking if your system already has zlib installed: no maybe wouldn't hurt to install zlib1g-dev either search in synaptic for all (noting that there are several tcl and https://ubuntuforums.org/archive/index.php/t-1175019.html tk versions available Also note that scid is avilable in the ubuntu repo, if that version isn't what you want then this should help sudo apt-get build-dep scid or if you wish the build-deps not to be marked for autoremove (intrepid and probably jaunty sudo apt-get build-dep scid -o APT::Get::Build-Dep-Automatic=false klirkaMay 31st, 2009, 11:00 PMHello mc4man, gorgeous, thank you so much! Indeed, after installing those 3 dev files (tcl, tk, zlib), all went fast, and Scid is now up and running. I am new to this forum, it was my first question. Now do I give you credit, and how? Or do I just close this thread, mark it as successfully solved, and how would I do that? Thank you klirka mc4manMay 31st, 2009, 11:17 PMdo I just close this thread, mark it as successfully solved, and how would I do that? There used to be a way to directly marked a thread as solved, was removed because of database issues. good enough that you responded to note the issue is resolved, (and hopefully stays that way. There's probably a way to edit your thread title a
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
från GoogleLogga inDolda fältSök efter grupper eller meddelanden