天嵌 ARM开发社区

 找回密码
 注册
查看: 4444|回复: 6

运行./x86-qtopia-2.2.0-konqueror_build出错

[复制链接]
wangjvtnt2004 发表于 2011-1-5 20:50:58 | 显示全部楼层 |阅读模式
在安装PC版QT时,运行./x86-qtopia-2.2.0-konqueror_build 最终出现如下错误:(
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. P
lease check your installation!
For more details about this problem, look at the end of config.log.
然后查看config.log,得到具体信息如下:不知道是哪的问题
[root@localhost konqueror]# cat config.log|grep qt
  $ ./configure --enable-embedded --enable-qt-embedded --enable-qpe --with-gui=qpe --disable-debug -
-enable-ftp --enable-static --disable-shared --enable-largeicons --enable-fontsubs --enable-cgi --wi
th-konq-tmp-prefix=/root/ --disable-mt --with-extra-libs=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/l
ib --with-extra-include=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/include --without-ssl --with-qt-di
r=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2 --with-qt-includes=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/i
nclude --with-qt-libraries=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/lib --with-qtopia-dir=/opt/EmbedSk
y/Qte/x86-qtopia-2.2.0/qtopia
PATH: /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/bin
PATH: /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin
PATH: /opt/EmbedSky/Qte/x86-qtopia-2.2.0/dqt/bin
configure:21554: gcc -o conftest -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrit
e-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2     -DQWS -D_REENTRANT  conftest.c   -L/opt
/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -lz  >&5
configure:21641: gcc -o conftest -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrit
e-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2     -DQWS -D_REENTRANT  conftest.c    -L/op
t/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -lpng -lz -lm >&5
configure:21731: gcc -o conftest -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrit
e-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2     -DQWS -D_REENTRANT  conftest.c   -L/opt
/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -ljpeg6b -lm >&5
configure:21811: gcc -o conftest -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrit
e-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2     -DQWS -D_REENTRANT  conftest.c   -L/opt
/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -ljpeg -lm >&5
configure: 22103: /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include/qstyle.h
configure:22211: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wc
ast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-rtti -I/opt/Embed
Sky/Qte/x86-qtopia-2.2.0/qt2/include  -DQWS -D_REENTRANT  -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/l
ib   -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib  conftest.cc  -lqte -lpng -lz -lm -ljpeg  1>&5
/usr/bin/ld: cannot find -lqte
configure:22254: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!
ac_cv_have_qt=have_qt=no
ACLOCAL='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run aclocal-1.7'
AMTAR='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run tar'
AUTOCONF='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run autoconf'
AUTOHEADER='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run automake-1.7'
KDE_EXTRA_RPATH=' -R /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib'
MAKEINFO='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run makeinfo'
USER_LDFLAGS=' -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib'
install_sh='/opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/install-sh'
kde_qtver='2'
qt_includes=''
qt_libraries=''
各位大侠帮帮看看哈~
天嵌_support1 发表于 2011-1-6 11:27:35 | 显示全部楼层
1# wangjvtnt2004

./x86-qtopia-2.2.0-konqueror_build

这个是编译浏览器而已
你要先编译那个 qtopia的源码哦。
./x86-qtopia-2.2.0-build  这个文件
回复

使用道具 举报

 楼主| wangjvtnt2004 发表于 2011-1-6 21:20:36 | 显示全部楼层
我先执行./x86-qtopia-2.2.0_build,而且我也看了该脚本,其实是在下面一句出错的:
if [ -f x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/qpe ] ; then
        echo "the qpe program is already !"
else  //我编译的时候执行了else后面的部分
        echo "Build x86-qtopia-2.2.0 , please wait ..."
        echo " "
        cd x86-qtopia-2.2.0
        echo yes | ./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -gif' -qpe '-edition pda -displaysize 320x240  -fontfamilies "helvetica fixed micro smallsmooth smoothtimes unifont"' -qt2 '-no-opengl -no-xft' -dqt '-no-xft -thread' &&
        make &&
        make install &&
        echo " done !"
        cp -f qt2/lib/fonts/unifont_160_50.qpf qtopia/image/opt/Qtopia/lib/fonts/
        chmod +x set*Env
        mkdir -p qtopia/image/opt/Qtopia/apps/EmbedSky/
        cd ..
fi
然后出现了错误,最后出现错误的部分如下:
_p.o .obj/release-shared/moc_categoryedit_p.o .obj/release-shared/moc_qpedecoration_p.o .obj/release-shared/moc_bgexport_p.o .obj/release-shared/moc_qlibrary_p.o .obj/release-shared/moc_passwordbase_p.o .obj/release-shared/moc_categoryeditbase_p.o   -lcrypt -luuid -lm -ldl -ldl -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/lib -lqte
/usr/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
make[5]: *** [../../../lib/libqpe.so.1.5.3] Error 1
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: *** [all] Error 2
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
*
***********************************************************************
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/scripts/buildQtopia -build qpe installQtopia Tools exist.
  
***********************************
********* 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++'"
  
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'
test -d ../../../lib/ || mkdir -p ../../../lib/
rm -f libqpe.so.1.5.3 libqpe.so libqpe.so.1 libqpe.so.1.5
g++ -shared -Wl,-soname,libqpe.so.1 -o libqpe.so.1.5.3 .obj/release-shared/qmemoryfile.o .obj/release-shared/calendar.o .obj/release-shared/global.o .obj/release-shared/localtr.o .obj/release-shared/mimetype.o .obj/release-shared/menubutton.o .obj/release-shared/filemanager.o .obj/release-shared/fileselector.o .obj/release-shared/resource.o .obj/release-shared/qpeapplication.o .obj/release-shared/qpestyle.o .obj/release-shared/qpedialog.o .obj/release-shared/config.o .obj/release-shared/applnk.o .obj/release-shared/sound.o .obj/release-shared/tzselect.o
.obj/release-shared/qmath.o .obj/release-shared/alarmserver.o .obj/release-shared/password.o .obj/release-shared/timestring.o .obj/release-shared/storage.o .obj/release-shared/qpemessagebox.o .obj/release-shared/qpedebug.o .obj/release-shared/qpemenubar.o .obj/release-shared/qpetoolbar.o .obj/release-shared/categorymenu.o .obj/release-shared/categoryedit_p.o .obj/release-shared/categoryselect.o .obj/release-shared/categorywidget.o .obj/release-shared/mediarecorderplugininterface.o .obj/release-shared/mediaplayerplugininterface.o .obj/release-shared/qdawg.o .obj/release-shared/datebookdb.o .obj/release-shared/xmlreader.o .obj/release-shared/imageedit.o .obj/release-shared/datebookmonth.o .obj/release-shared/qmemoryfile_unix.o .obj/release-shared/custom-qtopia.o .obj/release-shared/fontmanager.o .obj/release-shared/fontdatabase.o .obj/release-shared/qpedecoration_qws.o
.obj/release-shared/network.o .obj/release-shared/networkinterface.o .obj/release-shared/qcopenvelope_qws.o .obj/release-shared/power.o .obj/release-shared/ir.o .obj/release-shared/pluginloader_p.o .obj/release-shared/bgexport.o .obj/release-shared/quuid.o .obj/release-shared/qlibrary.o .obj/release-shared/process.o .obj/release-shared/process_unix.o .obj/release-shared/qlibrary_unix.o .obj/release-shared/categories.o .obj/release-shared/stringutil.o .obj/release-shared/vcc_yacc.o .obj/release-shared/vobject.o .obj/release-shared/cp1252textcodec.o .obj/release-shared/contact.o .obj/release-shared/event.o .obj/release-shared/timeconversion.o .obj/release-shared/palmtoprecord.o .obj/release-shared/task.o .obj/release-shared/passwordbase_p.o .obj/release-shared/categoryeditbase_p.o .obj/release-shared/moc_menubutton.o .obj/release-shared/moc_fileselector.o .obj/release-shared/moc_qpeapplication.o .obj/release-shared/moc_qpedialog.o .obj/release-shared/moc_tzselect.o .obj/release-shared/moc_storage.o .obj/release-shared/moc_qpemenubar.o .obj/release-shared/moc_qpetoolbar.o .obj/release-shared/moc_categories.o .obj/release-shared/moc_categorymenu.o .obj/release-shared/moc_categoryselect.o .obj/release-shared/moc_imageedit.o .obj/release-shared/moc_datebookmonth.o .obj/release-shared/moc_ir.o .obj/release-shared/moc_process.o .obj/release-shared/moc_fileselector_p.o .obj/release-shared/moc_categoryedit_p.o .obj/release-shared/moc_qpedecoration_p.o .obj/release-shared/moc_bgexport_p.o .obj/release-shared/moc_qlibrary_p.o .obj/release-shared/moc_passwordbase_p.o .obj/release-shared/moc_categoryeditbase_p.o   -lcrypt -luuid -lm -ldl -ldl -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/lib -lqte
/usr/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
make[5]: *** [../../../lib/libqpe.so.1.5.3] Error 1
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'
done !
cp: cannot create regular file `qtopia/image/opt/Qtopia/lib/fonts/unifont_160_50.qpf': No such file or directory
回复

使用道具 举报

guoxixiao 发表于 2011-1-7 00:09:00 | 显示全部楼层
问题解决没?
回复

使用道具 举报

天嵌_support1 发表于 2011-1-7 11:31:27 | 显示全部楼层
回复

使用道具 举报

 楼主| wangjvtnt2004 发表于 2011-1-8 14:43:58 | 显示全部楼层
谢谢了,换了Fedora 10,问题已解决。个人总结了下完整版的Fedora 10的过程,希望能帮助和我一样错误的人,大家都用 Fedora 10吧~~
http://bbs.embedsky.net/viewthread.php?tid=8073
回复

使用道具 举报

XZLL_HaoYue 发表于 2012-11-10 20:41:38 | 显示全部楼层
wangjvtnt2004 发表于 2011-1-8 14:43
谢谢了,换了Fedora 10,问题已解决。个人总结了下完整版的Fedora 10的过程,希望能帮助和我一样错误的人, ...

请问你的Fedora10的安装是按照视频上的安装的吗?
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2025-6-20 08:04 , Processed in 2.034698 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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