[SOLVED] Package xorg-macros was not found in the pkg-config

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Package xorg-macros was not found in the pkg-config

Postby onikage » Nov 24th, '12, 22:16

Hey,
Me again :D

I'm trying to install the latest wine 1.5.18, and as I am trying to build up all the dependencies manually I'm stuck with a "dri2proto-2.8".

When I run sudo ./configure it comes back with the following error:
Code: Select all
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found


I tried:
http://ubuntuforums.org/showthread.php?t=1806870
http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2011-February/021013.html
http://comments.gmane.org/gmane.comp.embedded.ptxdist.devel/8064
http://forums.gentoo.org/viewtopic-t-926430-start-0.html

...without success.

I went to:
http://packages.debian.org/sid/xutils-dev
... which contains the missing xorg-macros package.

Tried to install:
Code: Select all
[onikage@localhost xutils-dev]$ cd util-macros
[onikage@localhost util-macros]$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating xorg-macros.pc
config.status: creating Makefile
config.status: creating xorg-macros.m4
[onikage@localhost util-macros]$ sudo make
make: Nothing to be done for `all'.
[onikage@localhost util-macros]$ sudo make install
make[1]: Entering directory `/home/onikage/Downloads/xutils-dev/util-macros'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/aclocal" || /bin/mkdir -p "/usr/local/share/aclocal"
 /usr/bin/install -c -m 644 xorg-macros.m4 '/usr/local/share/aclocal'
test -z "/usr/local/share/util-macros" || /bin/mkdir -p "/usr/local/share/util-macros"
 /usr/bin/install -c -m 644 INSTALL '/usr/local/share/util-macros'
test -z "/usr/local/share/pkgconfig" || /bin/mkdir -p "/usr/local/share/pkgconfig"
 /usr/bin/install -c -m 644 xorg-macros.pc '/usr/local/share/pkgconfig'
make  install-data-hook
make[2]: Entering directory `/home/onikage/Downloads/xutils-dev/util-macros'
rm -f /usr/local/share/aclocal/xorgversion.m4
make[2]: Leaving directory `/home/onikage/Downloads/xutils-dev/util-macros'
make[1]: Leaving directory `/home/onikage/Downloads/xutils-dev/util-macros'

I have no idea whether this counts for a successful installation or not, however when I attempted to ./configure dri2proto again, I got the same error.

Any ideas ? Thanks.
Last edited by onikage on Nov 24th, '12, 23:16, edited 1 time in total.
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Package xorg-macros was not found in the pkg-config...

Postby isadora » Nov 24th, '12, 22:20

Xorg-macros should be found in the x11-util-macros-package.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2763
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Package xorg-macros was not found in the pkg-config...

Postby onikage » Nov 24th, '12, 22:53

Oh thanks. ./configure worked now.
However when I run "sudo make" it returns:
Code: Select all
make: Nothing to be done for `all'.


Any ideas ?
onikage
 
Posts: 75
Joined: Nov 15th, '12, 18:07

Re: Package xorg-macros was not found in the pkg-config...

Postby isadora » Nov 24th, '12, 22:58

Please onikage, mark this topic [SOLVED], and open a new one for your new question.

Thank you!!! ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2763
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest