trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2014

FTBFS: new "compton" does not build on older distro

From: Fran├žois Andriot <francois.andriot@...>
Date: Tue, 01 Apr 2014 20:00:01 +0200
Hello,
I've noticed that the new "compton" stuff (from tdebase package) does 
not build on RHEL6 :

Linking C executable compton-tde
cd 
"/dev/shm/BUILD.el6.x86_64/trinity-tdebase-14.0.0~pre1185+8083ca83/build/twin/compton-tde" 
&& /usr/bin/cmake -E cmake_link_script 
CMakeFiles/compton-tde.dir/link.txt --verbose=1
/usr/lib64/ccache/gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 
-mtune=generic -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden 
-DNDEBUG CMakeFiles/compton-tde.dir/c2.c.o 
CMakeFiles/compton-tde.dir/compton.c.o 
CMakeFiles/compton-tde.dir/opengl.c.o  -o compton-tde -rdynamic -lm -lGL 
-lconfig -lXinerama -lXrender -lX11 -lXrandr -lXfixes -lXdamage -lXfixes 
-lXext -lXcomposite -lXdamage -lXext -lXcomposite 
-Wl,-rpath,::::::::::::::::::
CMakeFiles/compton-tde.dir/compton.c.o: In function `parse_config':
/dev/shm/BUILD.el6.x86_64/trinity-tdebase-14.0.0~pre1185+8083ca83/twin/compton-tde/compton.c:5580: 
undefined reference to `config_set_include_dir'
collect2: ld returned 1 exit status
make[3]: *** [twin/compton-tde/compton-tde] Error 1
make[3]: Leaving directory 
`/dev/shm/BUILD.el6.x86_64/trinity-tdebase-14.0.0~pre1185+8083ca83/build'
make[2]: *** [twin/compton-tde/CMakeFiles/compton-tde.dir/all] Error 2
make[2]: Leaving directory 
`/dev/shm/BUILD.el6.x86_64/trinity-tdebase-14.0.0~pre1185+8083ca83/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/dev/shm/BUILD.el6.x86_64/trinity-tdebase-14.0.0~pre1185+8083ca83/build'


The libconfig version is 1.3.2 .
There is no "config_set_include_dir" anywhere in /usr/include/* .
Please, either find a way to build on older distro, or make the whole 
feature optional (with a cmake option).

Thanks
Fran├žois