天嵌 ARM开发社区

 找回密码
 注册
查看: 3685|回复: 11

ubuntu11.10 编译qtopia2.2.0 ./x86-qtopia-2.2.0-kongqueror_build出错

[复制链接]
huweiping8603 发表于 2012-1-30 17:48:24 | 显示全部楼层 |阅读模式
编译过程如附件:
***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"


This is the Qt Free Edition.



* ---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/moc
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lrelease
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/moc
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lrelease
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************

***********************************************************************
*  
*                  ERROR: Building Qtopia has failed.
*  
* Please search the make output for any error messages.
*  
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*  
* For more information about the build process please use a browser
* and go to the getting started section in:
*     /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/doc/html/index.html
*  
***********************************************************************

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="'-edition' 'pda' '-displaysize' '320x240' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-generic-g++'"

The following configuration values have been guessed or autodetected:
    -arch generic
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US
    -qvfb

Symlinking header files to include directory
Creating qmake...make[1]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/qmake'
.make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/qmake'

Creating pngscale...make[1]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/util/pngscale'
...make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/util/pngscale'

Generating makefiles................................................................................................................
make[1]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'
make[2]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[3]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
cd qt && make -f Makefile
make[4]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/qt'
make[5]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/qt'
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/qt'
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/qt'
cd libraries/qtopia && make -f Makefile
make[4]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[5]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic passwordbase_p.ui -o ../../../include/qtopia/private/passwordbase_p.h
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'

***********************************************************************
*  
*                  ERROR: Building Qtopia has failed.
*  
* Please search the make output for any error messages.
*  
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*  
* For more information about the build process please use a browser
* and go to the getting started section in:
*     /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/doc/html/index.html
*  
***********************************************************************

make[1]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/moc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/moc'
make[1]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src'
g++  -c -I/usr/X11R6/include -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include -I/usr/X11R6/include -pipe -O2 -Wall -W -DNO_DEBUG -fPIC -DQT_BUILTIN_GIF_READER=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -DQT_NO_XKB  -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/3rdparty/zlib -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src/3rdparty/libpng  -I3rdparty/kernel -I3rdparty/tools -o tmp/release-shared-linux-g++/tools/qmemoryfile_unix.o tools/qmemoryfile_unix.cpp
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src'
* ---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/moc
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lrelease
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************


Do you accept the terms of either license?
Creating qmake. Please wait...
make[1]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/qmake'
make[1]: `qmake' is up to date.
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/qmake'

        This target is using the GNU C++ compiler (linux-g++).

        Recent versions of this compiler automatically include code for
        exceptions, which increase both the size of the Qt library and the
        amount of memory taken by your applications.

        You may choose to re-run configure with the -no-exceptions
        option to compile Qt without exceptions. This is completely binary
        compatible, and existing applications should continue to work.



*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*






希望各位帮忙解答一下,我用的是ubuntu11.10,谢谢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| huweiping8603 发表于 2012-1-31 16:13:34 | 显示全部楼层
哪位大侠帮忙解答一下啊
回复

使用道具 举报

TQ-lkp 发表于 2012-1-31 17:13:33 | 显示全部楼层

回帖奖励 +5

你的脚本哪来的?
你参考我们光盘中的提供的编绎参数试下,如果不行一般是因为ubuntu的工具缺少,用yum install 安装上就可以了
回复

使用道具 举报

亚瑟王 发表于 2012-2-3 16:54:17 | 显示全部楼层
亲,
ubuntu编译x86版本的qt时基本上都会出错的。因为默认安装的ubuntu是缺少很多系统库的,这些都是需要自己安装的。一般来说,看错误信息就可以知道缺少哪些库了。(一般情况是缺少e2fsprogs这个库)。
这也就是为什么天嵌一直推荐使用fedora的原因,因为fedora安装时可以自行指定要安装哪些东西,不安装哪些东西,尽量将所需的库装多一些,防止因为缺少系统库而引起的编译出错。
回复

使用道具 举报

XZLL_HaoYue 发表于 2012-11-10 19:47:12 | 显示全部楼层
亚瑟王 发表于 2012-2-3 16:54
亲,
ubuntu编译x86版本的qt时基本上都会出错的。因为默认安装的ubuntu是缺少很多系统库的,这些都是需要自 ...

你好,我的fedora10怎么也出现了如下和楼主类似的问题呢……

* ---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/moc
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/qvfb
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lrelease
*   /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*
******************************************************************************
回复

使用道具 举报

亚瑟王 发表于 2012-11-12 09:54:54 | 显示全部楼层
XZLL_HaoYue 发表于 2012-11-10 19:47
你好,我的fedora10怎么也出现了如下和楼主类似的问题呢……

* ------------------------------------ ...

多数情况下也是我楼上讲的那个库没有安装引起的。从fedora光盘可以找到这个库的安装包的,如果还有错误,希望你将错误真正的地方找到,你现在给的这个信息不是真实的错误地方。
你开的另外一个帖子希望结贴,不然那个帖子依然处于未解决状态。帖子的链接:http://www.armbbs.net/forum.php? ... mp;page=1#pid155159
回复

使用道具 举报

XZLL_HaoYue 发表于 2012-11-12 22:32:06 | 显示全部楼层
亚瑟王 发表于 2012-11-12 09:54
多数情况下也是我楼上讲的那个库没有安装引起的。从fedora光盘可以找到这个库的安装包的,如果还有错误, ...

……不好意思,怎么结贴啊……
回复

使用道具 举报

亚瑟王 发表于 2012-11-13 14:10:05 | 显示全部楼层
XZLL_HaoYue 发表于 2012-11-12 22:32
……不好意思,怎么结贴啊……

点击“关闭”就可以了。
回复

使用道具 举报

XZLL_HaoYue 发表于 2012-11-15 22:52:39 | 显示全部楼层
亚瑟王 发表于 2012-11-13 14:10
点击“关闭”就可以了。

木有找到……
回复

使用道具 举报

亚瑟王 发表于 2012-11-19 15:35:11 | 显示全部楼层
XZLL_HaoYue 发表于 2012-11-15 22:52
木有找到……


亲,看到了吗?红色框中的。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

XZLL_HaoYue 发表于 2012-11-19 16:17:27 | 显示全部楼层
亚瑟王 发表于 2012-11-19 15:35
亲,看到了吗?红色框中的。

我很无奈,也很无语,提问的问题没有大牛回答,还要四处找怎样结贴……亚瑟王大老,不好意思我还是没找到,我的截图是这样的……

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

亚瑟王 发表于 2012-11-19 17:18:46 | 显示全部楼层
XZLL_HaoYue 发表于 2012-11-19 16:17
我很无奈,也很无语,提问的问题没有大牛回答,还要四处找怎样结贴……亚瑟王大老,不好意思我还是没找到 ...

哦,这个功能只有帖子的楼主才有,可能你的权限不够吧。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-22 05:00 , Processed in 2.037026 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表