PDA

View Full Version : Qt-4.4.0 installation error in linux



babu198649
17th May 2008, 13:41
hi
i got error while compiling Qt-4.4.0.
my version of linux is

[babu@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux


the error was

../../sqlite/sqlite3.c:96100: error: invalid type argument of `unary *'
../../sqlite/sqlite3.c:96100: error: dereferencing pointer to incomplete type
../../sqlite/sqlite3.c:96101: error: invalid type argument of `unary *'
../../sqlite/sqlite3.c:96101: error: dereferencing pointer to incomplete type
../../sqlite/sqlite3.c:96127:2: #endif without #if
../../sqlite/sqlite3.c:96128:2: #endif without #if
../../sqlite/sqlite3.c:96125: confused by earlier errors, bailing out
make[1]: *** [.obj/release-shared/sqlite3.o] Error 1
make[1]: Leaving directory `/home/babu/tools/build/qt-x11-opensource-src-4.4.0/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2



and the compiler version is

[babu@localhost ~]$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

wysota
18th May 2008, 08:04
What did you pass to configure?

babu198649
19th May 2008, 07:13
nothing


some of the testing messages displayed while configuration is
[babu@localhost qt-x11-opensource-src-4.4.0]$ ./configure
.......
..........

Debug ............... no
Qt 3 compatibility .. yes
QtDBus module ....... no
QtXmlPatterns module yes
Phonon module ....... no
SVG module .......... yes
WebKit module ....... yes
STL support ......... yes
PCH support ......... yes
MMX/3DNOW/SSE/SSE2.. yes/no/yes/yes
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support .. yes
Accessibility ....... yes
NIS support ......... yes
CUPS support ........ yes
Iconv support ....... yes
Glib support ........ yes
GStreamer support ... no
Large File support .. yes
GIF support ......... plugin
TIFF support ........ plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
MNG support ......... plugin (qt)
zlib support ........ system
OpenGL support ...... yes
NAS sound support ... no
Session management .. yes
XShape support ...... yes
Xinerama support .... runtime
Xcursor support ..... runtime
Xfixes support ...... runtime
Xrandr support ...... yes
Xrender support ..... yes
FontConfig support .. yes
XKB Support ......... yes
immodule support .... yes
MySQL support ....... plugin
SQLite support ...... plugin (qt)
OpenSSL support ..... yes (run-time)

.......
..........

wysota
19th May 2008, 07:42
If you don't need WebKit, disable it from being built by passing an appropriate option to configure (see configure -help for more info). You probably lack some of its dependencies.

lyuts
27th May 2008, 14:35
hi
i got error while compiling Qt-4.4.0.
my version of linux is

[babu@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux


the error was

../../sqlite/sqlite3.c:96100: error: invalid type argument of `unary *'
../../sqlite/sqlite3.c:96100: error: dereferencing pointer to incomplete type
../../sqlite/sqlite3.c:96101: error: invalid type argument of `unary *'
../../sqlite/sqlite3.c:96101: error: dereferencing pointer to incomplete type
../../sqlite/sqlite3.c:96127:2: #endif without #if
../../sqlite/sqlite3.c:96128:2: #endif without #if
../../sqlite/sqlite3.c:96125: confused by earlier errors, bailing out
make[1]: *** [.obj/release-shared/sqlite3.o] Error 1
make[1]: Leaving directory `/home/babu/tools/build/qt-x11-opensource-src-4.4.0/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2



and the compiler version is

[babu@localhost ~]$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

Do you have sqlite installed on your system?
You can try to disable sqlite support during "configure" and later (if you need it) compile qt's sqlite plugin.