Closed simplaj closed 5 years ago
缺少 cmake 等依赖。先装个 cmake 看看:
sudo apt install cmake -y
我 装完cmake后是这样的
apt -f -y install
执行这个后也没有变化
dh_make --version
看看你的 dh-make 版本
fakeroot --version
看看你的 fakeroot 版本
我刚刚测试了两遍,打包都是正常的。目前只能猜测你可能是缺少了什么依赖。
另外,请问你的打包方法是依照这个的吗?
我是按照您的教程来的
sudo apt install qt5-default qttools5-dev-tools qt5-qmake g++ qtcreator -y
sudo apt install libdtkbase-dev libdtkwidget-dev -y
sudo apt install libdframeworkdbus-dev -y
sudo apt install libqrencode-dev libzbar-dev -y
sudo apt install libdtkbase-dev libdtkcore-dev libdtksettings-dev libdtksettingsview-dev libdtkutil-dev libdtkwidget-dev libdtkwm-dev -y
sudo apt install dh-make fakeroot -y
试试把开发所需的所有依赖全装上,再打包看看
应该和 fakeroot 没什么关系,如果是缺少 fakeroot 应该一开始就会提示。
是的,我在逐步装上面的依赖,谢谢您
装上以上依赖后仍不成功 请问这个错误代码意味着什么
你试试这个 看看能不能正常构建出二进制可执行程序并正常执行
`king@king-PC:~/Downloads/shadowsocks/shadowsocks-deepin-1.2.2/build$ cmake ..
process translations/shadowsocks-client_en.ts Updating 'translations/shadowsocks-client_en.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 102 untranslated source text(s)
process translations/shadowsocks-client_zh.ts Updating 'translations/shadowsocks-client_zh.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5LinguistTools" with any of the following names:
Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake
Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or set "Qt5LinguistTools_DIR" to a directory containing one of the above files. If "Qt5LinguistTools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): src/CMakeLists.txt:22 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/king/Downloads/shadowsocks/shadowsocks-deepin-1.2.2/build/CMakeFiles/CMakeOutput.log". `
把依赖先装上试试
sudo apt install qtcreator-dde qttools5-dev -y
把依赖先装上试试
sudo apt install qtcreator-dde qttools5-dev -y
哇哇,老大,这回可以了!似乎就是这两个其中一个。
另外,编译出来界面是英文的?
国庆应该能搞好
请问大佬manjaro-deepin 可以用吗
没测试过,不过可以下载安装试试。缺什么依赖都给安装上。
前面进行顺利,但在打包成deb时报错了,请问您 我这是什么问题