在fedaro9下,按照Qtopia编程开发指南上的方法编译PC版本的Qtopia2.2.0,出现下面的错误:
3rdparty/kernel/qmotifdnd_x11.cpp:80:22: 错误:X11/Xlib.h:没有那个文件或目录
3rdparty/kernel/qmotifdnd_x11.cpp:81:23: 错误:X11/Xatom.h:没有那个文件或目录
3rdparty/kernel/qmotifdnd_x11.cpp:83: 错误:‘Atom’没有命名一个类型
3rdparty/kernel/qmotifdnd_x11.cpp:84: 错误:‘Atom’没有命名一个类型
3rdparty/kernel/qmotifdnd_x11.cpp:87: 错误:‘Window’没有命名一个类型
3rdparty/kernel/qmotifdnd_x11.cpp:90: 错误:‘Atom’没有命名一个类型
……
kernel/qjpegio.cpp:60:21: 错误:jpeglib.h:没有那个文件或目录
kernel/qjpegio.cpp:67: 错误:expected class-name before ‘{’ token
kernel/qjpegio.cpp:76: 错误:变量或字段‘my_error_exit’声明为 void
kernel/qjpegio.cpp:76: 错误:‘j_common_ptr’在此作用域中尚未声明
kernel/qjpegio.cpp:92: 错误:expected class-name before ‘{’ token
kernel/qjpegio.cpp:95: 错误:‘JOCTET’没有命名一个类型
提示很多在此作用域中尚未声明的错误
* Please make sure that the following binaries exist before trying to build
* Qtopia:
* /opt/x86/qtopia-free-2.2.0/qt2/bin/moc
* /opt/x86/qtopia-free-2.2.0/qt2/bin/uic
* /opt/x86/qtopia-free-2.2.0/qt2/bin/qvfb
* /opt/x86/qtopia-free-2.2.0/dqt/bin/lrelease
* /opt/x86/qtopia-free-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
make[5]: /opt/x86/qtopia-free-2.2.0/qt2/bin/uic:命令未找到
make[5]: *** [../../../include/qtopia/private/passwordbase_p.h] 错误 127
make[5]: Leaving directory `/opt/x86/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/opt/x86/qtopia-free-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] 错误 2
make[3]: Leaving directory `/opt/x86/qtopia-free-2.2.0/qtopia/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/opt/x86/qtopia-free-2.2.0/qtopia/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/opt/x86/qtopia-free-2.2.0/qtopia'
请问该怎么解决?谢谢