LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-03-2014, 07:25 AM   #1
Liu Jingyu
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Rep: Reputation: Disabled
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.
 
Old 08-03-2014, 09:35 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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.
Old 08-03-2014, 10:30 AM   #3
Liu Jingyu
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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.
 
Old 08-03-2014, 11:00 AM   #4
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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)
 
Old 08-03-2014, 09:52 PM   #5
Liu Jingyu
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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.
 
Old 08-04-2014, 12:26 AM   #6
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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
 
Old 08-04-2014, 12:49 AM   #7
Liu Jingyu
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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
 
Old 08-04-2014, 01:28 AM   #8
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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
 
Old 08-04-2014, 01:37 AM   #9
Liu Jingyu
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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 ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BLFS - Xorg - util-macros-1.18.0 stefan1959 Linux From Scratch 2 03-25-2014 06:06 AM
[SOLVED] util-macros-1.9 install problem steviebob Slackware 4 08-15-2011 03:24 AM
unable to install xorg-dev san_as Linux - Newbie 3 04-15-2010 05:25 AM
compiling xf86-video-intel and xorg-macros 1.1.3 centguy Linux - Software 7 03-19-2010 01:34 AM
Unable to install xorg-x11 via yum guarriman Fedora 2 07-02-2007 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration