[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libqt2.2(-dev) does not conflict libqt2(-dev)??



Hello,

Take a look at this:

gerralt@gdevree:~$ dpkg --list libqt2*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libqt2         2.0.2-1.1      Qt GUI Library (runtime version).
ii  libqt2-dev     2.0.2-1.1      Qt GUI library (development version).
un  libqt2.1       <none>         (no description available)
un  libqt2.1-dev   <none>         (no description available)
rc  libqt2.2       2.2.3-0.potato Qt GUI Library (runtime version).
ii  libqt2.2-dev   2.2.3-0.potato Qt GUI development headers, static libraries
ii  libqt2.2-gl    2.2.3-0.potato Qt GUI Library (Open GL Version).
un  libqt2.2-mt-de <none>         (no description available)

Is it correct that libqt2 and libqt2.2 can be installed at the same time?

If this is normal, what is going wrong then when I try to compile 
kpgpcrypt-2.0.1. It looks like qt2(.2)-dev is broken:

$ ./configure --with-extra-includes=/usr/include/kde
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for a C-Compiler...
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... g++
checking whether the C++ compiler (g++  -s) works... yes
checking whether the C++ compiler (g++  -s) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-rtti... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking whether g++ supports -frtti... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
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 whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for objdir... .libs
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.lo... yes
checking if g++ supports -fno-rtti -fno-exceptions ... yes
checking whether the 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... Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for the third argument of getsockname... 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 for killpg in -lucb... no
checking for bool... yes
checking for extra includes... added
checking for extra libs... no
checking for libz... -lz
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for libpng... -lpng -lz -lm
checking for Qt... libraries /usr/lib, headers /usr/include/qt
checking if Qt compiles without flags... yes
checking for moc... /usr/bin/moc
updating cache ./config.cache
creating ./config.status
creating Makefile
creating kpgpcrypt/Makefile
creating kpgpcrypt/docs/Makefile
creating kpgpcrypt/docs/en/Makefile
creating config.h

gerralt@gdevree:~/test/kpgpcrypt-2.0.1$ make
make  all-recursive
make[1]: Entering directory `/home/gerralt/test/kpgpcrypt-2.0.1'
Making all in kpgpcrypt
make[2]: Entering directory `/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt'
Making all in docs
make[3]: Entering directory 
`/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt/docs'
Making all in en
make[4]: Entering directory 
`/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt/docs/en'
make[4]: Entering directory 
`/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt/docs'
make[3]: Leaving directory `/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt/docs'
make[3]: Entering directory `/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt -I/usr/X11R6/include  
-I/usr/include/kde    -O2 -fno-exceptions -fno-rtti -fno-check-new  -c 
qconfig.cpp
In file included from /usr/include/qt/qfile.h:42,
                 from qconfig.h:21,
                 from /usr/include/qt/qfeatures.h:64,
                 from /usr/include/qt/qglobal.h:409,
                 from /usr/include/qt/qshared.h:42,
                 from /usr/include/qt/qgarray.h:42,
                 from /usr/include/qt/qarray.h:42,
                 from /usr/include/qt/qcstring.h:43,
                 from /usr/include/qt/qstring.h:43,
                 from qconfig.cpp:18:
/usr/include/qt/qiodevice.h:89: syntax error before `{'
/usr/include/qt/qiodevice.h:92: destructors must be member functions
/usr/include/qt/qiodevice.h:92: virtual outside class declaration
/usr/include/qt/qiodevice.h:94: non-member function `flags()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h: In function `int flags()':
/usr/include/qt/qiodevice.h:94: `ioMode' undeclared (first use this function)
/usr/include/qt/qiodevice.h:94: (Each undeclared identifier is reported only 
once
/usr/include/qt/qiodevice.h:94: for each function it appears in.)
/usr/include/qt/qiodevice.h: At top level:
/usr/include/qt/qiodevice.h:95: non-member function `mode()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:96: non-member function `state()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:98: non-member function `isDirectAccess()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:99: non-member function `isSequentialAccess()' 
cannot have `const' method qualifier
/usr/include/qt/qiodevice.h:100: non-member function `isCombinedAccess()' 
cannot have `const' method qualifier/usr/include/qt/qiodevice.h:101: 
non-member function `isBuffered()' cannot have `const' method qualifier
/usr/include/qt/qiodevice.h:102: non-member function `isRaw()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:103: non-member function `isSynchronous()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:104: non-member function `isAsynchronous()' 
cannot have `const' method qualifier
/usr/include/qt/qiodevice.h:105: non-member function `isTranslated()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:106: non-member function `isReadable()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:107: non-member function `isWritable()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:108: non-member function `isReadWrite()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:109: non-member function `isInactive()' cannot 
have `const' method qualifier
/usr/include/qt/qiodevice.h:110: non-member function `isOpen()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:112: non-member function `status()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h: In function `int status()':
/usr/include/qt/qiodevice.h:112: `ioSt' undeclared (first use this function)
/usr/include/qt/qiodevice.h: At top level:
/usr/include/qt/qiodevice.h:115: virtual outside class declaration
/usr/include/qt/qiodevice.h:115: function `bool open(int)' is initialized 
like a variable
/usr/include/qt/qiodevice.h:116: virtual outside class declaration
/usr/include/qt/qiodevice.h:116: function `void close()' is initialized like 
a variable
/usr/include/qt/qiodevice.h:117: virtual outside class declaration
/usr/include/qt/qiodevice.h:117: function `void flush()' is initialized like 
a variable
/usr/include/qt/qiodevice.h:119: virtual outside class declaration
/usr/include/qt/qiodevice.h:119: non-member function `size()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:119: function `uint size()' is initialized like a 
variable
/usr/include/qt/qiodevice.h:120: virtual outside class declaration
/usr/include/qt/qiodevice.h:120: non-member function `at()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:121: virtual outside class declaration
/usr/include/qt/qiodevice.h:122: virtual outside class declaration
/usr/include/qt/qiodevice.h:122: non-member function `atEnd()' cannot have 
`const' method qualifier
/usr/include/qt/qiodevice.h:125: virtual outside class declaration
/usr/include/qt/qiodevice.h:125: function `int readBlock(char *, unsigned 
int)' is initialized like a variable/usr/include/qt/qiodevice.h:126: virtual 
outside class declaration
/usr/include/qt/qiodevice.h:126: function `int writeBlock(const char *, 
unsigned int)' is initialized like a variable
/usr/include/qt/qiodevice.h:127: virtual outside class declaration
/usr/include/qt/qiodevice.h:128: parse error before `&'
/usr/include/qt/qiodevice.h:129: syntax error before `('
/usr/include/qt/qiodevice.h:131: virtual outside class declaration
/usr/include/qt/qiodevice.h:131: function `int getch()' is initialized like a 
variable
/usr/include/qt/qiodevice.h:132: virtual outside class declaration
/usr/include/qt/qiodevice.h:132: function `int putch(int)' is initialized 
like a variable
/usr/include/qt/qiodevice.h:133: virtual outside class declaration
/usr/include/qt/qiodevice.h:133: function `int ungetch(int)' is initialized 
like a variable
/usr/include/qt/qiodevice.h:135: parse error before `protected'
/usr/include/qt/qiodevice.h:143: parse error before `private'
/usr/include/qt/qiodevice.h:145: `int ioSt' used prior to declaration
/usr/include/qt/qiodevice.h:147: parse error before `private'
/usr/include/qt/qiodevice.h:150: syntax error before `&'
In file included from qconfig.h:21,
                 from /usr/include/qt/qfeatures.h:64,
                 from /usr/include/qt/qglobal.h:409,
                 from /usr/include/qt/qshared.h:42,
                 from /usr/include/qt/qgarray.h:42,
                 from /usr/include/qt/qarray.h:42,
                 from /usr/include/qt/qcstring.h:43,
                 from /usr/include/qt/qstring.h:43,
                 from qconfig.cpp:18:
/usr/include/qt/qfile.h:50: syntax error before `:'
/usr/include/qt/qfile.h:54: parse error before `&'
/usr/include/qt/qfile.h:55: destructors must be member functions
/usr/include/qt/qfile.h:57: syntax error before `('
/usr/include/qt/qfile.h:58: parse error before `&'
/usr/include/qt/qfile.h:60: `EncoderFn' was not declared in this scope
/usr/include/qt/qfile.h:60: parse error before `&'
/usr/include/qt/qfile.h:60: typedef declaration includes an initializer
/usr/include/qt/qfile.h:60: confused by earlier errors, bailing out
make[3]: *** [qconfig.o] Error 1
make[3]: Leaving directory `/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gerralt/test/kpgpcrypt-2.0.1/kpgpcrypt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gerralt/test/kpgpcrypt-2.0.1'
make: *** [all-recursive-am] Error 2
gerralt@gdevree:~/test/kpgpcrypt-2.0.1$

I hope that someone can tell me what went wrong....

Gerralt



Reply to: