Home > Not Found > Cannot Find Tcl/tk Headers And Library Files

Cannot Find Tcl/tk Headers And Library Files

Contents

You can get the source from Sourceforge, or I think you can get it from Activestate. msg78129 - (view) Author: Benjamin Peterson (benjamin.peterson) * Date: 2008-12-20 22:06 Ok. If you are affected by both of these bugs, Tkinter will not work whether or not you install Tcl 8.5 in /Library/Frameworks. msg77016 - (view) Author: Muhammad Alkarouri (malkarouri) Date: 2008-12-05 13:50 Now that Python 2.6.1 is out, can we expect a new OS X installer built correctly?

Also, the convoluted way magic starts up under the interpreter means that some reported errors may not actually point to the correct origin of the error. Note that the Tcl-based version of magic does not use "readline", so this option has no effect unless compiling with either the SCHEME interpreter or no interpreter. --disable-threads Disable the use Some systems may run into trouble with the TCL interpreter, OpenGL, or X11 if they are installed in unusual places. It seems odd that the older version of OCCT would need the newer TCL, while the newer OCCT uses the older TCL.

Tcl.h Not Found

For example,3RDPARTY_VTK_DIR=/home/chen/VTK6_1_0/Install;3RDPARTY_VTK_INCLUDE_DIR=/home/chen/VTK6_1_0/Install/include/vtk-6.1;3RDPART_VTK_LIBRARY_DIR=/home/chen/VTK6_1_0/Install/lib. Thanks for reporting this in the forums; we wouldn't have thought about it otherwise. -srid Login to post comments Tcl/Tk headers are included sridharr ActiveState Staff Thu, 2010-03-25 10:13 Note that I have verified that the Google tip link in the previous to fix IDLE works for me. This reverts back to the use of a forked "helper" program to capture graphics calls.

The developers go to great lengths to make sure that the source code will compile on various systems without trouble. Also since version 7.4, the final output of "configure" reports the status of key requirements, and suggests what might need to be done to correct problems with key requirements not being Either of the following options should solve the issue: ignore the warning and use OMNeT without BLT. Tcl For Windows Replace #if (SIZEOF_VOID_P == 8) #define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) #define BITSPERWORD 64 #else #define START_LOGSIZE 5 #define MAX_LIST_VALUES 20 by #define START_LOGSIZE 5 #define MAX_LIST_VALUES 20 #if (SIZEOF_VOID_P == 8)

The installation instructions say the VTK is not a mandatory package, but after running Cmake, make halts and says it can't find vtkType.h and other VTK header files. This is what the official build from Python.org should do--look first in /Library/Frameworks and then fall back on /System/Library/Frameworks. 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. Part of the purpose of the wrapper script is to allow much of the useless cruft that has to accompany the GNU autoconf files to be stuffed in an out-of-the-way subdirectory.

