liuju1234 发表于 2007-5-14 11:43:02

magic linux 2.0下安装威盛p4m800显示驱动

我在官方网站上下载了源码,但不知如何安装。
好像是说要用build过的X11源码才行,但是又找不着

哪位大侠装过这个驱动或者能告诉我怎么安装驱动,小弟不胜感激!!

源码中REDME文件内容如下:
Building The Unichrome Projects drivers for your X version:
-----------------------------------------------------------

WARNING: The content of this file is about building and installing this
driver yourself. This will not make your package manager happy. You might
also want to back up via_drv.o/so and the manpage first.

If you run into any difficulties, please contact the unichrome-users
mailinglist at [email protected] . Subscribe at
http://lists.sourceforge.net/mailman/listinfo/unichrome-users first.


1) Monolithic X:
----------------

    Applies to xfree86 4.3.0 through 4.6.0, and X.org 6.7, 6.8 and 6.9.

1.1) Against a full X tree:

    This requires that a sufficiently built X tree is present (see 1.2
    otherwise). The top level directory of an X tree tends to be named xc/.
    Replace <path_to_xc> with whatever is suited for you.

    From the top level, in xf86-video-unichrome/, (the same level as this
    file) run:

        # xmkmf <path_to_xc>
        # make Makefiles
        # make
        # make install

1.2) Preparing an X tree:

    ...

1.3) Against the SDK/DDK:

    ...

2) Modular X:
-------------

    Suited for Xorg 7.0, 7.1.

2.1) Requirements:
   
    - An X version more recent than 7.0 RC2 (there was a macro difference before
      that).

    - A full X install or the xorg DDK installed. Here is a list of package
      names for the common distributions:
      * Debian and derivates: xserver-xorg-dev
      * Redhat/SuSE: xorg-x11-server-sdk

      Contact me if you would like to add to this list.

2.2) Building:

    Building against modular is a breeze. All it takes is:

      # ./autogen.sh
    or
      # ./autogen.sh --prefix=<...>

    and then
      # make
    and
      # make install

2.3) Common problems:

2.3.1) aclocal is unable to find X macros.

    You will see configure complain with:
      ./configure: line xxxxx: XORG_MANPAGE_SECTIONS: command not found
      ./configure: line xxxxx: XORG_RELEASE_VERSION: command not found

    What happens is that aclocal is unable to find your xorgversion.m4 and
    xorg-macros.m4. These are usually found in <prefix>/share/aclocal

    This can be solved by doing the following before running autogen.sh:
      - permanent solution: add a file named dirlist to your
          /usr/share/aclocal/ directory, and add a line with the path for X
          macros.
      - temporary solution: run
          # export ACLOCAL_LOCALDIR="<prefix>/share/aclocal/"

2.3.2) XORG_DRIVER_CHECK_EXT missing from macros.

    Configure fails with following message:
        ./configure: line xxxxx: syntax error near unexpected token `RANDR,'
        ./configure: line xxxxx: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'

    The cause of this is that xorg-server.m4 isn't available. This was only
    added a few days before 7.0RC2 was tagged, but it is quite incompatible
    with earlier versions.

    Make sure you have at least RC2.

    If anyone with a lot of autoconf experience knows how to properly check
    for the existence of individual macros at the autoheader stage, please
    don't hesitate to contact me.

2.3.3) Automake too old.

    autogen.sh fails with:
      configure.ac: xxx: required file `./.in' not found
      src/Makefile.am:xx: via_drv_la_SOURCES defined both conditionally

    Make sure that you have at least automake version 1.7
页: [1]
查看完整版本: magic linux 2.0下安装威盛p4m800显示驱动