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

qvcd on debian-sid?



Trying to install qvcd-0.21 from source but it's looking for a older
version of qt, the version I'm using is 3.1.1
This is the output from #./configure

checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and
libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

Any ide on how to fix this?
-- 
ZekeVarg <ZekeVarg@linux.se>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:627: checking host system type
configure:648: checking target system type
configure:666: checking build system type
configure:706: checking for a BSD compatible install
configure:763: checking for -p flag to install
configure:786: checking whether build environment is sane
configure:843: checking whether make sets ${MAKE}
configure:889: checking for working aclocal
configure:902: checking for working autoconf
configure:915: checking for working automake
configure:928: checking for working autoheader
configure:941: checking for working makeinfo
configure:1048: checking for gcc
configure:1161: checking whether the C compiler (gcc   ) works
configure:1177: gcc -o conftest     conftest.c  1>&5
configure:1203: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1208: checking whether we are using GNU C
configure:1217: gcc -E conftest.c
configure:1236: checking whether gcc accepts -g
configure:1269: checking how to run the C preprocessor
configure:1290: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1382: checking for c++
configure:1414: checking whether the C++ compiler (c++   ) works
configure:1435: rm -rf SunWS_cache; c++ -o conftest     conftest.C  1>&5
configure:1461: checking whether the C++ compiler (c++   ) is a cross-compiler
configure:1466: checking whether we are using GNU C++
configure:1475: c++ -E conftest.C
configure:1494: checking whether c++ accepts -g
configure:1983: checking whether c++ supports -fno-exceptions
configure:2010: rm -rf SunWS_cache; c++ -o conftest -O2   -fno-exceptions   conftest.C  1>&5
configure:2041: checking whether c++ supports -fno-check-new
configure:2068: rm -rf SunWS_cache; c++ -o conftest -O2   -fno-exceptions -fno-check-new   conftest.C  1>&5
configure:2099: checking whether c++ supports -fexceptions
configure:2126: rm -rf SunWS_cache; c++ -o conftest -O2   -fno-exceptions -fno-check-new -fexceptions   conftest.C  1>&5
configure:2616: checking how to run the C++ preprocessor
configure:2637: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:2719: checking whether c++ supports -frepo
configure:2746: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions -fno-check-new -frepo   conftest.C  1>&5
conftest.C:1: warning: -frepo must be used with -c
configure:2973: checking for ld used by GCC
configure:3041: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.14.90.0.5 20030722 Debian GNU/Linux
configure:3058: checking for /usr/bin/ld option to reload object files
configure:3070: checking for BSD-compatible nm
configure:3108: checking whether ln -s works
configure:3129: checking how to recognise dependant libraries
configure:3450: checking for ranlib
configure:3517: checking for strip
configure:3689: checking for Cygwin environment
configure:3705: gcc -c -O2    conftest.c 1>&5
configure: In function `main':
configure:3701: error: `__CYGWIN32__' undeclared (first use in this function)
configure:3701: error: (Each undeclared identifier is reported only once
configure:3701: error: for each function it appears in.)
configure: failed program was:
#line 3694 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:3722: checking for mingw32 environment
configure:3734: gcc -c -O2    conftest.c 1>&5
configure: In function `main':
configure:3730: error: `__MINGW32__' undeclared (first use in this function)
configure:3730: error: (Each undeclared identifier is reported only once
configure:3730: error: for each function it appears in.)
configure: failed program was:
#line 3727 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
ltcf-c.sh:need_lc: gcc -c -O2    conftest.c 1>&5
ltcf-c.sh:need_lc: gcc -shared conftest.  -v -Wl,-soname -Wl,conftest -o conftest
ltconfig:678:checking for gcc option to produce PIC
ltconfig:687:checking that gcc PIC flag -fPIC -DPIC works.
ltconfig:697: gcc -c -O2   -fPIC -DPIC -DPIC  conftest.c 1>&5
ltconfig:749: checking if gcc static flag -static works
ltconfig:758: gcc -o conftest -O2     -static conftest.c  1>&5
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -O2   -o out/conftest2.o  conftest.c 1>&5
ltconfig:883: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:884: gcc -c -O2   -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: gcc -c -O2    conftest.c 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1479: gcc -o conftest -O2   -fno-builtin   conftest.c conftstm.o 1>&5
ltconfig:1583: checking for dlopen in -ldl
ltconfig:1603: gcc -o conftest -O2   -fno-builtin   conftest.c -ldl   1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1874: gcc -c -O2   -fno-builtin  conftest.c 1>&5 >/dev/null 2>conftest.out
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1957: gcc -o conftest -O2   -fno-builtin  -DHAVE_DLFCN_H  -Wl,--export-dynamic conftest.c -ldl  1>&5
ltconfig:1976: checking whether a statically linked program can dlopen itself
ltconfig:2031: gcc -o conftest -O2   -fno-builtin  -DHAVE_DLFCN_H  -Wl,--export-dynamic -static conftest.c -ldl  1>&5
ltconfig: failed program was:
/*#line 1984 "ltconfig"*/

