trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] Difference between: gtk-qt-engine & gtk3-tqt-engine

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 25 Jan 2014 23:49:14 -0600
On 01/25/2014 08:56 PM, David C. Rankin wrote:
> On 01/25/2014 01:30 PM, Darrell Anderson wrote:
>>>  Anybody have both installed currently?
>>
>> Please share your configuration options in your gtk3-tqt-engine 
>> build script. I never have been able to build the package. The 
>> build always fails with this error:
>>
>> gcc: error: /tde: No such file or directory
>>
>> I believe the problem is in gtk3-tqt-engine/tdegtk/Makefile.am:1
>>
>> INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde
>>
>> I believe $(KDE_INCLUDES) is never defined.
>>
>> Darrell
>>
> 
> It took a while. The autotools files are totally FUBAR. They will not find any
> -I or -L in standard places, so I just had to repeatedly build it -- have it
> fail -- add that -L/-I to CXXFLAGS (and repeat..) What finally worked was:
> 
> 
>   CXXFLAGS="${CXXFLAGS} -L${QTDIR}/lib -L${TDEDIR}/lib -L${TDEDIR}/lib/trinity" \
>   ./configure \
>     --prefix=${TDEDIR} \
>     --with-qt-dir=${QTDIR} \
>     --with-qt-includes=${QTDIR}/include \
>     --with-qt-libraries=${QTDIR}/lib \
> 
> --with-extra-includes="/usr/include/pango-1.0/:/usr/include/gtk-3.0/gdk/:/usr/include/gtk-3.0/:/usr/include/tqt:/usr/include/tqt/Qt"
> \
>     --with-extra-libs="${QTDIR}/lib:${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
>     --sysconfdir=${TDEDIR}/etc \
>     --localstatedir=/var
> 

I guess throwing out the unneeded configure options that doen't work anyway, it
looks like this:

  CXXFLAGS="${CXXFLAGS} \
-L${QTDIR}/lib \
-L${TDEDIR}/lib \
-L${TDEDIR}/lib/trinity" \
  ./configure \
    --prefix=${TDEDIR} \
    --with-qt-dir=${QTDIR} \
    --with-qt-includes=${QTDIR}/include \
    --with-qt-libraries=${QTDIR}/lib \
    --with-extra-includes="/usr/include/pango-1.0/:\
/usr/include/gtk-3.0/gdk/:\
/usr/include/gtk-3.0/:\
/usr/include/tqt:\
/usr/include/tqt/Qt" \
    --sysconfdir=${TDEDIR}/etc \
    --localstatedir=/var

  make $NUMJOBS


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