install xorg-server
sktsee
sktseer at gmail.com
Fri May 11 15:58:53 UTC 2012
On Fri, 11 May 2012 14:50:57 +0200, oxy wrote:
>> libgl1-mesa-dev
>
> That was it. The next is
>
> "No package 'xf86driproto' found"
>
> I downloaded n started installing xf86driproto-2.1.1, but face
>
> "configure.ac:15: error: must install xorg-macros 1.3 or later before
> running autoconf/autogen"
>
> Where is it for ubuntu?
>
> thx
Here's what I do when I want to compile a program from source and I'm not
sure what dependencies are required.
The following list isn't in any particular order:
1. Do a package search with apt-cache.
$ apt-cache search xf86driproto
x11proto-xf86dri-dev - X11 DRI extension wire protocol
2. Use apt-file to search for a particular config file
(you have to install the apt-file package and then run the update to
install its file indexes first)
$ apt-file search -l gl.pc
compiz-dev
libegl1-mesa-dev
libftgl-dev
libgegl-0.0-dev
libgl1-mesa-dev
libmrpt-dev
libtaoframework-ftgl-cil-dev
libtaoframework-opengl-cil-dev
libva-dev
Since this returned multiple results, I used "apt-cache show
<packagename>" to narrow the choices down.
3. Use apt-get to install all development packages needed to build the
version shipped with the distribution. Unless the source code has
radically changed between versions requiring new dependencies, or newer
versions of the same dependencies , more than likely you'll be able to
use those same development packages to build new version you want to
install.
a. enable sources repositories in Synaptic
b. reload packages indexes (either in Synaptic with 'Reload', or with
"sudo apt-get update"
c. Run "sudo apt-get build-dep <packagename>. In this case,
$ sudo apt-get build-dep xorg-server
4. Though I've not used it, you might want to try auto-apt which is
supposed to be an on-demand package installation utility. So when the
configure script tries to access a file not found on your system, but is
found in a not yet installed package, auto-apt will go fetch and
automatically install the needed package. Like I said, though, I've not
used it personally, so I can't tell you how well it works.
--
sktsee
More information about the ubuntu-users
mailing list