PDA

View Full Version : [ubuntu] Can not find package with required util



dkrig
December 29th, 2009, 10:58 PM
I was going to install xf86-input-magicmouse (http://github.com/cosmonaut/xf86-input-magicmouse) to help in module development as I'm Magic Mouse owner and Linux user.

When I tried to configure it I got the following log:


$ ./autogen.sh
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal
configure.ac:36: error: must install xorg-macros 1.3 or later before running autoconf/autogen
configure.ac:36: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf2.50: aclocal failed with exit status: 1

I discussed this problem with module author and he suggested me to install xutils-dev package. I did this but I still get this error message.

Module author uses Arch Linux and the xorg-utils-macros package owns /usr/lib/pkgconfig/xorg-macros.pc for him.

I'm on Ubuntu 9.10 and can't find package that owns xorg-macros.pc or at least sources that I can build under Ubunut.

Please help me to find the package.

davec64
December 29th, 2009, 11:14 PM
I dont know what your talking about but thought I'd have a search and see what I could find!

The following package:

xutils-dev

Contains:


contains xorg-macros.m4, a set of macros used in configure scripts of X.Org packages

I found the details here:
http://packages.ubuntu.com/karmic/xutils-dev

Ignore my post if it's of no use!

Best of luck!

cristianku
January 5th, 2010, 12:27 AM
hi same problem here, i tried the installation as proposed using synaptics but no results

still getting the error about the xorg-macros 1.3 to be installed

SimonPe
January 31st, 2010, 12:31 PM
hey

i found the same problem and also the solution:
download and install the xutils-dev package from lucid

http://packages.ubuntu.com/lucid/xutils-dev

this one contains a newer version of the xorg-macros

monstara
February 25th, 2010, 12:00 AM
Thanks SimonPe, your solution worked!

quxtilf
March 25th, 2010, 04:29 AM
You'll be also no 'xorg-macros.pc' file after installing xutils-dev package by typing:
$ sudo apt-get install xutils-dev
because it gets a different version excluding the file xorg-macros.pc.

The correct method is as below,
(e.g.)
$ wget http://mirrors.kernel.org/ubuntu/pool/main/x/xutils-dev/xutils-dev_7.5+2_i386.deb
$ sudo dpkg -r xutils-dev
$ sudo dpkg -i xutils-dev_7.5+2_i386.deb
Then you can find the file in /usr/share/pkgconfig directory.

OS: Ubuntu Linux 9.10