trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Re: [trinity-users] ./configure kdebindings - checking if UIC has KDE plugins available... no?

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 02 Feb 2011 09:17:38 -0600
On 02/02/2011 01:07 AM, Robert Xu wrote:
> If I recall correctly (which i usually don't ;P), kdebindings is no
> longer required.
> 
> This error usually pops up when you don't have autoconf <= 2.63
> anyway. Idk if there are cmake scripts for it, I'll have to check svn.
> 

Robert,

	Here is the part of my configure script that is failing. "kde_cv_tqt=no" is set
causing the ./configure to fail. I've looked at ac_fn_cxx_try_link(), but it is
pretty much Greek to me :( The configure script that was generated is available
here if you want to look:

http://www.3111skyline.com/dl/dt/trinity/errors/configure-kdebindings.bz2

	The details of where the error is generated is here:

_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
  eval "kde_cv_tqt=no"
else
  eval "kde_cv_tqt=yes"
fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext
fi
LIBS="$ac_save_LIBS"
CXXFLAGS="$ac_save_CXXFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext
$LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


fi


if eval "test ! \"`echo $kde_cv_tqt`\" = no"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You are attempting to
compile Trinity without the Trinity Qt Interface installed.  Please install
libtqtinterface-dev and try again!" >&5
$as_echo "$as_me: WARNING: You are attempting to compile Trinity without the
Trinity Qt Interface installed.  Please install libtqtinterface-dev and try
again!" >&2;}
  TQTMOC="\$PATH=\$PATH:\$(srcdir)/ moc-tqt"
  LIBTQT_LDFLAGS="-ltqt"

  qtlib="$qtlib $LIBTQT_LDFLAGS"
else

	Thanks.

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