Qt... configure: error: Qt (>= Qt 2.2.2) (headers…
[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
解决办法:
Qt... configure: error: Qt (>= Qt 2.2.2) (headers…的更多相关文章
- ceph 源码安装 configure: error: "Can't find boost spirit headers"
问题:configure: error: "Can't find boost spirit headers" 解决: 推荐:sudo apt-get install libboos ...
- Qt configure 参数说明(中文)
Qt configure 在编译QT前,可加各种参数来定制自己想要的QT库.这对需要裁减QT库的朋友来说非常重要.对于如何编译QT,可以参考:http://hi.baidu.com/agassi%5F ...
- ubuntu qt :-1: error cannot find lgl
安装package "libgl1-mesa-dev": sudo apt-get install libgl1-mesa-dev 参考文献: Qt: can't find -lG ...
- Qt creator error: LNK1123: 转换到 COFF 期间失败: 文件无效或损坏(vs2010的嵌入式清单文件)
下面是vs2010导入别人文件时出现的问题的解决方案:VS2010在经历一些更新后,建立Win32 Console Project时会出“error LNK1123” 错误,解决方案为将 项目|项目属 ...
- Qt Creator error: LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
Qt Creator error: LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 治标又治本的解决方法: 找到在 { C:\Windows\Microsoft.NET\Fra ...
- Qt error:QtThese QT version are inaccessible
安装完Qt Add-in 打开VS2013的时候出现标题错误. QTDIR 需要设置成Qt安装目录下的vc,这个vc目录下包含include,lib,bin等文件夹.或者是在Qt Option里面设置 ...
- QT核心编程之Qt线程 (c)
QT核心编程之Qt线程是本节要介绍的内容,QT核心编程我们要分几个部分来介绍,想参考更多内容,请看末尾的编辑推荐进行详细阅读,先来看本篇内容. Qt对线程提供了支持,它引入了一些基本与平台无关的线程类 ...
- 详解 QT 源码之 Qt 事件机制原理
QT 源码之 Qt 事件机制原理是本文要介绍的内容,在用Qt写Gui程序的时候,在main函数里面最后依据都是app.exec();很多书上对这句的解释是,使 Qt 程序进入消息循环.下面我们就到ex ...
- QT征程之初识qt
下载 https://www.qt.io/cn/download-open-source/ 下载QT离线安装包 Qt 5.5.1 for Linux 32-bit (546 MB) (info ...
随机推荐
- c#调用c++ dll的几种类型(转)
http://www.sosuo8.com/article-2012/dllleixingzhuanhuan.htm 在合作开发时,C#时常需要调用C++DLL,当传递参数时时常遇到问题,尤其是传 ...
- Hadoop上路-03_Hadoop JavaAPI
一.Eclipse安装 1.下载解压 下载:http://www.eclipse.org/downloads/ 解压:SHELL$ sudo tar -zxvf eclipse.tar.gz 2.快捷 ...
- 优雅地对泛型List 进行深拷贝
public class People { public string Name; public int Age; public People(string name, int age) { this ...
- 机器学习框架Scikit Learn的学习
一 安装 安装pip 代码如下:# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=83 ...
- Linux cat命令参数及使用方法详解
cat是Linux系统下用来查看文件连续内容用的指令,字面上的含意是“concatenate”(连续)的缩写.除了用来作为显示文件内容外,cat指令也可用于标准流上的处理,如将显示的信息转入或附加另一 ...
- JavaFx2.0中CSS的应用
http://user.qzone.qq.com/773534839#!app=2&via=QZ.HashRefresh&pos=1326994508 ———————————————— ...
- HDU 4911 Inversion (逆序数 归并排序)
Inversion 题目链接: http://acm.hust.edu.cn/vjudge/contest/121349#problem/A Description bobo has a sequen ...
- nyoj 203 三国志(最短路加01背包)
三国志 时间限制:3000 ms | 内存限制:65535 KB 难度:5 描述 <三国志>是一款很经典的经营策略类游戏.我们的小白同学是这款游戏的忠实玩家.现在他把游戏简化一下, ...
- BestCoder Round #65 hdu5591(尼姆博弈)
ZYB's Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total ...
- C#学习笔记(十六):Attribute
Attribute可以为类或方法添加一些附加的信息,我们可以看看MSDN对Attribute的描述: 公共语言运行时允许你添加类似关键字的描述声明,叫做attributes, 它对程序中的元素进行标注 ...