trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdeutils: Why does it try "Detected TQt4..."

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 14 Mar 2012 19:48:07 -0500
On 03/14/2012 07:35 PM, David C. Rankin wrote:
> On 03/14/2012 07:22 PM, David C. Rankin wrote:
>> Tim, Darrell, all,
>>
>>   I've moved to trying to get tdeutils to build again. Currently I'm attempting
>> to build with:
>>
>>   ## Generate config files and update with autoreconf
>>   cd ${srcdir}/${pkgname#*-}
>>   make -f admin/Makefile.common
>>   autoreconf
>>
>>   ## configure
>>   msg "Configuring - ${pkgname}..."
>>   ./configure \
>>     --prefix=${TDEDIR} \
>>     --with-qt-dir=${QTDIR} \
>>     --with-qt-includes=${QTDIR}/include \
>>     --with-extra-includes="${TDEDIR}include/tqt/Qt" \
>>     --with-qt-libraries=${QTDIR}/lib \
>>     --with-extra-libs=${TDEDIR}/lib/trinity \
>>     --sysconfdir=/etc \
>>     --localstatedir=/var \
>>     --enable-closure
>>
>>   For some reason, the build tries to use Qt4? Where can I work-around this? The
>> error is:
>>


Looking further, there are a number of fatal errors some related to gcc itself.
I don't know if these are the result of a gcc 4.6.3 compatibility or what. Here
are the fatals from config.log. The last one looks like the one that thinks it
is TQt4:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.6.3/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/s
hare/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,
lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-
exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time
--enable-gnu-unique-object --enable-l
inker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold
--enable-ld=default --enable-plugin -
-with-plugin-ld=ld.gold --disable-multilib --disable-libssp
--enable-checking=release
Thread model: posix
gcc version 4.6.3 (GCC)
configure:4223: $? = 0
configure:4212: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4223: $? = 1
configure:4212: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.

configure:5316: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5316: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tdeutils"
| #define VERSION "3.5.10"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

These error repeat for c++ & g++. The we hit Carbon.h errors:

conftest.c:64:27: fatal error: Carbon/Carbon.h: No such file or directory
compilation terminated.
configure:19923: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""

Then CoreAudio.h

configure:19923: result: no
configure:19923: checking for Carbon/Carbon.h
configure:19923: result: no
configure:19935: checking CoreAudio/CoreAudio.h usability
configure:19935: gcc -c -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -O2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security
-Wmissing-format-attribute  conftest.c >&5
conftest.c:64:33: fatal error: CoreAudio/CoreAudio.h: No such file or directory
compilation terminated.
configure:19935: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""

Then crt_externs.h

configure:20654: checking crt_externs.h usability
configure:20654: gcc -c -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -O2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security
-Wmissing-format-attribute  conftest.c >&5
conftest.c:73:25: fatal error: crt_externs.h: No such file or directory
compilation terminated.
configure:20654: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""

Then tqt.h  (this sounds like the big error)

configure:21086: $? = 0
configure:21101: result: yes
configure:21190: g++ -c -I/usr/include/tqt  conftest.cpp >&5
conftest.cpp:44:19: fatal error: tqt.h: No such file or directory
compilation terminated.
configure:21190: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tdeutils"
| #define VERSION "3.5.10"
| #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 KDELIBSUFF ""
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_SGI_STL 1
| #define HAVE_CRYPT 1
| #define kde_socklen_t socklen_t
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_BITYPES_H 1
| #define HAVE_RES_INIT 1
| #define HAVE_RES_INIT 1
| #define HAVE_RES_INIT_PROTO 1
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 8
| #define SIZEOF_CHAR_P 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_UNSIGNED_LONG 8
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h.  */
|
|   #define TQT_VERSION_ONLY
|   #include <tqt.h>
|   #undef TQT_VERSION_ONLY
|   #ifdef USE_QT4
|   choke me
|   #endif
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:21210: result: Detected TQt4...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Bang -- where did this come from??

-- 
David C. Rankin, J.D.,P.E.