Error Tk.h Not Found
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow
Tcl.h Not Found Ubuntu
the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu fatal error: tk.h: no such file or directory Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join install tk them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error: tcl.h not found (no such file or directory) up vote 2 down vote favorite I'm trying to install something using the 'make' command, however it gives me the fatal error:tcl.h no such file or directory. I'm new to linux, can anyone help me? files make tcl share|improve this question asked Oct 27 '13 at 20:18 Goncalo 1112 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote This means you're missing the tcl development files. The easiest way to check is to go to: http://packages.ubuntu.com/ and put "tcl.h" in the "search contents of packages" field. If you do this you'll find that tcl.h can be found in a number of packages you'll want to install one of those: sudo apt-get install tcl8.6-dev share|improve this answer answered Oct 27 '13 at 20:29 labarna 1,177720 when i use sudo apt-get install tcl8.6-dev, it says: E:Unable to locate package tcl8.6-dev E:Couldn't find any package by regex 'tcl8.6-dev' –Goncalo Oct 27 '13 at 20:41 also, it says i have the newest version of tcl8.5-dev –Goncalo Oct 27 '13 at 20:42 add a comment| Did you find this question interesting? Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example). Subscribed! Success! Please click the link in the confirmation email to activate your subscription. up vote 2 down vote Once you have a Tcl dev package installed, you'll then possibly come across the code expecting tcl.h to be in /usr/include/, but in order to facilitate multiple versions of Tcl being installed, Ubuntu places tcl.h in /usr/include/tcl/ - note the extra directory level. Replacing: #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up http://askubuntu.com/questions/366909/error-tcl-h-not-found-no-such-file-or-directory Missing tk.h and tcl.h files when building VRip up vote 1 down vote favorite 2 I am trying to compile VRip in Ubuntu 10.04, using the site http://graphics.stanford.edu/software/vrip/guide/ as a guide. It relies on installation of Tcl and Tk -- I have acquired the latest versions of these from the synaptic package manager. When I write "make depend", I get the error: In http://stackoverflow.com/questions/9649417/missing-tk-h-and-tcl-h-files-when-building-vrip file included from vripInit.cc:30: vripInit.h:22:17: error: tcl.h: No such file or directory vripMain.cc:22:16: error: tk.h: No such file or directory In file included from vripMain.cc:28: vripInit.h:22:17: error: tcl.h: No such file or directory In file included from vripMiscCmds.cc:29: vripMiscCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripFillCmds.cc:29: vripFillCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripFileCmds.cc:29: vripFileCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripGridCmds.cc:29: vripGridCmds.h:22:17: error: tcl.h: No such file or directory In file included from vripRangeCmds.cc:36: vripRangeCmds.h:21:17: error: tcl.h: No such file or directory In file included from vripGUICmds.cc:37: vripGUICmds.h:22:17: error: tcl.h: No such file or directory vripGUICmds.cc:43:16: error: tk.h: No such file or directory In file included from vripPlyCmds.cc:32: vripPlyCmds.h:22:17: error: tcl.h: No such file or directory rm makedep.bak It seems to be looking for header files and not finding them. But I'm not sure where to tell it to look. Could anyone with more experience help out? I've spent a good couple of hours trying to figure this out without any success... :S Thanks, LPlates build compiler-errors tcl tk share|improve this quest
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User https://ubuntuforums.org/showthread.php?t=1924114 Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official https://github.com/JuliaGraphics/Tk.jl/issues/12 Flavours Support General Help [SOLVED] Trying to Make Y86 Simulator for School Work - tk.h Not Found Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is not found the place to report it, thanks ! Results 1 to 6 of 6 Thread: Trying to Make Y86 Simulator for School Work - tk.h Not Found Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode February 12th, 2012 #1 Dan Again View Profile View Forum Posts Private Message Frothy Coffee! Join Date Feb 2009 Location Austin, Texas Beans 225 DistroUbuntu Trying error tk.h not to Make Y86 Simulator for School Work - tk.h Not Found I am trying to make a Y86 simulator using the following makefile... Code: # Comment this out if you don't have Tcl/Tk on your system GUIMODE=-DHAS_GUI # Modify the following line so that gcc can find the libtcl.so and # libtk.so libraries on your system. You may need to use the -L option # to tell gcc which directory to look in. Comment this out if you # don't have Tcl/Tk. TKLIBS=-L/usr/lib -ltk8.5 -ltcl8.5 # Modify the following line so that gcc can find the tcl.h and tk.h # header files on your system. Comment this out if you don't have # Tcl/Tk. TKINC=-isystem /usr/include/tcl8.5 ################################################## # You shouldn't need to modify anything below here ################################################## # Use this rule (make all) to build the Y86 tools. The variables you've # assigned to GUIMODE, TKLIBS, and TKINC will override the values that # are currently assigned in seq/Makefile and pipe/Makefile. all: (cd misc; make all) (cd pipe; make all GUIMODE=$(GUIMODE) TKLIBS="$(TKLIBS)" TKINC="$(TKINC)") (cd seq; make all GUIMODE=$(GUIMODE) TKLIBS="$(TKLIBS)" TKINC="$(TKINC)") (cd y86-code; make all) clean: rm -f *~ core (cd misc; make clean) (cd pipe; make clean) (cd seq; make clean) (cd y86-code; make clean) (cd ptest; make clean) But I keep getting the following error..
Sign in Pricing Blog Support Search GitHub This repository Watch 31 Star 16 Fork 32 JuliaGraphics/Tk.jl Code Issues 18 Pull requests 2 Projects 0 Pulse Graphs New issue Tk.jl package cannot find installed tcl/tk header files (Ubuntu 12.04) #12 Closed kmsquire opened this Issue Feb 15, 2013 · 0 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants kmsquire commented Feb 15, 2013 I have the tcl8.5-dev and tk8.5-dev (Ubuntu) packages installed, but Tk.jl can't find the include files. On Ubuntu 12.04, they're located in /usr/include/tcl8.5. Installing from source works fine. julia> Pkg.add("Winston") MESSAGE: Installing IniFile v0.0.0 MESSAGE: Installing Tk v0.0.0 MESSAGE: Running build script for package Tk MESSAGE: There are multiple options available for installing this dependency: - skip: Skip Installation - Binaries must be installed manually - source: Install depdendency from source Plese select desired method: skip MESSAGE: Attempting to Create directory /home/kmsquire/.julia/Tk/deps/usr/lib /home/kmsquire/.julia/Tk/deps/usr/lib src/tk_wrapper.c:3:17: fatal error: tcl.h: No such file or directory compilation terminated. ERROR: failed process: Process(`gcc -shared -g -fPIC -I/home/kmsquire/.julia/Tk/deps/usr/include -I/usr/local/include -L/home/kmsquire/.julia/Tk/deps/usr/lib -I/usr/include/tcl src/tk_wrapper.c -ltcl8.5 -ltk8.5 -o /home/kmsquire/.julia/Tk/deps/usr/lib/libtk_wrapper.so`, ProcessExited(1)) [1] in pipeline_error at process.jl:388 in run at process.jl:378 in run at /home/kmsquire/.julia/BinDeps/src/BinDeps.jl:376 in run at /home/kmsquire/.julia/BinDeps/src/BinDeps.jl:350 in run at /home/kmsquire/.julia/BinDeps/src/BinDeps.jl:376 in include_from_node1 at loading.jl:76 in anonymous at no file:206 in cd at file.jl:26 in runbuildscript at pkg.jl:203 in _resolve at pkg.jl:279 in anonymous at no file:131 in cd at file.jl:26 in cd_pkgdir at pkg.jl:34 in add at pkg.jl:112 in add at pkg.jl:138 at /home/kmsquire/.julia/Tk/deps/build.jl:73 nolta added a commit that closed this issue Feb 15, 2013 nolta