Missing Xlib.h
Tim Frost
timfrost at xtra.co.nz
Wed Nov 8 06:55:42 UTC 2006
On Tue, 2006-11-07 at 16:59 +0100, Igor Trevisan wrote:
> Hi all,
>
> I installed Ubuntu 6.06 in a VMware Virtual Machine on my PC.
> In this installation I'm trying to install from sources "Qt" to learn
> to
> develop application with those graphic libraries.
> The build process of the Qt sources stopped after some time
> due to the lack of Xlib.h (and after that other header files...) in my
> system.
> Effectively I noted that /usr/include/X11 doesn't contain too much...
> (it's almost empty).
To keep the distribution size small enough to fit on a CD, Ubuntu does
not include development files in the main packages. Each package (or
group of packages) has a -dev or -devel version. You need to install
these packages before you can do development.
Xlib.h is in package libx11-dev
For a program that has been packaged for ubuntu/kubuntu/..., you can get
the packages required for the build with
apt-get build-dep <package>
> How can I add the missing X11 header files?
> I don't have an internet connection at home at the moment so I can
> only look
> for the missing packets and sources when I can connect to the web
> somewhere and then try to install them "offline".
> So my final question is: what do I have to look for to install
> the header I need to complete the "Qt" installation?
> Thanks in advance and, please, forgive me if I was unclear
> (also due to my english!).
If you know the list of packages that you need, you can mark them in
synaptic, then ask it to generate a download script to run on an
internet-connected machine
> --
> "Much less doesn't mean zero"
> -- E.Benetti --
Tim
More information about the ubuntu-users
mailing list