创建包时 Meego 构建错误
我不明白为什么我的项目突然无法运行。
我尝试重新更新所有包,但现在出现此错误。
Package Creation: Running command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
which: pgp: unknown command
dpkg-buildpackage: source package ethnica
dpkg-buildpackage: source version 0.0.1
dpkg-buildpackage: source changed by unknown <>
dpkg-buildpackage: host architecture armel
/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/var/lib/dpkg/status: File or path name too long
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 3
Error while building project ethnica (target: Harmattan)
When executing build step 'Create Debian Package'
我不明白这是什么意思,我在谷歌上找不到任何答案。
我无力再次重新安装 Qt,因为它确实花费了很长的时间。我所说的“很长”是指整整 24 小时。帮助!
I don't understand why does my project suddenly cannot run.
I tried to reupdate all the package and now I got this error.
Package Creation: Running command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
which: pgp: unknown command
dpkg-buildpackage: source package ethnica
dpkg-buildpackage: source version 0.0.1
dpkg-buildpackage: source changed by unknown <>
dpkg-buildpackage: host architecture armel
/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/sysroots/harmattan-nokia-meego-arm-sysroot-1122-slim/var/lib/dpkg/status: File or path name too long
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 3
Error while building project ethnica (target: Harmattan)
When executing build step 'Create Debian Package'
I don't understand what that means,, and I can't find any answer in google.
I can't afford to reinstall Qt again because it really taking a loooooong time.. by loooong i mean fully 24 hour. help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查该行:
我猜这是问题所在(文件或路径名太长),后来的错误只是这个问题的结果
Check that line:
I guess this (File or path name too long) is the problem and the later error is just a result of that
不要使用 Qt Creator 的打包功能。根据我的经验,它远不稳定。只需使用 Qt Creator 来运行/调试您的应用程序,然后关闭打包即可。当你想制作一个包时,可以使用Scratchbox。 (或者直接使用 MADDE。)
Don't use Qt Creator's packaging feature. In my experience, it is nowhere near stable. Just use Qt Creator for running/debugging your app, and turn off the packaging. When you want to make a package, use Scratchbox. (or maybe use MADDE directly.)