Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* errors when building the latest intel DDX driver
@ 2011-06-21  2:13 Xiang, Haihao
  2011-06-22  9:47 ` Zhao, Jian J
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang, Haihao @ 2011-06-21  2:13 UTC (permalink / raw)
  To: Wilson, Chris; +Cc: Intel-gfx

Hi, 

  I got the following error message when run 'autogen.sh'

----------------
checking for XORG... configure: error: Package requirements (xorg-server >=  xproto fontsproto  randrproto renderproto xextproto x11 xextproto) were not met:

Requested 'xorg-server >= xproto' but version of xorg-server is 1.10.2.901
----------------

I don't enable SNA, so the required xserver version is 1.6.


This issue is caused by

commit 585667c2f9f88554ed89ff21ae38600f761d964c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Jun 18 15:52:22 2011 +0100

    sna: Bump the required xserver version to 1.10


After reverting this commit, I can build DDX driver normally.

Thanks
Haihao

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: errors when building the latest intel DDX driver
  2011-06-21  2:13 errors when building the latest intel DDX driver Xiang, Haihao
@ 2011-06-22  9:47 ` Zhao, Jian J
  0 siblings, 0 replies; 2+ messages in thread
From: Zhao, Jian J @ 2011-06-22  9:47 UTC (permalink / raw)
  To: Xiang, Haihao, Wilson, Chris; +Cc: Intel-gfx

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

Yes. This issue also affected our test now. I find it is just caused by the absent of the variable xorg-server when disable SNA. I didn't find any update for it, so I just make a patch for it. 

Chris, 
 Can you have a review and add it? Thanks. 

Best regards
zhaojian

> -----Original Message-----
> From: intel-gfx-bounces+jian.j.zhao=intel.com@lists.freedesktop.org
> [mailto:intel-gfx-bounces+jian.j.zhao=intel.com@lists.freedesktop.org] On
> Behalf Of Xiang, Haihao
> Sent: Tuesday, June 21, 2011 10:14 AM
> To: Wilson, Chris
> Cc: Intel-gfx
> Subject: [Intel-gfx] errors when building the latest intel DDX driver
> 
> Hi,
> 
>   I got the following error message when run 'autogen.sh'
> 
> ----------------
> checking for XORG... configure: error: Package requirements (xorg-server >=
> xproto fontsproto  randrproto renderproto xextproto x11 xextproto) were
> not met:
> 
> Requested 'xorg-server >= xproto' but version of xorg-server is 1.10.2.901
> ----------------
> 
> I don't enable SNA, so the required xserver version is 1.6.
> 
> 
> This issue is caused by
> 
> commit 585667c2f9f88554ed89ff21ae38600f761d964c
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Sat Jun 18 15:52:22 2011 +0100
> 
>     sna: Bump the required xserver version to 1.10
> 
> 
> After reverting this commit, I can build DDX driver normally.
> 
> Thanks
> Haihao
> 
> 
> 
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[-- Attachment #2: 0001-Just-put-the-required_xorg_xserver_version-together.patch --]
[-- Type: application/octet-stream, Size: 946 bytes --]

From e2d61215e3974a2fe11c47126a75f2baeebe37b0 Mon Sep 17 00:00:00 2001
From: Jian Zhao <jian.j.zhao@intel.com>
Date: Wed, 22 Jun 2011 08:54:59 +0800
Subject: [PATCH] Just put the required_xorg_xserver_version together so it can make successfully.

---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7bde768..eea4708 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,8 +20,6 @@
 #
 # Process this file with autoconf to produce a configure script
 
-required_xorg_xserver_version=1.6
-
 # Initialize Autoconf
 AC_PREREQ([2.63])
 AC_INIT([xf86-video-intel],
@@ -101,6 +99,8 @@ AC_ARG_ENABLE(sna,
 	      [SNA=no])
 AM_CONDITIONAL(SNA, test x$SNA != xno)
 AC_MSG_CHECKING([whether to include SNA support])
+
+required_xorg_xserver_version=1.6
 if test "x$SNA" != "xno"; then
 	required_xorg_xserver_version=1.10
 	AC_DEFINE(USE_SNA, 1, [Enable SNA support])
-- 
1.6.0.6


[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-22  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-21  2:13 errors when building the latest intel DDX driver Xiang, Haihao
2011-06-22  9:47 ` Zhao, Jian J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox