You are not logged in.
Pages: 1
Hi,
I was trying to compile Openbox 3.5 in cooking version when i got this error -
/usr/include/X11/Xlib.h:44:19: fatal error: X11/X.h: No such file or directory
compilation terminated.
I tried all possible combinations but somehow couldn't find the corresponding library. Earlier it was throwing "missing Xlib.h", after some google searches i created /usr/X11R6/lib/X11/ and had a symlink to Xlib.h in the new directory from /usr/include/X11/Xlib.h.
Still i think lot of library files for X are missing.
Can someone please advise.
Thanks.
Offline
The .h header files are in the -dev.tazpkgs
Remove the symlink/modification.
Use tazpkg to search the repo for the tazpkg which owns the file the compiler can't find.
#tazpkg search-pkgname /X11/Xlib.h
Search result for file : X11/Xlib.h
================================================================================
xorg-libX11-dev
================================================================================
1 pkg(s) found with file : X11/Xlib.h
#tazpkg -gi xorg-libX11-dev
Offline
Thanks that was quite helpful, have updated in my list of command alias :-)
However i stumbled upon another error -
obrender/render.h:25:28: fatal error: pango/pangoxft.h: No such file or directory
compilation terminated.
Using the same approach i found the file in pango-dev and installed it but still keeps throwing the same error. Any idea what the issue could be?
Thanks again.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]