在编译的时候出现了一个问题,导致退出了编译
生成时出错: webkitgtk
CXX DerivedSources/WebCore/libWebCore_la-CSSGrammar.lo
CXX DerivedSources/WebCore/libWebCore_la-CSSPropertyNames.lo
CXX DerivedSources/WebCore/libWebCore_la-CSSValueKeywords.lo
DerivedSources/WebCore/CSSGrammar.cpp:160:10: 致命错误:CSSGrammar.hpp:没有那个文件或目录
160 | #include "CSSGrammar.hpp"
| ^~~~~~~~~~~~~~~~
编译中断。
make[1]: *** [GNUmakefile:66108:DerivedSources/WebCore/libWebCore_la-CSSGrammar.lo] 错误 1
make[1]: *** 正在等待未完成的任务....
make[1]: 离开目录“/tmp/makepkg/webkitgtk/src/build-gtk”
make: *** [GNUmakefile:30360:all] 错误 2
==> 错误: 在 build() 中发生一个错误。
正在放弃...
这是我的编译环境
内核 : Linux 5.8.14-arch1-1 (x86_64)
版本 : #1 SMP PREEMPT Wed, 07 Oct 2020 23:59:46 +0000
C 库 : GNU C库 / (GNU libc) 2.32
发行版 : Arch Linux
-编译器-
C (GCC) : 10.2.0
-工具-
make : 4.3
GDB : (GDB) 10.1
QMake : 3.1
CMake : 3.18.4
我不知道你们有没有出现这种问题,我也不了解为什么我会出现这种问题.
Pinned Comments
RandomFall commented on 2024-05-10 08:06 (UTC)
Notice: version 15.2.0.62802 would sometimes cause Xorg to crash on Manjaro Linux. This usually happens on launch of GoLand or other Jetbrains IDE when sunloginclient (and its service runsunloginclient.service) is already running (without being controlled).
Zhaoye commented on 2021-01-21 03:30 (UTC) (edited on 2021-01-22 03:35 (UTC) by Zhaoye)
——注:本楼中,“Sunlogin”即指代“向日葵远程控制”。
为使Sunlogin控制在用户登录前及注销后出现的SDDM界面,执行以下命令:
sudo sh -c 'echo "/usr/bin/xhost +" >> /usr/share/sddm/scripts/Xsetup'
参考于:https://forums.nomachine.com/topic/launch-virtual-desktops-without-0
如果仍然不能控制SDDM,确认你的网络能够在用户登录前自动连接(常见于只有WiFi连接的情况)
yjun commented on 2020-06-13 13:52 (UTC) (edited on 2021-12-07 09:21 (UTC) by yjun)
需要启动对应的服务才能使用:
systemctl start runsunloginclient
,也可以参考安装末的提示目前的问题:
如果遇到无法远程连接,控制Arch(Arch 为被控端),可以试试执行
xhost +
或者重启一下桌面如果遇到开机自启动后客户端连接不上的情况,参考以下链接: https://wiki.archlinux.org/index.php/Systemd#Running_services_after_the_network_is_up , 确保对应网络管理器的服务已经设置开机启动.