Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于X服务器构建过程中一些问题的解决方案 #2

Open
chengxy0709 opened this issue Aug 16, 2021 · 0 comments
Open

关于X服务器构建过程中一些问题的解决方案 #2

chengxy0709 opened this issue Aug 16, 2021 · 0 comments

Comments

@chengxy0709
Copy link

按找原书进行构建遇到了两个问题:

  1. libxcb构建失败,报错“./c_client.py -p /usr/lib/python2.7/dist-packages /usr/share/xcb/xproto.xml”。
    解决方案:问题出在pkg-config脚本中,其补全路径有的没有补上,如pythondir,我修改了这句代码
../cross-tool/bin/pkg-config:

# if $HOST_PKG_CFG $* | sed -e "..."
if $ HOST_PKG_CFG $* | sed -e "s/\/usr/\/vita\/sysroot\/usr/g"

配置编译完成libxcb后不要删除la文件,直接配置编译libX11,然后删除所有la文件,还原pkg-config脚本。

  1. 安装expat时报错,安装失败。
    解决方案:在安装时指定INSTALL_ROOT:
make INSTALL_ROOT=$SYSROOT install

以上是我的一些解决方案,现在顺利度过构建根文件系统这一章,有点费事,有其他问题可以联系我1484652026@qq.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant