Hi,
Configure command of valkyrie fails with Qt related error.It seems configure
command unable to detect the Qt sdk installed on my machine.
Qt 4.5.3 sdk installed in /opt/qtsdk-2009.04/qt and valgrind-3.4.1-Debian
installed on the Ubuntu machine.Is it required to define Qt environment
variables so that valkyrie identifies the installed Qt.?
configure.log is attached.
-Suresh.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Valkyrie configure 1.4.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = jackalope
uname -m = i686
uname -r = 2.6.28-16-generic
uname -s = Linux
uname -v = #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1827: checking for a BSD-compatible install
configure:1883: result: /usr/bin/install -c
configure:1894: checking whether build environment is sane
configure:1937: result: yes
configure:1965: checking for a thread-safe mkdir -p
configure:2004: result: /bin/mkdir -p
configure:2017: checking for gawk
configure:2047: result: no
configure:2017: checking for mawk
configure:2033: found /usr/bin/mawk
configure:2044: result: mawk
configure:2055: checking whether make sets $(MAKE)
configure:2076: result: yes
configure:2284: checking for style of include used by make
configure:2312: result: GNU
configure:2392: checking for g++
configure:2408: found /usr/bin/g++
configure:2419: result: g++
configure:2450: checking for C++ compiler version
configure:2457: g++ --version >&5
g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2460: $? = 0
configure:2467: g++ -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
configure:2470: $? = 0
configure:2477: g++ -V >&5
g++: '-V' option must have argument
configure:2480: $? = 1
configure:2503: checking for C++ compiler default output file name
configure:2530: g++ conftest.cpp >&5
configure:2533: $? = 0
configure:2571: result: a.out
configure:2588: checking whether the C++ compiler works
configure:2598: ./a.out
configure:2601: $? = 0
configure:2618: result: yes
configure:2625: checking whether we are cross compiling
configure:2627: result: no
configure:2630: checking for suffix of executables
configure:2637: g++ -o conftest conftest.cpp >&5
configure:2640: $? = 0
configure:2664: result:
configure:2670: checking for suffix of object files
configure:2696: g++ -c conftest.cpp >&5
configure:2699: $? = 0
configure:2722: result: o
configure:2726: checking whether we are using the GNU C++ compiler
configure:2755: g++ -c conftest.cpp >&5
configure:2761: $? = 0
configure:2778: result: yes
configure:2783: checking whether g++ accepts -g
configure:2813: g++ -c -g conftest.cpp >&5
configure:2819: $? = 0
configure:2918: result: yes
configure:2943: checking dependency style of g++
configure:3034: result: gcc3
configure:3097: checking for gcc
configure:3113: found /usr/bin/gcc
configure:3124: result: gcc
configure:3362: checking for C compiler version
configure:3369: gcc --version >&5
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3372: $? = 0
configure:3379: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
configure:3382: $? = 0
configure:3389: gcc -V >&5
gcc: '-V' option must have argument
configure:3392: $? = 1
configure:3395: checking whether we are using the GNU C compiler
configure:3424: gcc -c conftest.c >&5
configure:3430: $? = 0
configure:3447: result: yes
configure:3452: checking whether gcc accepts -g
configure:3482: gcc -c -g conftest.c >&5
configure:3488: $? = 0
configure:3587: result: yes
configure:3604: checking for gcc option to accept ISO C89
configure:3678: gcc -c -g -O2 conftest.c >&5
configure:3684: $? = 0
configure:3707: result: none needed
configure:3727: checking dependency style of gcc
configure:3818: result: gcc3
configure:3839: checking how to run the C preprocessor
configure:3879: gcc -E conftest.c
configure:3885: $? = 0
configure:3916: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3922: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Valkyrie"
| #define PACKAGE_TARNAME "valkyrie"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "Valkyrie 1.4.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "valkyrie"
| #define VERSION "1.4.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3955: result: gcc -E
configure:3984: gcc -E conftest.c
configure:3990: $? = 0
configure:4021: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4027: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Valkyrie"
| #define PACKAGE_TARNAME "valkyrie"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "Valkyrie 1.4.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "valkyrie"
| #define VERSION "1.4.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4065: checking for X
configure:4180: gcc -E conftest.c
configure:4186: $? = 0
configure:4235: gcc -o conftest -g -O2 conftest.c -lX11 >&5
configure:4241: $? = 0
configure:4300: result: libraries , headers
configure:4461: gcc -o conftest -g -O2 conftest.c -lX11 >&5
configure:4467: $? = 0
configure:4624: checking for gethostbyname
configure:4680: gcc -o conftest -g -O2 conftest.c >&5
configure:4686: $? = 0
configure:4703: result: yes
configure:4848: checking for connect
configure:4904: gcc -o conftest -g -O2 conftest.c >&5
configure:4910: $? = 0
configure:4927: result: yes
configure:4999: checking for remove
configure:5055: gcc -o conftest -g -O2 conftest.c >&5
configure:5061: $? = 0
configure:5078: result: yes
configure:5150: checking for shmat
configure:5206: gcc -o conftest -g -O2 conftest.c >&5
configure:5212: $? = 0
configure:5229: result: yes
configure:5310: checking for IceConnectionNumber in -lICE
configure:5345: gcc -o conftest -g -O2 conftest.c -lICE >&5
configure:5351: $? = 0
configure:5369: result: yes
configure:5384: checking for Qt
configure:5588: gcc -o conftest -g -O2 conftest.c -lqt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi >&5
conftest.c:10:26: error: qapplication.h: No such file or directory
conftest.c: In function 'main':
conftest.c:17: error: 'QApplication' undeclared (first use in this function)
conftest.c:17: error: (Each undeclared identifier is reported only once
conftest.c:17: error: for each function it appears in.)
conftest.c:17: error: expected ';' before 'app'
configure:5594: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Valkyrie"
| #define PACKAGE_TARNAME "valkyrie"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "Valkyrie 1.4.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "valkyrie"
| #define VERSION "1.4.0"
| /* end confdefs.h. */
| #include <qapplication.h>
| int
| main ()
| {
|
| int argc;
| char ** argv;
| QApplication app(argc,argv);
|
| ;
| return 0;
| }
Non-critical error, please neglect the above.
configure:5635: gcc -o conftest -g -O2 conftest.c -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi >&5
conftest.c:10:26: error: qapplication.h: No such file or directory
conftest.c: In function 'main':
conftest.c:17: error: 'QApplication' undeclared (first use in this function)
conftest.c:17: error: (Each undeclared identifier is reported only once
conftest.c:17: error: for each function it appears in.)
conftest.c:17: error: expected ';' before 'app'
configure:5641: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Valkyrie"
| #define PACKAGE_TARNAME "valkyrie"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "Valkyrie 1.4.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "valkyrie"
| #define VERSION "1.4.0"
| /* end confdefs.h. */
| #include <qapplication.h>
| int
| main ()
| {
|
| int argc;
| char ** argv;
| QApplication app(argc,argv);
|
| ;
| return 0;
| }
Non-critical error, please neglect the above.
configure:5682: gcc -o conftest -g -O2 conftest.c -lqt-gl -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi >&5
conftest.c:10:26: error: qapplication.h: No such file or directory
conftest.c: In function 'main':
conftest.c:17: error: 'QApplication' undeclared (first use in this function)
conftest.c:17: error: (Each undeclared identifier is reported only once
conftest.c:17: error: for each function it appears in.)
conftest.c:17: error: expected ';' before 'app'
configure:5688: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Valkyrie"
| #define PACKAGE_TARNAME "valkyrie"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "Valkyrie 1.4.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "valkyrie"
| #define VERSION "1.4.0"
| /* end confdefs.h. */
| #include <qapplication.h>
| int
| main ()
| {
|
| int argc;
| char ** argv;
| QApplication app(argc,argv);
|
| ;
| return 0;
| }
Non-critical error, please neglect the above.
configure:5754: gcc -o conftest -g -O2 conftest.c -lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi >&5
conftest.c:10:26: error: qapplication.h: No such file or directory
conftest.c: In function 'main':
conftest.c:17: error: 'QApplication' undeclared (first use in this function)
conftest.c:17: error: (Each undeclared identifier is reported only once
conftest.c:17: error: for each function it appears in.)
conftest.c:17: error: expected ';' before 'app'
configure:5760: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Valkyrie"
| #define PACKAGE_TARNAME "valkyrie"
| #define PACKAGE_VERSION "1.4.0"
| #define PACKAGE_STRING "Valkyrie 1.4.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "valkyrie"
| #define VERSION "1.4.0"
| /* end confdefs.h. */
| #include <qapplication.h>
| int
| main ()
| {
|
| int argc;
| char ** argv;
| QApplication app(argc,argv);
|
| ;
| return 0;
| }
configure:5877: result: no
configure:5988: error: Cannot build without QT.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_connect=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_remove=yes
ac_cv_func_shmat=yes
ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\'''\'''
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
bnv_cv_have_qt=have_qt=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/missing --run aclocal-1.10'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/missing --run tar'
AUTOCONF='${SHELL} /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/missing --run automake-1.10'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/missing --run makeinfo'
OBJEXT='o'
PACKAGE='valkyrie'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='Valkyrie'
PACKAGE_STRING='Valkyrie 1.4.0'
PACKAGE_TARNAME='valkyrie'
PACKAGE_VERSION='1.4.0'
PATH_SEPARATOR=':'
PERL=''
QT_CXXFLAGS=''
QT_DIR=''
QT_LIBS=''
QT_MOC=''
QT_UIC=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VALGRIND=''
VERSION='1.4.0'
VK_EDITOR=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=' -lSM -lICE'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/manchi/CppProjects/valgrind/valkyrie-1.4.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "Valkyrie"
#define PACKAGE_TARNAME "valkyrie"
#define PACKAGE_VERSION "1.4.0"
#define PACKAGE_STRING "Valkyrie 1.4.0"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE "valkyrie"
#define VERSION "1.4.0"
configure: exit 1
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users