msg90249 - (view) Author: Ned Deily (ned.deily) * Date: 2009-07-08 02:31 @keflavich: To include 64-bit support for Tcl/Tk on OSX, you'll need to modify python's setup.py file. It seems one of the dynamic dependencies are missing. Proprietary Unix vendors all make these available, generally on CD-ROM, although they're inconsistent both in their location and whether they're installed by default. Post in question: ** [Kevin's post of 6.Oct, 02:58] You can avoid this problem by building Python yourself and putting /Library/Frameworks first on the search path for Tcl/Tk.

Tk.h Not Found

I also looked through the README troubleshooting section, and I did not change the default installation location for the framework as suggested in the README. I am trying to compile & install 64 bit python with Tk/Tcl support on Mac OS X 10.5.7. Tcl.h Not Found The Wiki page on "binary distributions" explains more about this.Install the standard X11 header files for the platform. Installing Tcl Symptom 2: This causes a problem _only_ when you have a separately installed version of Tcl (e.g. 8.5).

Compiled from source, Tcl/Tk 8.4 installed by default in /usr/local/bin/. http://txtbl.com/not-found/cannot-access-remote-files-with-the-filesystemobject.html TK_LIBS="-L/opt/other/lib -ltk8.4 -ltcl8.4". Community | Code | Docs | Downloads ▼ ActivePerl ActivePython ActiveTcl ActivePerl Pro Studio ActiveTcl Pro Studio Perl Dev Kit Tcl Dev Kit Komodo IDE | more ▼ Lists Bugs PPM However, in recompiling on Linux, I'm running into an issue with tcl.h - the compiler is telling me that error: tcl.h: No such file or directory for multiple files that #include Download Tcl

  1. You can get the source tarball, BLT2.4z.tar.gz from the Sourceforge BLT project page, http://sourceforge.net/projects/blt. (Windows users can download and install blt24z-for-tcl84.exe directly.) Unpack the source tgz, change into its directory, then
  2. Can a pulse jet be used on a light GA aircraft?
  3. Cannot load libtcl8.4.so If you get an error message like this when you try to run a simulation: ./tokenring: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No
  4. A Note about Tcl/Tk: Compilation under Tcl/Tk is probably both the most common option and the most problematic.
  5. If TCL_LIBRARY is not set, tclsh and wish may still work, but OMNeT++ programs probably won't.
  6. An example follows: wish set argc 4 set argv {-d OGL -T scmos} source /usr/local/lib/magic/tcl/magic.tcl executable method Magic has two versions that start as an executable stand-in for the "wish" and
  7. Magic 7.4 has a simplified file locking mechanism that does not create directories and files, but uses the fcntl advisory lock system.
  8. You still get all the information, so it is really just about some better looking widgets.
  9. BLT can be downloaded from SourceForge at the following location: BLT Toolkit Project on SourceForge. Installing Precompiled Packages At this time, packages are only available for prior releases of magic.
  10. Consider our: Support Offerings   Need to speed up your development?

You should also make sure that you are not installing 32-bit modules over 64-bit Python installation. -srid Login to post comments Hi Srid, Yes, I can huangck | Tue, 2010-01-26 17:08 Search down for "All existing framework builds of Tcl/Tk don't support 64-bit" around line 1500 in 2.6; there is explicit code there to prevent tkinter from attempting to link with x86_64 configure doesn't find wish Wish is the "Windowing Shell", part of Tcl/Tk. FYI - the next release of ActivePython (2.6.4.10) will include the Tcl/Tk headers.

for F in framework_dirs: # both Tcl.framework and Tk.framework should be present for fw in 'Tcl', 'Tk': if not exists(join(F, fw + '.framework')): break else: # ok, F is now directory In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms Then manually add new TK/Tcl paths to system path environment and see what happens.

For non-fatal errors (i.e., an exit with an error but not a segmentation violation or bus error), do the following: wish source /usr/local/lib/magic/tcl/magic.tcl Note that with this kind of manual startup,

This is pretty straightforward. Run configure again. msg74838 - (view) Author: Don Braffitt (donbraffitt) Date: 2008-10-16 16:59 ITEC-MBP-15087:~ dbraffitt$ cd /Library/Frameworks/Tcl.framework/ -bash: cd: /Library/Frameworks/Tcl.framework/: No such file or directory - Don msg74840 - (view) Author: Nat (njw23) Date: The gdb command "continue" resumes the program after attaching the debugger to the process.

ncurses $ sudo apt-get install libncurses-dev If you wish to have the Tcl/Tk wrapper around magic (recommended) you will need to install the Tcl/Tk libraries. Normally, these should be left alone. --enable-locking Allow file locking for multiple-user environments (used with magic versions other than 7.4). Continure # building tk_framework_found = 1 break if tk_framework_found: # For 8.4a2, we must add -I options that point inside the Tcl and Tk # frameworks. There is no reason to do this. --disable-cif Disable the CIF module.

I'm not sure why it doesn't. ** In setup.py, I simply put /Library/Frameworks/ first as outlined above, and then did a config-make-install of the Framework version of Python. Singer singer at chemistry.ohio-state.edu Sun May 11 03:58:55 CEST 2003 Previous message (by thread): setup.py syntax error building python-imaging Next message (by thread): setup.py syntax error building python-imaging Messages sorted by: Good grief. On Open Suse it's xorg-x11-devel-6.8.2-100.i586.rpm Once these are in place, generation should proceed as normal.Redirection of the Tk generation to the X11 headers included with the standard Tk distribution.

Login to post comments Your issue is different sridharr ActiveState Staff Mon, 2010-01-18 15:35 Your issue is different (this thread is about compiling matplotlib). These are in a separate section because all of them are Tcl/Tk-based, and the tools with graphical user interfaces require an X11-enabled version of Tcl/Tk, which must be installed first. Should this happen, magic can be recompiled with file locking disabled. --disable-client-render Disable client-side rendering, when OpenGL has been selected as an optional graphics package. I changed "/usr/bin/wish" to "/usr/bin/wish8.0" and changed "/usr/local/bin/wish8.4" to "/usr/local/bin/wish" (hmm, did I just say "preferred"?).

Does anyone know where it would be? I just opened a bug for this: http://firefly.activestate.com/shanec/activepython/ticket/28 Meanwhile, as a workaround, can you try using the header files from ActiveTcl 8.5.x? -srid Login to post comments matplotlib installation issue on Magic will run fine without it (it detects its absence and works around it), but if you don't have it, you'll miss the "cell manager" widget with the hierarchical cell view. msg78034 - (view) Author: Benjamin Peterson (benjamin.peterson) * Date: 2008-12-18 17:40 I've uploaded a .dmg for 2.6.1 to http://www.python.org/ftp/python/2.6.1/.

It could bail out # if X11 libs are not found... # tk_include_dirs.append('/usr/X11R6/include') INCLUDE_DIRS = INCLUDE_DIRS + tk_include_dirs frameworks = ['-framework', 'Tcl', '-framework', 'Tk'] EXTRA_COMPILE_ARGS = frameworks EXTRA_LINK_ARGS = frameworks if That's because by default, Tcl tries a series of directory names, but most of them are relative to the executable, like ../lib/tcl8.4 -- which has a good chance to work with If the program crashes too fast to attach gdb to the running process, then one of the methods below may be necessary. "noconsole" method Errors which disappear along with the console If you don't have the subdirs tcl8.4, tk8.4 and blt8.4 in the same directory, your installation is probably broken.

If they don't, write to the mailing list. msg76047 - (view) Author: TJ Usiyan (TJ) Date: 2008-11-19 13:43 same here msg76101 - (view) Author: David M. The autoconf script goes to great lengths to find them, but in case of failure, the location of files may be specified explicitly by passing an argument to autoconf. --with-tcl=DIR One