Error X11/xlib.h No Such File Or Directory Mac Os
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have x11/xlib.h' file not found ubuntu Meta Discuss the workings and policies of this site About Us x11/xlib.h' file not found xcode Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
X11/x.h' File Not Found
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
'x11/xlib.h' File Not Found El Capitan
like you, helping each other. Join them; it only takes a minute: Sign up Xlib.h not found when building graphviz on Mac OS X 10.8 (Mountain Lion) up vote 31 down vote favorite 8 When using homebrew to install graphviz, the script gets to the point of "Making install in tkstubs" and then throws the following xlib.h download fatal error: In file included from tkStubLib.c:15: /usr/include/tk.h:78:11: fatal error: 'X11/Xlib.h' file not found #include
not post a blank message. Please type your message and try again. This discussion is locked Christopher Davis1 Level 1 (85 points) Q: Error
#include X11/xlib.h Windows
X11/Xlib.h: No such file or directory I'm trying to compile hgraf.c:73:10: fatal error: 'x11/xlib.h' file not found some C-code using gcc, and I keep getting the following error: "X11/Xlib.h: No such file or directory". "ld: library not found for -lx11" I know that I need to "somehow" identify the Path information for these X11 lib's, etc, but I do not know HOW to do that. I tried http://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion adding path definitions to my .profile file - did not work. I have X11 installed, and supposedly I installed the SDK. Can anyone help me with this 2.33 GHz Core-2 MacBook Pro, Mac OS X (10.4.10), gcc compiler Posted on Sep 17, 2007 11:37 AM I have this question too Close Q: Error X11/Xlib.h: No https://discussions.apple.com/thread/1137062?start=0&tstart=0 such file or directory All replies Helpful answers by MrHoffman, MrHoffman Sep 17, 2007 9:21 PM in response to Christopher Davis1 Level 6 (15,637 points) Mac OS X Sep 17, 2007 9:21 PM in response to Christopher Davis1 If you're not sure if you have the SDKs, can you confirm you have the files under /Developer? Check for /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/X11I don't remember having to do anything special to get gcc to find these files.From what I've noted, the usual trigger seems to be that the X11SDK.pkg package wasn't installed.Typical PATH export is:export PATH="/bin:/sbin:/usr/bin:/usr/sbin"If you're working with Fink, there's a call to the following needed:. /sw/bin/init.shSee http://finkproject.org/doc/users-guide/install.phpBut I'd first make sure the X11 SDK was installed. I'd guess that is missing. Helpful (0) Reply options Link to this post by Dale Ranta, Dale Ranta Sep 18, 2007 6:39 AM in response to Christopher Davis1 Level 4 (1,660 points) Sep 18, 2007 6:39 AM in response to Christopher Davis1 The X-Windows files are in "/us
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 http://unix.stackexchange.com/questions/68552/x11-xlib-h-no-such-file-or-directory About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody not found can ask a question Anybody can answer The best answers are voted up and rise to the top X11/Xlib.h: No such file or directory up vote 1 down vote favorite I am trying to install tcl and tk on my linux server.I don't have the root password,So I am installing them in my home directory.I am using below method for installing it manually. cd ~/tcl8.5.11/unix ./configure --prefix=/home/cnel711 file not found --exec-prefix=/home/cnel711 make make install cd ~/tk8.5.11/unix ./configure --prefix=/home/cnel711 --exec-prefix=/home/cnel711 --with-tcl=/home/cnel711/tcl8.5.11/unix make make install I was able to install tcl without any problem ,but I am facing problem while installing tk. configure for tk worked fine ,I am facing problem while using make.I am getting this error. X11/Xlib.h: No such file or directory I found out this file was missing on the server.So,I downloaded libX11-devel from here.Again,I installed it in my home directory.Then I exported the path to the header files and when I use which command to find Xlib.h,it locates ths file. >which Xlib.h ~/include/X11/Xlib.h Now, when I try to install tk again configure works fine as usual but I get the same error again while using make X11/Xlib.h: No such file or directory. Please help me out,what possibly is going wrong here ? make share|improve this question asked Mar 20 '13 at 12:20 g4ur4v 59611426 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote accepted The compiler is looking in standard locations for the header file: it doesn't know that you've put it in your home directory. Try this, which sets a compiler option to point to the right place: cd ~/tcl8.5.11/unix