编译xorg-1.7.7
系统环境:debian6+i386
软件包:xorg-server-1.7.7.tar.bz2
下载地址:
ftp:///pub/individual/xserver/
/releases/X11R7.6/src/
编译xorg
$ tar xf xorg-server-1.7.7.tar.bz2
$ cd xorg-server-1.7.7
$ ./autogen.sh
./autogen.sh: line 9: autoreconf: command not found
# aptitude install dh-autoreconf
$ ./autogen.sh
configure.ac:36: error: must install xorg-macros 1.10 or later before running autoconf/autogen
# aptitude install xutils-dev
$ ./autogen.sh
configure.ac:695: error: possibly undefined macro: XTRANS_CONNECTION_FLAGS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
# aptitude install xtrans-dev
$ ./autogen.sh
No package 'pixman-1' found
# aptitude install libpixman-1-dev
$ ./autogen.sh
configure: error: Package requirements (x11) were not met:
No package 'x11' found
# aptitude install libx11-dev
$ ./autogen.sh
configure: error: Package requirements (glproto >= 1.4.10 gl >= 7.1.0) were not met:
No package 'glproto' found
No package 'gl' found
# aptitude install x11proto-gl-dev
# aptitude install xlibmesa-gl-dev
$ ./autogen.sh
configure: error: Package requirements (xf86driproto >= 2.1.0) were not met:
No package 'xf86driproto' found
# aptitude  install  x11proto-xf86dri-dev
$ ./autogen.sh
checking no
configure: error: Package requirements (libdrm >= 2.3.0) were not met:
No package 'libdrm' found
# aptitude install libdrm-dev
$ ./autogen.sh
checking for SHA1Init in - no
checking no
configure: error: Package requirements (randrproto >= 1.2.99.3 renderproto >= 0.11 fixesproto >= 4.1 damageproto >= 1.1 xcmiscproto >= 1.2.0 xextproto >= 7.0.99.3 xproto >= 7.0.13 xtrans >= 1.2.2 bigreqsproto >= 1.1.0 fontsproto inputproto >= 1.9.99.902 kbproto >= 1.0.3 videoproto compositeproto >= 0.4 scrnsaverproto >= 1.1 resourceproto xineramaproto xkbfile xfont xau pixman-1 >= 0.15.20 xdmcp openssl) were not met:
No package 'randrproto' found
No package 'renderproto' found
No package 'fixesproto' found
No package 'damageproto' found
No package 'xcmiscproto' found
No package 'xextproto' found
No package 'bigreqsproto' found
No package 'fontsproto' found
No package 'videoproto' found
No package 'compositeproto' found
No package 'scrnsaverproto' found
No package 'resourceproto' found
No package 'xineramaproto' found
No package 'xkbfile' found
No package 'xfont' found
No package 'openssl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
# aptitude install x11proto-randr-dev
# aptitude install x11proto-render-dev
# aptitude install x11proto-fixes-dev
# aptitude install x11proto-damage-dev
# aptitude install x11proto-xcmisc-dev
# aptitude install x11proto-scrnsaver-dev
# aptitude install x11proto-xext-dev
# aptitude install x11proto-bigreqs-dev
# aptitude install x11proto-video-dev
# aptitude install x11proto-composite-dev
# aptitude install x11proto-resource-dev
# aptitude install x11proto-xinerama-dev
# aptitude install libxkbfile-dev
# aptitude install libxfont-dev
# aptitude install libcurl4-openssl-dev
$ ./autogen.sh
server error啥意思checking no
configure: error: Package requirements (pciaccess >= 0.8.0) were not met:
No package 'pciaccess' found
# aptitude install libpciaccess-dev
$ ./configure --prefix=/home/loongson/xorg
$ make
$ make install
编译驱动(键盘,鼠标,显卡)
$ tar xf xf86-input-keyboard-1.5.0.tar.bz2
$ cd xf86-input-keyboard-1.5.0/
$ ./configure --prefix=/home/loongson/xorg
checking configure: error: Package requirements (xorg-server >= 1.2.99.0 xproto inputproto) were not met:
No package 'xorg-server' found
$ export PKG_CONFIG_PATH=/home/loongson/xorg/lib/pkgconfig
$ ./configure --prefix=/home/loongson/xorg
$ make
$ make install
$ tar xf xf86-input-mouse-1.6.0.tar.bz2
$ cd xf86-input-mouse-1.6.0/
$ ./configure --prefix=/home/loongson/xorg
$ make
$ make install
$ tar xf xf86-video-sis-0.10.3.tar.bz2
$ cd xf86-video-sis-0.10.3/
$ ./configure --prefix=/home/loongson/xorg
checking configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto  xineramaproto randrproto renderproto videoproto xextproto) were not met:
No package 'xf86dgaproto' found
# aptitude install  x11proto-xf86dga-dev

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。