xorg-server 编译记录

编译 Xorg-server

源码下载

xorg-server 编译记录

	wget https://salsa.debian.org/xorg-team/xserver/xorg-server/-/archive/xorg-server-2_1.20.4-1/xorg-server-xorg-server-2_1.20.4-1.tar.gz

编译

$ ./autogen.sh
./autogen.sh: 9: ./autogen.sh: autoreconf: not found
# apt --fix-broken install
# apt-get install dh-autoreconf

$ ./autogen.sh
configure.ac:38: error: must install xorg-macros 1.14 or later before running autoconf/autogen
# apt-get install xutils-dev

$ ./autogen.sh
configure.ac:52: error: must install font-util 1.1 or later before running autoconf/autogen
# apt-get install xfonts-utils -y

$ ./autogen.sh
configure: error: Package requirements (glproto >= 1.4.17 gl >= 9.2.0) were not met:
# apt-get install x11proto-gl-dev

$ ./autogen.sh
configure: error: Package requirements (x11) were not met:
# apt-get install libx11-dev

$ ./autogen.sh
configure: error: Package requirements (glproto >= 1.4.17 gl >= 9.2.0) were not met:
No package 'gl' found
# apt-get install mesa-common-dev
# apt-get install libgl1-mesa-dev   失败
//这里不要机械,根据环境不同,酌情成功安装 libgl1-mesa-dev   x11proto-gl-dev 即可
# apt-get install aptitude
# aptitude install libgl1-mesa-dev

$ ./autogen.sh
checking for SHA1 implementation... configure: error: No suitable SHA1 implementation found
...啦啦啦
# apt-get install libssl-dev

$ ./autogen.sh
configure: error: Package requirements (fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.3.5 bigreqsproto >= 1.1.0 xproto >= 7.0.31 randrproto >= 1.6.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 videoproto compositeproto >= 0.4 recordproto >= 1.13.99.1 scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 presentproto >= 1.1 xineramaproto xkbfile  pixman-1 >= 0.27.2 xfont2 >= 2.0.0 xau xshmfence >= 1.1 xdmcp) were not met:
No package 'xcmiscproto' found
No package 'bigreqsproto' found
No package 'randrproto' found
No package 'renderproto' found
No package 'fontsproto' found
No package 'videoproto' found
No package 'compositeproto' found
No package 'recordproto' found
No package 'scrnsaverproto' found
No package 'resourceproto' found
No package 'xf86driproto' found
No package 'presentproto' found
No package 'xineramaproto' found
No package 'xkbfile' found
No package 'xfont2' found

# apt-get install x11proto-xcmisc-dev
# apt-get install x11proto-randr-dev
# apt-get install x11proto-render-dev
# apt-get install x11proto-video-dev
# apt-get install x11proto-composite-dev
# apt-get install x11proto-record-dev
# apt-get install x11proto-scrnsaver-dev
# apt-get install x11proto-resource-dev
# apt-get install x11proto-xf86dri-dev
# apt-get install x11proto-present-dev
# apt-get install x11proto-xinerama-dev
# apt-get install libxkbfile-dev
# apt-get install libxfont-dev
# apt-get install x11proto-bigreqs-dev
//这个不会弄,
# apt-get install libxfont-dev  

$ ./autogen.sh
checking for XSERVERCFLAGS... no
configure: error: Package requirements (fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.3.5 bigreqsproto >= 1.1.0 xproto >= 7.0.31 randrproto >= 1.6.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 videoproto compositeproto >= 0.4 recordproto >= 1.13.99.1 scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 presentproto >= 1.1 xineramaproto xkbfile  pixman-1 >= 0.27.2 xfont2 >= 2.0.0 xau xshmfence >= 1.1 xdmcp) were not met:
No package 'bigreqsproto' found
Requested 'randrproto >= 1.6.0' but version of RandrProto is 1.5.0
No package 'fontsproto' found
No package 'xfont2' found

# apt-get install libxfont2
# apt-get install libxfont-dev  //环境有问题
# aptitude install libxfont-dev
# apt-get install x11proto-bigreqs-dev

# apt-get install libcurl4-openssl-dev
# apt-get install libpciaccess-dev

$ ./autogen.sh
正常的,这会已经差不多ok了,之前编译1.19.2同样步骤已经结束了
Requested 'randrproto >= 1.6.0' but version of RandrProto is 1.5.0

$ ./autogen.sh

xorg-server 编译记录

xorg-server 编译记录xorg-server 编译记录 瑞瑞瑞 发布了2 篇原创文章 · 获赞 0 · 访问量 1384 私信 关注
上一篇:使用xshell登录远程服务器打开图形界面


下一篇:KVM桥接模式