Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-03-2014, 07:25 AM
|
#1
|
LQ Newbie
Registered: Aug 2014
Posts: 5
Rep: 
|
unable to install xorg-macros 1.8
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.
|
|
|
08-03-2014, 09:35 AM
|
#2
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
First, try to reinstall xorg-macros with:
Code:
./configure --prefix=/usr
make
makeinstall
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
|
|
1 members found this post helpful.
|
08-03-2014, 10:30 AM
|
#3
|
LQ Newbie
Registered: Aug 2014
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
First, try to reinstall xorg-macros with:
...
|
Thanks, is that better I always code './configure --prefix=/usr' ?
I am new to Linux, after all where have I installed xorg-macros, not found in /usr
Last edited by Liu Jingyu; 08-03-2014 at 10:35 AM.
|
|
|
08-03-2014, 11:00 AM
|
#4
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
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)
|
|
|
08-03-2014, 09:52 PM
|
#5
|
LQ Newbie
Registered: Aug 2014
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
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
Code:
Package requirements (x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence >= 1.1) were not met.
Then I follow the steps on the web, code:
Code:
sudo apt-get install libx11-xcb-dev libxcb-glx0 libxcb-glx0-dev libxcb-xfixes0-dev
but not work, path again ?
Last edited by Liu Jingyu; 08-04-2014 at 12:35 AM.
|
|
|
08-04-2014, 12:26 AM
|
#6
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
No, in that case I would point that some of the system packages are outdated, try
Code:
sudo apt-get -s xcb-glx
I think your version is <= 1.8.1, just update that package, xcb-dri2 and xshmfence
|
|
|
08-04-2014, 12:49 AM
|
#7
|
LQ Newbie
Registered: Aug 2014
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
No, in that case I would point that some of the system packages are outdated, try
Code:
sudo apt-get -s xcb-glx
I think your version is <= 1.8.1, just update that package, xcb-dri2 and xshmfence
|
output:
Code:
E: Invalid operation xcb-glx
|
|
|
08-04-2014, 01:28 AM
|
#8
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
wrong command, it's
Code:
apt-cache show xcb-glx
or simply
Code:
sudo apt-get install xcb-glx
should install/upgrade to the latest version
|
|
|
08-04-2014, 01:37 AM
|
#9
|
LQ Newbie
Registered: Aug 2014
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by gengisdave
wrong command, it's
Code:
apt-cache show xcb-glx
or simply
Code:
sudo apt-get install xcb-glx
should install/upgrade to the latest version
|
unable to locate it and before that I code
Code:
sudo apt-get upgrade xcb-glx
the Synaptic Package Manager shows I have installed libxcb-glx0 and libxcb-glx0, both 1.8.1 version. So back to the problem
Code:
Package requirements (x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence >= 1.1) were not met.
What should I do ? Can these pkgs be installed together ?
|
|
|
All times are GMT -5. The time now is 04:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|