Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The problem comes when I install Mesa opengl, too many dependent software to install, which makes me crazy. When I install libpciaccess, i get 'must install xorg-macros 1.8 or later before running autoconf/autogen'.
Then I download macros-util-macros-1.8.0, then command ./configure, output:
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... no
checking for mawk... mawk
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
then command make all, output: Nothing to be done for all
then command sudo make install, output:
make[1]: Entering directory `/home/liujingyu/code/macros-util-macros-1.8.0'
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/liujingyu/code/macros-util-macros-1.8.0'
rm -f /usr/local/share/aclocal/xorgversion.m4
make[2]: Leaving directory `/home/liujingyu/code/macros-util-macros-1.8.0'
make[1]: Leaving directory `/home/liujingyu/code/macros-util-macros-1.8.0'
but i still got 'must install xorg-macros 1.8 or later before running autoconf/autogen', have i successfully installed it ??
Last edited by Liu Jingyu; 08-03-2014 at 07:35 AM.
you installed it under /usr/local, which is a default behaviour, but many distro don't search in this path for libraries (you didn't specified your distro)
Code:
pkg-config --variable=pkgdatadir xorg-macros
this is the command that libpciacces configure launches to detect xorg-macros; in this directory _MUST exists_ a file named INSTALL
usually, packaged binaries go in /usr/bin while self-compiled ones go in /usr/local/bin; but it's distro dependant, this is done to keep /usr/bin from "dirty" binaries which you must remove manually, instead of a 'apt remove package'
but, many distros/packages forget to search in /usr/local for the files they need, so you need to install in /usr rather than /usr/local;
if you want to remove a package you installed from sources, just do the ./configure again and 'make uninstall' (not every package has this functionality)
usually, packaged binaries go in /usr/bin while self-compiled ones go in /usr/local/bin; but it's distro dependant, this is done to keep /usr/bin from "dirty" binaries which you must remove manually, instead of a 'apt remove package'
but, many distros/packages forget to search in /usr/local for the files they need, so you need to install in /usr rather than /usr/local;
if you want to remove a package you installed from sources, just do the ./configure again and 'make uninstall' (not every package has this functionality)
Much thanks, but here comes a similar problem, shows
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.