Page 1 of 1

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

PostPosted: Nov 24th, '12, 22:16
by onikage
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.

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

PostPosted: Nov 24th, '12, 22:20
by isadora
Xorg-macros should be found in the x11-util-macros-package.

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

PostPosted: Nov 24th, '12, 22:53
by onikage
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 ?

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

PostPosted: Nov 24th, '12, 22:58
by isadora
Please onikage, mark this topic [SOLVED], and open a new one for your new question.

Thank you!!! ;)