SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-17 00:47:39

murali
Member
Registered: 2011-12-27
Posts: 5

Openbox compilation error

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

#2 2012-01-17 03:42:13

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Openbox compilation error

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

#3 2012-01-17 03:52:19

murali
Member
Registered: 2011-12-27
Posts: 5

Re: Openbox compilation error

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]