[NTLUG:Discuss] Re: configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Terry
trryhend at gmail.com
Wed Feb 9 12:05:17 CST 2005
02/09/05 11:48:59 Installed: gcc-c++ 3.3.2-1.i386
02/09/05 11:48:59 Dep Installed: libstdc++-devel 3.3.2-1.i386
02/09/05 12:04:49 Installed: XFree86-devel 4.3.0-55.i386
02/09/05 12:04:49 Dep Installed: pkgconfig 1:0.14.0-6.i386
02/09/05 12:04:49 Dep Installed: fontconfig-devel 2.2.1-6.1.i386
02/09/05 12:04:49 Dep Installed: freetype-devel 2.1.4-5.i386
02/09/05 12:17:18 Installed: qt-devel 1:3.1.2-14.2.i386
02/09/05 12:34:53 Installed: qt-designer 1:3.1.2-14.2.i386
Now it's saying:
configure:21279: error: Qt (>= Qt 3.0.2) (headers and libraries) not
found. Please check your installation!
Last part of config.log follows:
==========================
configure:20868: result: no
configure: 20891: /usr/include/jpeglib.h
configure: 20891: /usr/local/include/jpeglib.h
configure:20923: WARNING: libjpeg not found. disable JPEG support.
configure:21059: checking for Qt
configure: 21126: /usr/lib/qt3/include/qstyle.h
configure: 21126: /usr/lib/qt3/qstyle.h
configure: 21126: /usr/lib/qt/include/qstyle.h
configure: 21126: /usr/lib/qt/qstyle.h
configure: 21126: /usr/local/qt/include/qstyle.h
configure: 21126: /usr/include/qt/qstyle.h
configure: 21126: /usr/include/qstyle.h
configure: 21126: /usr/X11R6/include/X11/qt/qstyle.h
configure: 21126: /usr/X11R6/include/qt/qstyle.h
configure: 21126: /usr/X11R6/include/qt2/qstyle.h
configure: 21126: /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
tried /usr/lib
tried /usr/local/qt/lib
tried /usr/X11R6/lib
configure:21236: rm -rf SunWS_cache; g++ -o conftest -O2
-fno-exceptions -fno-check-new -INO -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -LNONE -L/usr/X11R6/lib
conftest.cc -lqt-mt -ldl -lXext -lX11 -lSM -lICE -lresolv
-lpthread 1>&5
conftest.cc:2:21: qglobal.h: No such file or directory
conftest.cc:3:26: qapplication.h: No such file or directory
conftest.cc:4:21: qcursor.h: No such file or directory
conftest.cc:5:27: qstylefactory.h: No such file or directory
conftest.cc:6:34: private/qucomextra_p.h: No such file or directory
conftest.cc:8:2: #error 1
conftest.cc: In function `int main()':
conftest.cc:12: error: `QStyleFactory' undeclared (first use this function)
conftest.cc:12: error: (Each undeclared identifier is reported only once for
each function it appears in.)
conftest.cc:12: error: syntax error before `::' token
conftest.cc:13: error: `QCursor' undeclared (first use this function)
configure:21239: $? = 1
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 >= 302)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:21279: error: Qt (>= Qt 3.0.2) (headers and libraries) not
found. Please check your installation!
For more details about this problem, look at the end of config.log.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
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_CXXCPP_set=
ac_cv_env_CXXCPP_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_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_exeext=
ac_cv_func_connect=yes
ac_cv_func_inet_ntoa=yes
ac_cv_func_remove=yes
ac_cv_func_res_init=no
ac_cv_func_shmat=yes
ac_cv_have_dlfcn=yes
ac_cv_have_qt=have_qt=no
ac_cv_have_xinerama=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_compat_main=no
ac_cv_lib_crypt_crypt=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_dld_shl_unload=no
ac_cv_lib_dnet_dnet_ntoa=no
ac_cv_lib_dnet_stub_dnet_ntoa=no
ac_cv_lib_jpeg_6b=no
ac_cv_lib_jpeg_normal=no
ac_cv_lib_png=no
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_ucb_killpg=no
ac_cv_lib_util_main=yes
ac_cv_lib_z=-lz
ac_cv_objext=o
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_char=1
ac_cv_sizeof_char_p=4
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_socklen_t=socklen_t
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
ac_cv_type_char=yes
ac_cv_type_char_p=yes
ac_cv_type_int=yes
ac_cv_type_long=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
kde_cv_have_libXext=yes
kde_cv_have_x='have_x=yes kde_x_includes=/usr/X11R6/include
kde_x_libraries=/usr/X11R6/lib'
kde_cv_prog_cxx_fexceptions=yes
kde_cv_prog_cxx_fno_check_new=yes
kde_cv_prog_cxx_fno_exceptions=yes
kde_cv_prog_cxx_frepo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.3.2.so'
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_GCJ=no
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
]\([ABCDGISTW][ABCDGISTW]*\)[ ][
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^
]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\)
\([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern
int \1;/p'\'''
lt_cv_sys_max_cmd_len=32768
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_prog_compiler_c_o_GCJ='"no"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[
]\\([ABCDGISTW][ABCDGISTW]*\\)[ ][
]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^:
\\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST]
\\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .*
\\(.*\\)\$/extern int \\1;/p'\''"'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "kwifimanager"
#define VERSION "1.0.2"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define HAVE_TEMPLATE_REPOSITORY 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define HAVE_CRYPT 1
#define ksize_t socklen_t
#define HAVE_RES_INIT 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_CHAR_P 4
#define SIZEOF_CHAR 1
#define HAVE_LIBZ 1
#define HAVE_LIBPTHREAD 1
configure: exit 1
More information about the Discuss
mailing list