换个新发行版吧,RH9 太老了,可以考虑 ubuntu, fedora等发行版,更推荐gentoo
先解决包依赖问题,然后慢慢安,我前段时间安了 qtopia-core ,中间遇到些问题,
以下是之前记录的一些东西,不知道对你有用不,
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin 为host交叉编译器目录,
拷一个最相近的修改 /opt/qtopia/embedded_qtopia/qtopia-opensource-4.2.4/qtopiacore/qt/mkspecs/qws/linux-arm_v5t_le-g
*******************************************************************************
Qtopia Core (target) is configured
*******************************************************************************
ERROR: You must provide custom files in the following locations:
/opt/qtopia/embedded_qtopia/qtopia-opensource-4.2.4/src/libraries/qtopiabase/custom-linux-arm_v5t_le-g++.h
/opt/qtopia/embedded_qtopia/qtopia-opensource-4.2.4/src/libraries/qtopiabase/custom-linux-arm_v5t_le-g++.cpp
解决 ;
/opt/qtopia/embedded_qtopia/qtopia-opensource-4.2.4/src/libraries/qtopiabase
cp
[axlrose@ibmgentoo qtopiabase] $ cp custom-linux-ipaq-g++.cpp custom-linux-arm_v5t_le-g++.cpp
[axlrose@ibmgentoo qtopiabase] $ cp custom-linux-ipaq-g++.h custom-linux-arm_v5t_le-g++.h
export QWS_MOUSE_PROTO=“USB:/dev/mice"
[I] dev-libs/libevent
Available versions: 1.3a ~1.3e 1.4.3 1.4.4 ~1.4.5
Installed versions: 1.4.4(19时28分18秒 2008年07月14日)
Homepage:
http://monkey.org/~provos/libevent/ Description: A library to execute a function when a specific event occurs on a file descriptor
编译qtopia时发现 找不到 asm/page.h ,把内核中的文件拷到 /usr/include/asm下面就OK了
要在qvfb&./xxxxx -qws (上面忘了加 qws) 要不然要出问题
把 qtopia/bin加到PATH中,使用 qtopiamake而不是qmake
默认没有这个类
想用的话自己改 src/tools/qconfig-qpe.h 找到对应的宏给注释掉, 重新configure;make
查找到 /qtopiacore/qconfig-qpe.h
axlrose@mygentoo application] $ ./application -qws
Connected to VFB server :0: 320 x 240 x 32 113x85mm (71x71dpi)
./application: symbol lookup error: ./application: undefined symbol: _ZN7QWidget9dropEventEP10QDropEvent
make install 后就OK了