[root@localhost LG]# cd /opt/EmbedSky/
[root@localhost EmbedSky]# ls
4.3.3 crosstools_3.4.5_softfloat Qte
[root@localhost EmbedSky]# cd Qte/
[root@localhost Qte]# ls
arm-qtopia-2.2.0_build setX86_QpeEnv
arm-qtopia-2.2.0-konqueror_build test_x86
EmbedSky_apps.tar.bz2 tslib-1.4.1.tar.bz2
konqueror.tar.bz2 x86-qtopia-2.2.0
qtopia-2.2.0.tar.bz2 x86-qtopia-2.2.0_build
setARM_QpeEnv x86-qtopia-2.2.0-konqueror_build
[root@localhost Qte]# ./x86-qtopia-2.2.0-konqueror_build
Build x86-qtopia-2.2.0 , please wait ...
the x86-qtopia-2.2.0 directory is already !
Build x86-qtopia-2.2.0 , please wait ...
the Qtopia Free Edition License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Using the following configurations:
QPE_CFG="'-edition'
'pda' '-displaysize' '320x240' '-fontfamilies' 'helvetica fixed micro
smallsmooth smoothtimes unifont' -no-qtopiadesktop -release -platform
'linux-g++' -xplatform 'linux-generic-g++'"
QTE_CFG="'-embedded'
'-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-system-jpeg' '-gif'
-release -platform 'linux-g++' -xplatform 'linux-generic-g++'"
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"
DQT_CFG="'-no-xft' '-thread' -platform 'linux-g++'"
Type "make install" to install Qtopia.
Type "make cleaninstall" to install Qtopia after removing the image first (avoid stale files in the image).
Type "make clean" to clean the qtopia bundle.
Type "make cleantools" to clean the tools bundle.
source the set...Env script. eg. . ./setQpeEnv; cd $QPEDIR; make
Qtopia Tools exist.
***********************************
********* Build Qt/Embedded *******
***********************************
QTE_CFG="'-embedded'
'-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-system-jpeg' '-gif'
-release -platform 'linux-g++' -xplatform 'linux-generic-g++'"
the GNU General Public License (GPL).
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
symlink created for src/tools/qconfig-qpe.h
code for exceptions, which increase both the size of
the Qt library and the amount of memory taken by your
applications.
option to compile Qt without exceptions. This is
completely binary compatible, and existing
applications will continue to work (like KDE 2).
Building for: linux-generic-g++-shared
Configuration...................... qconfig-qpe.h
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/src'
***********************************
********* 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++'"
wThe following configuration values have been guessed or autodetected:
-arch generic
-fontsizes all
-fontstyles 50 50i 75 75i
-languages en_US
-qvfb
wCreating qmake...No makedepend available
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'
...make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/util/pngscale'
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'
g++
-c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG
-I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/mkspecs/qws/linux-generic-g++
-I. -I../../../include/qtopia/private -I../../../pics/qpe
-I../../../include -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include
-I../../../include/qtopia/private/ -I.moc/release-shared/ -o
.obj/release-shared/vobject.o backend/vobject.cpp
backend/vobject.cpp: In function ‘VObject* addGroup(VObject*, const char*)’:
backend/vobject.cpp:419: 错误:从类型‘const char*’到类型‘char*’的转换无效
backend/vobject.cpp: In function ‘void writeEncString(OFile*, const char*, bool)’:
backend/vobject.cpp:1111: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
backend/vobject.cpp: In function ‘bool includesUnprintable(VObject*, bool)’:
backend/vobject.cpp:1168: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
backend/vobject.cpp:1169: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
make[5]: *** [.obj/release-shared/vobject.o] 错误 1
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] 错误 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: *** [all] 错误 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 install
Qtopia 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'
g++
-c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG
-I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/mkspecs/qws/linux-generic-g++
-I. -I../../../include/qtopia/private -I../../../pics/qpe
-I../../../include -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include
-I../../../include/qtopia/private/ -I.moc/release-shared/ -o
.obj/release-shared/vobject.o backend/vobject.cpp
backend/vobject.cpp: In function ‘VObject* addGroup(VObject*, const char*)’:
backend/vobject.cpp:419: 错误:从类型‘const char*’到类型‘char*’的转换无效
backend/vobject.cpp: In function ‘void writeEncString(OFile*, const char*, bool)’:
backend/vobject.cpp:1111: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
backend/vobject.cpp: In function ‘bool includesUnprintable(VObject*, bool)’:
backend/vobject.cpp:1168: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
backend/vobject.cpp:1169: 警告:建议在‘||’的操作数中出现的‘&&’前后加上括号
make[5]: *** [.obj/release-shared/vobject.o] 错误 1
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] 错误 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: *** [install] 错误 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'
done !
cp: 无法创建普通文件"qtopia/image/opt/Qtopia/lib/fonts/": 没有那个文件或目录
done !
the konqueror directory is already !
Build konqueror , please wait ...
./x86-qtopia-2.2.0-konqueror_build: line 26: .: setQpeEnv: file not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... no
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
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... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please
找到vobject.cpp文件的419行:
{
/*
a.b.c
-->
prop(c)
prop(VCGrouping=b)
prop(VCGrouping=a)
*/
char *dot = strrchr((char*)g,'.'); #419
if (dot) {
VObject *p, *t;
char *gs, *n = dot+1;
gs = dupStr(g,0); /* so we can write to it. */
……
make[6]: Entering directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin'
g++
-c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC
-DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"wavplugin\" -DQTOPIA_TRTARGET=\"libwavplugin\"
-DQT_NO_DEBUG
-I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/mkspecs/qws/linux-generic-g++
-I. -I../../../3rdparty/libraries/gsm -I../../../../include
-I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/wavplugin.o wavplugin.cpp
wavplugin.cpp: In member function ‘virtual bool WavPlugin::isFileSupported(const QString&)’:
wavplugin.cpp:435: 错误:从类型‘const char*’到类型‘char*’的转换无效
make[6]: *** [.obj/release-shared/wavplugin.o] 错误 1
make[6]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin'
make[5]: *** [all] 错误 2
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin'
make[4]: *** [sub-plugins-codecs-wavplugin] 错误 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[3]: *** [sub-src-components_pro] 错误 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: *** [install] 错误 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'
done !
cp: 无法创建普通文件"qtopia/image/opt/Qtopia/lib/fonts/": 没有那个文件或目录
done !
the konqueror directory is already !
Build konqueror , please wait ...
./x86-qtopia-2.2.0-konqueror_build: line 26: .: setQpeEnv: file not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... no
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
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... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installat
install -c
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/pics/mediaplayer/skins/techno/video_mask_loop.png
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/pics/mediaplayer/skins/techno/video_mask_loop.png
install
-c
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/pics/mediaplayer/skins/techno/video_mask_next.png
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/pics/mediaplayer/skins/techno/video_mask_next.png
install
-c
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/pics/mediaplayer/skins/techno/video_mask_play.png
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/pics/mediaplayer/skins/techno/video_mask_play.png
install
-c
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/pics/mediaplayer/skins/techno/video_mask_previous.png
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/pics/mediaplayer/skins/techno/video_mask_previous.png
install
-c
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/pics/mediaplayer/skins/techno/video_up.png
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/image/opt/Qtopia/pics/mediaplayer/skins/techno/video_up.png
make[8]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/etc/themes/mediaplayer/techno'
make[7]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/etc/themes/mediaplayer/techno'
make[6]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/etc/themes'
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/etc/themes'
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
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'
done !
done !
the konqueror directory is already !
Build konqueror , please wait ...
./x86-qtopia-2.2.0-konqueror_build: line 26: .: setQpeEnv: file not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
个错误不再报错,可是下面的无法继续编译,还是出现如题目所示的:checking for Qt... configure: error: Qt
(>= Qt 2.2.2) (headers and libraries) not found. Please……
the qpe program is already !
the konqueror directory is already !
Build konqueror , please wait ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... no
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
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... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
到这里就纠结了,上网看了下,别人说是头文件和库的路径不对,我看了一下/usr/lib/里面有两个与qt有关的文件夹,一个是qt-3.3,另外一个是qt4,这两个是fedora12一装就有的,我自己没有装过,另外我自己装的路径下有这些文件夹:
arm-qtopia-2.2.0_build qtopia-2.2.0.tar.bz2 tslib-1.4.1.tar.bz2
arm-qtopia-2.2.0-konqueror_build setARM_QpeEnv x86-qtopia-2.2.0
EmbedSky_apps.tar.bz2 setX86_QpeEnv x86-qtopia-2.2.0_build
konqueror.tar.bz2 test_x86 x86-qtopia-2.2.0-konqueror_build
[root@localhost Qte]# cd x86-qtopia-2.2.0
[root@localhost x86-qtopia-2.2.0]# ls
config.cache dqt LODI qt2 setDqtEnv setQteEnv
config.status konqueror Makefile qtopia setQpeEnv tmake
configure LICENSE.GPL Makefile.in README.html setQt2Env
$
./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
--with-konq-tmp-prefix=/root/ --disable-mt --with-extra-libs=/lib
--with-extra-include=/include --without-ssl
--with-qt-dir=/usr/lib/qt-3.3 --with-qt-includes=/usr/lib/qt-3.3/include
--with-qt-libraries=/usr/lib/qt-3.3/lib --with-qtopia-dir=
PATH: /usr/lib/qt-3.3/bin
configure: 22103: /usr/lib/qt-3.3/include/qstyle.h
configure: 22103: /usr/lib/qt-3.3/include/qstyle.h
configure: 22103: /usr/lib/qt-3.3/include/qstyle.h
configure: 22103: /usr/lib/qt-3.3/qstyle.h
configure: 22103: /usr/lib/qt2/include/qstyle.h
configure: 22103: /usr/lib/qt2/qstyle.h
configure: 22103: /usr/lib/qt/include/qstyle.h
configure: 22103: /usr/lib/qt/qstyle.h
configure: 22103: /usr/local/qt/include/qstyle.h
configure: 22103: /usr/include/qt/qstyle.h
configure: 22103: /usr/X11R6/include/X11/qt/qstyle.h
configure: 22103: /usr/X11R6/include/qt/qstyle.h
configure: 22103: /usr/X11R6/include/qt2/qstyle.h
configure:22214:
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 -Wcast-align -Wconversion
-DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-rtti -INO
-DQWS -D_REENTRANT -L/usr/lib/qt-3.3/lib -L/lib conftest.cc -lqte
-lpng -lz -lm -ljpeg 1>&5
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'
MAKEINFO='${SHELL} /opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/missing --run makeinfo'
install_sh='/opt/EmbedSky/Qte/x86-qtopia-2.2.0/konqueror/admin/install-sh'
kde_qtver='2'
qt_includes=''
qt_libraries=''
里面的configure进行修改,这个是看网上的人教的:
./configure
--prefix=/opt --with-qt-dir=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2
--with-qt-includes=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include/
--with-qt-libraries=/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/lib
./setQpeEnv
cd ../x86-qtopia-2.2.0/konqueror
source ./setQpeEnv
解决办法: