LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   compiling xf86-video-intel and xorg-macros 1.1.3 (https://www.linuxquestions.org/questions/linux-software-2/compiling-xf86-video-intel-and-xorg-macros-1-1-3-a-623321/)

centguy 02-23-2008 11:39 AM

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!

centguy 02-23-2008 12:08 PM

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 !!!)

Libertes 02-05-2010 03:30 AM

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.

centguy 02-05-2010 11:51 PM

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!

Libertes 02-06-2010 03:13 AM

Quote:

Originally Posted by centguy (Post 3854485)
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 (Post 3854485)
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.

centguy 02-06-2010 07:23 AM

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.

junjinlee 03-18-2010 08:17 PM

Quote:

Originally Posted by centguy (Post 3067364)
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

centguy 03-19-2010 01:34 AM

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 !


All times are GMT -5. The time now is 09:36 AM.