About Xorg building from the source codes
来源:互联网 发布:淘宝旺铺有什么功能 编辑:程序博客网 时间:2024/05/28 11:48
Start of the Xorg building is very simple:
mkdir -p /home/xorg/srccd /home/xorg/srcgit clone git://anongit.freedesktop.org/git/xorg/util/modular util/modularmkdir -p /home/xorg/buildcd /home/xorg/src./util/modular/build.sh --clone /home/xorg/build
The build process takes a long time and can failed due to any failed dependencies. But if we start it again If it again start then the building will start from the very beginning. To prevent this moment we should use the key autoresume:
./util/modular/build.sh --clone --autoresume built.modules /home/xorg_build/build/
We can also start the building for a specific list of modules. Full list of modules can be seen in such a way:
./util/modular/build.sh -L > build_modules
Modules that do not require the building we should comment out wich the # symbol and start the building with the key modfile:
./util/modular/build.sh --clone --autoresume built.modules --modfile build_modules /home/xorg_build/build/
Error while Xorg building:
error: possibly undefined macro: AC_CHECK_FILE
The solution:
the package pkg-config have been not installed
# apt-get install pkg-config
Error while Xorg building:
configure: error: zlib.h is required to compile libfontenc
The solution:
# apt-get install zlib1g-dev
Error while Xorg building:
configure: error: yacc not found - unable to compile laygram.y
The solution:
# apt-get install bison
Error while Xorg building:
checking for freetype-config... noconfigure: error: You must have freetype installed; see http://www.freetype.org/
The solution:
# apt-get install libfreetype6-dev
Error while Xorg building:
configure: error: Package requirements (fontconfig >= 2.5.92) were not met:No package 'fontconfig' found
The solution:
# apt-get install libfontconfig1-dev
Error while Xorg building:
configure: error: No suitable SHA1 implementation found
The solution:
# apt-get install libgcrypt11-dev
Error while Xorg building:
Can't exec "intltoolize": No such file or directory
The solution:
# apt-get install intltool
After building the starting of Xorg and further start of any graphical shell looks like this:
As en example there is the starting of the graphical shell xfce4:
а) we can run: startx or startxfce4
б) or run the applications step by step by ourself:
1. Xorg &
2. export DISPLAY=:0.0
3. /usr/bin/xfce4-session
As en example there is the starting of xterm (graphical terminal of command line):
1. Xorg &
2. export DISPLAY=:0.0
3. xterm -g 80x40+0+0 &
- About Xorg building from the source codes
- Building Kernel from source
- Building X10 from Source
- Chapter 3. Building from Source
- 3.6. Building RPMs from Source
- The source of image UBB codes creator
- Building a Linux Kernel from source
- Building an ARM GCC Toolchain from Source
- Building Visual Leak Detector from Source
- Running emulator after building Android from source
- Qt for Linux/X11 - Building from Source
- (OK) Building Android from AOSP source code
- A guide to get you building OGRE from source with the default settings in the shortest possible time
- Drink Lean from the Source
- Building Ext From Source(制定自己的EXT版本)
- Tutorial:Building Ext From Source(制定自己的EXT版本)
- Building Apache2 From Source on Linux (Redhat 8)
- Android for MSM Project,Downloading and Building from Source
- data.table简介
- bootStrap格式化--1.按钮格式化
- 74HC595引脚图时序图工作原理及pdf中文资料lsh
- Hadoop中正确地添加和移除节点
- 有1-m个数,围成一圈,从第一个开始数,数到n的数退出,输出最后剩下的那个数
- About Xorg building from the source codes
- 单片机驱动74hc595使用方法
- System,Runtime,Robot,Arrays操作类
- HDU 2068(错排+组合数)
- quit 和close 区别
- 百度地图
- Linux环境下搭建主从DNS服务器
- PX4 navigator-TAKEOFF
- applicationContext.xml 配置文件的存放位置