On Fri, 11 May 2012 14:50:57 +0200, oxy wrote:
> 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?
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
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
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.
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users