trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Building tqtinterface with cmake fails

From: Darrell Anderson <humanreadable@...>
Date: Sun, 6 Mar 2011 13:55:05 -0800 (PST)
I got qt patched to 3.3.8c and installed. :)

Now I'm trying to update my tqtinterface build script to build with cmake because there is no admin directory in the tqtinterface source tree. IF tqtinterface can still be built with autoconf then somebody please explain. :)

The build with cmake fails.

I hope I am correctly following the directions at the wiki. Here are the relative snippets from my build script:

================================
PRGNAM=tqtinterface
TMP=${TMP:-/tmp}
...
  cmake ${TMP}/${PRGNAM} \
    -DCMAKE_INSTALL_PREFIX=${PREFIX} \
    -DCMAKE_VERBOSE_MAKEFILE=ON \
    -DWITH_QT3=ON \
    -DQTDIR=$QTDIR \
    -DQT_LIBRARY_DIRS=${QTDIR}/lib \
    -DBUILD_ALL=ON
  make VERBOSE=1
================================

I am building in $TMP and not the svn source tree.

I am at svn 1223991.

I receive the following cmake error output:

================================
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for 'Qt'
-- Performing Test HAVE_PATCHED_QT3
-- Performing Test HAVE_PATCHED_QT3 - Success
CMake Error at cmake/modules/TDEMacros.cmake:1051 (unset):
  Unknown CMake command "unset".
Call Stack (most recent call first):
  cmake/modules/FindQt.cmake:96 (tde_restore)
  CMakeLists.txt:39 (find_package)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
================================

Darrell