#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif

#include <stdio.h>

#ifdef RTLD_GLOBAL
# define LTDL_GLOBAL	RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
#  define LTDL_GLOBAL	DL_GLOBAL
# else
#  define LTDL_GLOBAL	0
# endif
#endif

/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
   find out it does not work in some platform. */
#ifndef LTDL_LAZY_OR_NOW
# ifdef RTLD_LAZY
#  define LTDL_LAZY_OR_NOW	RTLD_LAZY
# else
#  ifdef DL_LAZY
#   define LTDL_LAZY_OR_NOW	DL_LAZY
#  else
#   ifdef RTLD_NOW
#    define LTDL_LAZY_OR_NOW	RTLD_NOW
#   else
#    ifdef DL_NOW
#     define LTDL_LAZY_OR_NOW	DL_NOW
#    else
#     define LTDL_LAZY_OR_NOW	0
#    endif
#   endif
#  endif
# endif
#endif

void fnord() { int i=42; }
int main() {
    void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
    if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
    if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); return 1; }

c++ -E conftest.cc
ltconfig:678:checking for c++ option to produce PIC
ltconfig:687:checking that c++ PIC flag -fPIC -DPIC works.
ltconfig:697: c++ -c -O2 -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC  conftest.cc 1>&5
ltconfig:749: checking if c++ static flag -static works
ltconfig:758: c++ -o conftest -O2 -fno-exceptions -fno-check-new   -static conftest.cc  1>&5
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if c++ supports -fno-rtti -fno-exceptions
ltconfig:884: c++ -c -O2 -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc  conftest.cc 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: c++ -c -O2 -fno-exceptions -fno-check-new  conftest.cc 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1479: c++ -o conftest -O2 -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions   conftest.cc conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
configure:3869: checking for object suffix
configure:3875: gcc -c -O2    conftest.c 1>&5
configure:3895: checking for executable suffix
configure:3905: gcc -o conftest -O2     conftest.c  1>&5
configure:4042: checking for msgfmt
configure:4076: checking for gmsgfmt
configure:4121: checking for xgettext
configure:4236: checking for main in -lutil
configure:4251: gcc -o conftest -O2     conftest.c -lutil   1>&5
configure:4272: checking for main in -lcompat
configure:4287: gcc -o conftest -O2     conftest.c -lcompat   1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 4280 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4309: checking for crypt in -lcrypt
configure:4328: gcc -o conftest -O2     conftest.c -lcrypt   1>&5
configure:4403: checking for socklen_t
configure:4433: c++ -c -O2 -fno-exceptions -fno-check-new  conftest.C 1>&5
configure:4500: checking for dnet_ntoa in -ldnet
configure:4519: gcc -o conftest -O2     conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 4508 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4541: checking for dnet_ntoa in -ldnet_stub
configure:4560: gcc -o conftest -O2     conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 4549 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4582: checking for inet_ntoa
configure:4610: gcc -o conftest -O2     conftest.c  1>&5
configure:4672: checking for connect
configure:4700: gcc -o conftest -O2     conftest.c  1>&5
configure:4763: checking for remove
configure:4791: gcc -o conftest -O2     conftest.c  1>&5
configure:4855: checking for shmat
configure:4883: gcc -o conftest -O2     conftest.c  1>&5
configure:4947: checking for res_init
configure:4975: gcc -o conftest -O2     conftest.c  1>&5
/tmp/cceErl6R.o(.text+0x9): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4952 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_init(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_init();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_init) || defined (__stub___res_init)
choke me
#else
res_init();
#endif

; return 0; }
configure:5010: gcc -o conftest -O2     conftest.c   -lresolv 1>&5
configure:5035: checking for killpg in -lucb
configure:5054: gcc -o conftest -O2     conftest.c -lucb   1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 5043 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char killpg();

int main() {
killpg()
; return 0; }
configure:5123: checking size of int
configure:5142: gcc -o conftest -O2     conftest.c  1>&5
configure:5161: checking size of long
configure:5180: gcc -o conftest -O2     conftest.c  1>&5
configure:5199: checking size of char *
configure:5218: gcc -o conftest -O2     conftest.c  1>&5
configure:5237: checking size of char
configure:5256: gcc -o conftest -O2     conftest.c  1>&5
configure:5277: checking for dlopen in -ldl
configure:5321: checking for shl_unload in -ldld
configure:5340: gcc -o conftest -O2     conftest.c -ldld   1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 5329 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_unload();

