天嵌 ARM开发社区

 找回密码
 注册
查看: 2537|回复: 2

Qte 執行 ./build 出現這個問題??

[复制链接]
dhajmd 发表于 2009-7-7 11:42:49 | 显示全部楼层 |阅读模式
checking size of int... 4

checking for long... yes

checking size of long... 4

checking for char *... yes

checking size of char *... 4

checking for char... yes

checking size of char... 1

checking for dlopen in -ldl... yes

checking for shl_unload in -ldld... no

checking for vsnprintf... yes

checking for snprintf... yes

checking for pthread_create in -lpthread... yes

checking for extra includes... no

checking for extra libs... added

checking for libz... -lz

checking for libpng... no

checking for libjpeg6b... no

checking for libjpeg... no

configure: WARNING: libjpeg not found. disable JPEG support.

checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!

For more details about this problem, look at the end of config.log.

make: *** No targets specified and no makefile found.  Stop.

root@dhajmd-ubuntu:/opt/EmbedSky/Qte/x86-qtopia#

這個問題要如何解決??還有在build的過程中,會出現一些error會和這個問題出現有關嗎??
 楼主| dhajmd 发表于 2009-7-7 11:56:50 | 显示全部楼层
tar xfvz tmake-1.11.tar.gz

tar xfvz qt-embedded-2.3.7.tar.gz

tar xfvz qtopia-free-1.7.0.tar.gz

tar xfvz qt-x11-2.3.2.tar.gz

tar xvzf konqueror-embedded-snapshot-20030705.tar.gz

mv konqueror-embedded-snapshot-20030705 konq-em

mv tmake-1.11 tmake

mv qt-2.3.7 qt

mv qtopia-free-1.7.0 qtopia

mv qt-2.3.2 qt-x11

cd qt-x11

export QTDIR=$PWD

echo yes | ./configure -static -no-xft -no-opengl -no-sm

make -C src/moc

cp src/moc/moc bin

make -C src

make -C tools/qembed

make -C tools/designer

make -C tools/qvfb

cp tools/qvfb/qvfb tools/qembed/qembed bin

strip bin/uic bin/moc bin/designer bin/qvfb bin/qembed

cd ..

cp qt-x11/bin/?* qt/bin

#rm -fr qt-x11        #HJ

export QTDIR=$PWD/qt

export QPEDIR=$PWD/qtopia

export TMAKEDIR=$PWD/tmake

export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++

export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH

cd qt

make clean

cp ../qtopia/src/qt/qconfig-qpe.h src/tools/

(echo yes; echo yes ) |./configure -system-jpeg -gif -system-libpng -system-zlib -platform linux-generic-g++  -qconfig qpe -depths 16,24,32

make -C src

cd ..

cd qtopia/src

./configure  -platform linux-generic-g++

make

cd ../..

#export QTDIR=$PWD/qt

#export QPEDIR=$PWD/qtopia

#export TMAKEDIR=$PWD/tmake

#export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++

#export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH

cd konq-em

./configure --enable-embedded --enable-qt-embedded --enable-qpe --with-gui=qpe --disable-debug --enable-ftp --enable-static --disable-shared --disable-mt --with-extra-libs=$QPEDIR/lib --with-extra-include=$QPEDIR/include --without-ssl --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR

make

cd ..

這是build裡的內容......我是用ubumtu 7.0.4
亚瑟王 发表于 2009-7-8 21:38:00 | 显示全部楼层
你的ubuntu里面自带的gcc编译器应该缺少某些库文件导致的。
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!
这句话是你自己编译的qte的库没有生效导致的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-4-29 18:54 , Processed in 1.031243 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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