trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2015

Re: [trinity-users] can not compile tdelibs-14.0.0

From: Slávek Banko <slavek.banko@...>
Date: Sat, 4 Apr 2015 16:02:09 +0200
On Friday 03 of April 2015 21:25:08 Kai Wüst wrote:
> On 04/03/2015 01:36 AM, Slávek Banko wrote:
> > On Thursday 02 of April 2015 22:24:38 Kai Wüst wrote:
> >> (as requested by lizi)
> >> (sorry for spamming)
> >>
> >>
> >> hi list,
> >> i am using an overlay for gentoo:
> >> https://bitbucket.org/mgebert/gentoo-trinity and i am stuck compiling
> >> tdelibs.
> >>
> >> the only error given is
> >>
> >> /usr/bin/x86_64-pc-linux-gnu-ranlib libtdehtmlrender.a
> >> make[2]: Leaving directory
> >> '/var/tmp/portage/trinity-base/tdelibs-14.0.0/work/tdelibs-14.0.0_build'
> >> /usr/bin/cmake -E cmake_progress_report
> >> /var/tmp/portage/trinity-base/tdelibs-14.0.0/work/tdelibs-14.0.0_build/C
> >>Mak eFiles 45 46 [ 26%] Built target tdehtmlrender-static
> >> make[1]: Leaving directory
> >> '/var/tmp/portage/trinity-base/tdelibs-14.0.0/work/tdelibs-14.0.0_build'
> >> Makefile:116: recipe for target 'all' failed
> >> make: *** [all] Error 2
> >> * ERROR: trinity-base/tdelibs-14.0.0::trinity failed (compile phase):
> >> * emake failed
> >> *
> >>
> >> does anyone know whats wrong here?
> >>
> >> tia
> >> k
> >
> > You can send the complete buildlog or at least a little bit bigger part?
> > Because the error is somewhere above.
>
> this is the complete build.log

Well, this helped. The error is in fact here:

CMakeFiles/keramik-module.dir/keramik.cpp.o: In function 
`KeramikStyle::objectEventHandler(TQStyleControlElementData const&, 
TQStyle::ControlElementFlags, void*, TQEvent*)':
keramik.cpp:(.text+0xc27b): undefined reference to `XShapeCombineRectangles'
collect2: error: ld returned 1 exit status
tdestyles/keramik/CMakeFiles/keramik-module.dir/build.make:178: recipe for 
target 'tdestyles/keramik/keramik.so' failed

The problem is caused because you build with option WITH_XCOMPOSITE=OFF and 
test for Xext in this case is not performed, although it is necessary. I 
filled out an bug report 2410 and added a patch. Please, test it.

See: http://bugs.pearsoncomputing.net/show_bug.cgi?id=2410

-- 
Slávek