aRts won't configure, can't find qt libraries?

Andrew lfs.build at ntlworld.com
Wed May 7 15:00:47 BST 2003


qt is fussy enough to get on, but I have a version 3.1.2 resting in 
/opt/qt-3.1.2. I have followed the blfs book CVS-2003-04-17 instructions 
rather than qt's prompts and made the links:

For the benefit of the people on the KDE list qt is configured thus: 

./configure -prefix /opt/qt-3.1.2 -qt-gif -system-libpng \
   -system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
   -thread &&
make &&
make install &&
ln -sfn /opt/qt-3.1.2 /opt/qt &&
ln -s /opt/qt/lib/libqt-mt.so /opt/qt/lib/libqt.so &&
cp -r doc/man /opt/qt/doc &&
cp -r examples /opt/qt/doc

arts is to be configured using (for arts 1.1)

./configure --prefix=/opt/kde-3.1 --disable-debug \
     --disable-dependency-tracking &&
make &&
make install &&
ln -sfn /opt/kde-3.1 /opt/kde

Whether I go with KDE 3 or 3.1, arts version changes from v 1.0.0 to v 1.1 
and the KDE prefix is changed to suit, I'll live with that.

Either way the configure instruction stops at the same place everytime, no 
matter how I build or what version of qt, 3.1.1 or 3.1.2, is built.

[root at suse /usr/src/arts-1.0.0]# ./configure --prefix=/opt/kde-3.0 
--disable-debug --disable-dependency-tracking
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
.....
checking if Qt compiles without flags... no
checking if STL implementation is SGI like... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... yes
checking for sys/time.h... yes
....
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: 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.
[root at suse /usr/src/arts-1.0.0]#

No matter whether I compile it as a chroot user in SuSE or from the LFS 
booted system itself, or what versions of qt or aRts i use, I get the same 
stopping point.

Can I get KDE 3 on or can somebody point me to a KDE 2 source?

Andrew



-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ./configure --prefix=/opt/kde-3.0 --disable-debug --disable-dependency-tracking



;
}
configure:19523: result: no
configure:19526: checking for libjpeg
configure:19569: gcc -o conftest -DNDEBUG -O2   -I/usr/X11R6/include   -D_REENTRANT  conftest.c -L/usr/X11R6/lib  -ljpeg -lm >&5
configure:19572: $? = 0
configure:19575: test -s conftest
configure:19578: $? = 0
configure:19594: result: -ljpeg
configure: 19613: /usr/include/jpeglib.h
taking that
configure:19766: checking for Qt
configure: 19828: /usr/lib/qt3/include/qstyle.h
configure: 19828: /usr/lib/qt3/qstyle.h
configure: 19828: /usr/lib/qt/include/qstyle.h
configure: 19828: /usr/lib/qt/qstyle.h
configure: 19828: /usr/local/qt/include/qstyle.h
configure: 19828: /usr/include/qt/qstyle.h
configure: 19828: /usr/include/qstyle.h
configure: 19828: /usr/X11R6/include/X11/qt/qstyle.h
configure: 19828: /usr/X11R6/include/qt/qstyle.h
configure: 19828: /usr/X11R6/include/qt2/qstyle.h
configure: 19828: /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:19933: rm -rf SunWS_cache; g++ -o conftest -DNDEBUG -DNO_DEBUG -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 -lpng -lz -lm -ljpeg -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: `QStyleFactory' undeclared (first use this function)
conftest.cc:12: (Each undeclared identifier is reported only once for each 
   function it appears in.)
conftest.cc:12: parse error before `::' token
conftest.cc:13: `QCursor' undeclared (first use this function)
configure:19936: $? = 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:19975: 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_func_connect=yes
ac_cv_func_dlopen=no
ac_cv_func_inet_ntoa=yes
ac_cv_func_remove=yes
ac_cv_func_res_init=no
ac_cv_func_shl_load=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_dirent_dirent_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fam_h=no
ac_cv_header_fcntl_h=yes
ac_cv_header_fnmatch_h=yes
ac_cv_header_fstab_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_linux_socket_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_mntent_h=yes
ac_cv_header_monetary_h=yes
ac_cv_header_paths_h=yes
ac_cv_header_sigaction_h=no
ac_cv_header_socketbits_h=no
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_cdefs_h=yes
ac_cv_header_sys_mnttab_h=no
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_soundcard_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sysent_h=no
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_dir_opendir=no
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_dld_shl_load=no
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=-ljpeg
ac_cv_lib_png='-lpng -lz -lm'
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_install='/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=none
am_cv_CXX_dependencies_compiler_type=none
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
kde_cv_qt_direct=no
kde_cv_stl_type_sgi=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_dlopen=dlopen
lt_cv_dlopen_libs=-ldl
lt_cv_dlopen_self=yes
lt_cv_dlopen_self_static=yes
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.2.5.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=yes
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 "arts"
#define VERSION "1.0.0"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define HAVE_TEMPLATE_REPOSITORY 1
#define HAVE_DLFCN_H 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_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_SGI_STL 1
#define HAVE_DIRENT_H 1
#define STDC_HEADERS 1
#define HAVE_FCNTL_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_LINUX_SOCKET_H 1
#define HAVE_PATHS_H 1
#define HAVE_MALLOC_H 1
#define HAVE_MONETARY_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_LIMITS_H 1
#define HAVE_MNTENT_H 1
#define HAVE_FSTAB_H 1
#define HAVE_SYS_SOUNDCARD_H 1
#define HAVE_LIBZ 1
#define HAVE_LIBPNG 1
#define HAVE_LIBJPEG 1
#define HAVE_LIBPTHREAD 1


configure: exit 1



More information about the kde mailing list