int main() {
shl_unload()
; return 0; }
configure:5369: checking for extra includes
configure:5400: checking for extra libs
configure:5434: checking for libz
configure:5460: gcc -o conftest -O2        conftest.c    -lz  -lresolv 1>&5
configure:5513: checking for X
configure:5552: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:5628: gcc -o conftest -O2     conftest.c -lXt  1>&5
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 5621 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:5802: checking for IceConnectionNumber in -lICE
configure:5821: gcc -o conftest -O2     -L/usr/X11R6/lib conftest.c -lICE  -lresolv  1>&5
configure:5850: checking for libXext
configure:5876: gcc -o conftest -O2     -L/usr/X11R6/lib  conftest.c -lXext -lX11  -lresolv 1>&5
configure:5903: checking for Xinerama
configure:6015: checking for pthread_create in -lpthread
configure:6034: gcc -o conftest -O2     conftest.c -lpthread   1>&5
configure:6310: checking for libpng
configure:6344: gcc -o conftest -O2   -I/usr/X11R6/include   -D_REENTRANT  conftest.c  -L/usr/X11R6/lib  -lpng -lz -lm -lX11  -lresolv 1>&5
configure:6333:20: png.h: No such file or directory
configure: In function `main':
configure:6337: error: `png_structp' undeclared (first use in this function)
configure:6337: error: (Each undeclared identifier is reported only once
configure:6337: error: for each function it appears in.)
configure:6337: error: syntax error before "png_ptr"
configure:6339: error: `png_ptr' undeclared (first use in this function)
configure: failed program was:
#line 6331 "configure"
#include "confdefs.h"
    
    #include<png.h>
    
int main() {

    png_structp png_ptr = png_create_read_struct(  /* image ptr */
		PNG_LIBPNG_VER_STRING, 0, 0, 0 );
    return( png_ptr != 0 );
    
; return 0; }
configure:6376: checking for libjpeg6b
configure:6414: gcc -o conftest -O2   -I/usr/X11R6/include   -D_REENTRANT  conftest.c -L/usr/X11R6/lib  -ljpeg6b -lm 1>&5
/usr/bin/ld: cannot find -ljpeg6b
collect2: ld returned 1 exit status
configure: failed program was:
#line 6393 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
struct jpeg_decompress_struct;
typedef struct jpeg_decompress_struct * j_decompress_ptr;
typedef int size_t;
#ifdef __cplusplus
extern "C" {
#endif
    void jpeg_CreateDecompress(j_decompress_ptr cinfo,
                                    int version, size_t structsize);
#ifdef __cplusplus
}
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */

int main() {
jpeg_CreateDecompress(0L, 0, 0);
; return 0; }
configure:6437: checking for libjpeg
configure:6475: gcc -o conftest -O2   -I/usr/X11R6/include   -D_REENTRANT  conftest.c -L/usr/X11R6/lib  -ljpeg -lm 1>&5
configure: 6515: /usr/include/jpeglib.h
taking that
configure:6678: checking for Qt
configure: 6742: /usr/lib/qt3/include/qstyle.h
configure: 6742: /usr/lib/qt3/qstyle.h
configure: 6742: /usr/lib/qt/include/qstyle.h
configure: 6742: /usr/lib/qt/qstyle.h
configure: 6742: /usr/local/qt/include/qstyle.h
configure: 6742: /usr/include/qt/qstyle.h
configure: 6742: /usr/include/qstyle.h
configure: 6742: /usr/X11R6/include/X11/qt/qstyle.h
configure: 6742: /usr/X11R6/include/qt/qstyle.h
configure: 6742: /usr/X11R6/include/qt2/qstyle.h
configure: 6742: /usr/X11R6/include/qstyle.h
tried NO
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
configure:6854: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions -fno-check-new -INO -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib -L/usr/X11R6/lib   conftest.C  -lqt-mt  -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
conftest.C:2:21: qglobal.h: No such file or directory
conftest.C:3:26: qapplication.h: No such file or directory
conftest.C:4:21: qcursor.h: No such file or directory
conftest.C:5:27: qstylefactory.h: No such file or directory
conftest.C:6:34: private/qucomextra_p.h: No such file or directory
conftest.C:8:2: #error 1
conftest.C: In function `int main()':
conftest.C:12: error: `QStyleFactory' undeclared (first use this function)
conftest.C:12: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
conftest.C:12: error: syntax error before `::' token
conftest.C:13: error: `QCursor' undeclared (first use this function)
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 303)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}

Reply to: