LinuxQuestions.org
Review your favorite Linux distribution.
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 02-23-2008, 11:39 AM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 627
Blog Entries: 1

Rep: Reputation: 48
compiling xf86-video-intel and xorg-macros 1.1.3


I tried to compile the Xorg 2D driver with xf86-video-intel source code
according to http://intellinuxgraphics.org/install.html

I have made use of
xorg-x11-server-Xorg-1.3.0.0-5.fc7.x86_64.rpm
xorg-x11-server-sdk-1.3.0.0-5.fc7.x86_64.rpm
and several other rpms
on my CentOS5.1 to upgrade my xorg-x11-server.
(I am still worry that the intel web says I need >=1.3.0.0-6, but
I cannot find that, so I just continue with building.

I hit the following problem:

[root@centos45 xf86-video-intel]# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
configure.ac:219: error: must install xorg-macros 1.1.3 or later before running autoconf/autogen
configure.ac:219: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Question: Do I have to install xorg-macros (how?) or
I need to put choose a right --prefix ?
Where and what is XORG_DIR ?

Thanks!
 
Old 02-23-2008, 12:08 PM   #2
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
hack configure.ac

I took out

m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1.3 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.1.3)

from the configure.ac

and so a ./autogen.sh, now autogen.sh is happy!!


I proceeded with "make"
and I have the surprise here

Making all in ch7017
make[3]: Entering directory `/root/xf86-video-intel/src/ch7017'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ch7017.lo -MD -MP -MF ".deps/ch7017.Tpo" -c -o ch7017.lo ch7017.c; \
then mv -f ".deps/ch7017.Tpo" ".deps/ch7017.Plo"; else rm -f ".deps/ch7017.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ch7017.lo -MD -MP -MF .deps/ch7017.Tpo -c ch7017.c -fPIC -DPIC -o .libs/ch7017.o
In file included from /usr/include/xorg/xf86Crtc.h:26,
from ch7017.c:40:
/usr/include/xorg/randrstr.h:64: error: 'RRNumberRequests' undeclared here (not in a function)
/usr/include/xorg/randrstr.h:80: error: expected specifier-qualifier-list before 'xRRModeInfo'
/usr/include/xorg/randrstr.h:441: error: expected ')' before '*' token
/usr/include/xorg/randrstr.h:611: error: expected ')' before '*' token
make[3]: *** [ch7017.lo] Error 1
make[3]: Leaving directory `/root/xf86-video-intel/src/ch7017'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xf86-video-intel'
make: *** [all] Error 2


Okay. I gave up for now.. (all I want to do is to get 1280x800 resolution
for my Mobile Intel GM 965 Express Chipset on CentosOS5.1 !!!)
 
Old 02-05-2010, 03:30 AM   #3
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Rep: Reputation: 16
hi centguy
it doesnot work for me too.
In fact i tried to use dual monitor with a suitable resolution
nearly 3 years ago. 3 years passed there is no suitable solution for linux.

My company tried to install linux but because of dual monitor problems at linux we switched back to windows (which has a built-in dual monitor support).

Linux is free but configuring linux takes too much time...
You purchase a windows package at nearly 150$ for 3-4 years but windows saves your time.

Last 3 years i always post questions and try to use dual monitor at linux but perhaps i send hundreds of posts to linux forums, but no one was able to solve that dual monitor problem.

Have a luck!
Just look at my previous post about my new dual monitor problem at linuxquestion.org, nor fedora neither debian has dual monitor support effectively.
 
Old 02-05-2010, 11:51 PM   #4
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
did not know that someone is interested in my painful history.

Quote:
Linux is free but configuring linux takes too much time...
You purchase a windows package at nearly 150$ for 3-4 years but windows saves your time.
Yes.. I bought a laptop with intel onboard graphic driver that cannot even give me a native resolution 1280x800. Well, I was unlucky to have to worse combination ever: CentOS 5.1 and Intel 964 GM at that time. I was so naive to wage a war with xorg and got defeated badly.
Should I blame RHEL 5.1 or Intel or or Linux or myself ? That is a big question!

As far as I know CentOS 5.4 still cannot run glxgears properly with this
chipset ! I don't know who to blame! But one thing is sure, I am not too optimistic about Linux any more!
 
Old 02-06-2010, 03:13 AM   #5
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Rep: Reputation: 16
Quote:
Originally Posted by centguy View Post
did not know that someone is interested in my painful history.
This is the history of all people who use linux a little bit further abilities than a normal computer user. Linux is pain in the back.

Quote:
Originally Posted by centguy View Post
Should I blame RHEL 5.1 or Intel or or Linux or myself ? That is a big question!
We are not computer experts centguy, and we are not going to be. We choose computers and softwares that are suitable for our business purposes.

If one software does not suit, it is not our problem, just take another one.

By this sense linux is much more expensive than windows.
 
Old 02-06-2010, 07:23 AM   #6
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
yeap.. just look at distrowatch.com and you will see at least 100 distros (a house cannot divide against itself!)
Only the sophisticated users who just want to a slight control over the OS that pay the price of time and energy in the name of opensource. Why can't that rich RHEL who collect so much money from the server business do a simple job of making the crappy open-source intel driver (as far as I know I have one F10 partition that break xmgrace because of the intel graphics problem) better to help those who cannot afford an nvidia graphic card? Or why can't that rich Intel that make trillions of trillions of chips to work with RHEL to come up with a decent driver ? I will stop here.
 
Old 03-18-2010, 08:17 PM   #7
junjinlee
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by centguy View Post
I took out

m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1.3 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.1.3)

from the configure.ac

and so a ./autogen.sh, now autogen.sh is happy!!


I proceeded with "make"
and I have the surprise here

Making all in ch7017
make[3]: Entering directory `/root/xf86-video-intel/src/ch7017'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ch7017.lo -MD -MP -MF ".deps/ch7017.Tpo" -c -o ch7017.lo ch7017.c; \
then mv -f ".deps/ch7017.Tpo" ".deps/ch7017.Plo"; else rm -f ".deps/ch7017.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ch7017.lo -MD -MP -MF .deps/ch7017.Tpo -c ch7017.c -fPIC -DPIC -o .libs/ch7017.o
In file included from /usr/include/xorg/xf86Crtc.h:26,
from ch7017.c:40:
/usr/include/xorg/randrstr.h:64: error: 'RRNumberRequests' undeclared here (not in a function)
/usr/include/xorg/randrstr.h:80: error: expected specifier-qualifier-list before 'xRRModeInfo'
/usr/include/xorg/randrstr.h:441: error: expected ')' before '*' token
/usr/include/xorg/randrstr.h:611: error: expected ')' before '*' token
make[3]: *** [ch7017.lo] Error 1
make[3]: Leaving directory `/root/xf86-video-intel/src/ch7017'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xf86-video-intel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xf86-video-intel'
make: *** [all] Error 2


Okay. I gave up for now.. (all I want to do is to get 1280x800 resolution
for my Mobile Intel GM 965 Express Chipset on CentosOS5.1 !!!)
What have you do to do ./autogen.sh pass throught.
I also happen the issue: configure.ac:42:error: must install xorg-macros 1.2 or later before running autocon/autogen
 
Old 03-19-2010, 01:34 AM   #8
centguy
Member
 
Registered: Feb 2008
Posts: 627

Original Poster
Blog Entries: 1

Rep: Reputation: 48
My best advice : Give up! That's intel graphic driver guys jobs !

My personal experience: I compiled xorg once (traced my many many
posts earlier
where there was a guy who was kind enough to guide me along) on FEDORA 9. I moved the
good src to CentOS and still hit all sorts of problem. I believe I can work
on it if I didn't have a job and I could sit all day compiling xorg.

May be you will succeed but that depend on your ability. My earlier posts

http://www.linuxquestions.org/questi...er-fc9-674110/

might help to compile xorg on FEDORA 9 and then repeat the
exercise in CentOS. To me, that is Mount Everest of Linux!!

Good luck !

Last edited by centguy; 03-19-2010 at 01:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HELP with xf86-video-intel 2.1.0 nosn4me03 Linux - Newbie 1 08-11-2007 04:01 PM
LXer: Intel GMA950 & xf86-video-intel 2.1.0 LXer Syndicated Linux News 0 07-13-2007 06:32 PM
intel drivers on debian sarge & Xorg 7: compiling error [ITA]freeware Linux - Laptop and Netbook 2 05-30-2006 06:17 AM
Xorg 2D hardware acceleration for Intel 865G video card michal017 Linux - Software 9 01-16-2006 01:51 AM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM

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

All times are GMT -5. The time now is 05:42 AM.

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