trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2016

Re: [trinity-users] TDEMacro missing while compiling tqtinterface

From: "Diego M. Vadell" <dvadell@...>
Date: Sat, 21 May 2016 22:24:51 -0300

On Saturday 21 May 2016 21:26:22 Slávek Banko wrote:
> On Sunday 22 of May 2016 01:35:49 Diego M. Vadell wrote:
> > Hi,
> >
> >     I was compiling trinity from git. First TQT, and now I have a problem
> > with tqtinterface:
> >
> >
> > CMake Error at CMakeLists.txt:27 (include):
> >   include could not find load file:
> >
> >     TDEMacros
> >
> >
> > CMake Error at ConfigureChecks.cmake:25 (tde_message_fatal):
> >   Unknown CMake command "tde_message_fatal".
> > Call Stack (most recent call first):
> >   CMakeLists.txt:29 (include)
> >
> >
> > -- Configuring incomplete, errors occurred!
> >
> >
> >
> >
> >
> >     The variables are taken from the "How to Build TDE Core Modules" in
> > the official documentation, only that the prefix is /opt/trinity-v4.
> >
> > export PREFIX=/opt/trinity-v4
> > export SYSCONFDIR=/etc/trinity
> > export LIBDIR=/opt/trinity-v4/lib
> > export MANDIR=/opt/trinity-v4/man
> > export QTDIR=/opt/trinity-v4/lib/qt3-3.3.8.d
> > export PATH=/opt/trinity-v4/qt3-3.3.8.d/bin:/opt/trinity-v4/bin:$PATH
> > export
> > LD_LIBRARY_PATH=/opt/trinity-v4/lib:/opt/trinity-v4/lib/trinity-v4:
> > $LD_LIBRARY_PATH
> > export
> > PKG_CONFIG_PATH=:/opt/trinity-v4/lib/pkgconfig:/opt/trinity-v4/qt3-3.3.8.
> >d/ lib/pkgconfig: $PKG_CONFIG_PATH
> > export DEBUG_CMAKE_OPT=""
> >
> > cmake ../../tqtinterface/ \
> >    -DCMAKE_C_FLAGS:STRING="$CPUOPTIONS" \
> >    -DCMAKE_CXX_FLAGS:STRING="$CPUOPTIONS $DEBUG_CMAKE_OPT" \
> >    -DCMAKE_INSTALL_PREFIX=${PREFIX} \
> >    -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \
> >    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
> >    -DMAN_INSTALL_DIR=${MANDIR} \
> >    -DBUILD_ALL=ON
> >
> >     I cant find any TDEMacro file, or *TDEMacro*. What's TDEMacro or how
> > do I fix it?
> >
> > Cheers
> >  -- Diego.
>
> If you have it cloned from git, it is necessary to also activate the
> sub-modules. For example:
>
>   git clone http://mirror.git.trinitydesktop.org/cgit/tqtinterface
>   cd tqtinterface
>   git submodule init
>   git submodule update
>
> Note: tarballs downloaded from the git interface sadly not contain
> submodules. This is normal git behavior.

Thanks Slávek. It worked now, and I have just found the wiki page with that 
info. Sorry for not reading the documentation thoroughly.

Cheers!