building kdenlive/frei0r from build script fails due to some opencv failure ?

Hello everybody, I'am actually using sabayon 9 and keep trying building kdenlive from build script. Anyway, any time I try it I get the following error message :

./configure: line 15695: syntax error near unexpected token `OPENCV,'
./configure: line 15695: `PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, HAVE_OPENCV=true, true)'
ERROR: Unable to configure frei0r

Can anybody tell me what's going wrong?

Kind regards

André-Frédéric

Do you have pkg-config installed?

Yes, I#ve got pkg-config-1.1.4 installed

Hello,

Almost the same here - debian squeeze -

In file included from filter/cairogradient/cairogradient.c:30:
../include/frei0r_cairo.h: In function 'frei0r_cairo_set_operator':
../include/frei0r_cairo.h:77: error: 'CAIRO_OPERATOR_MULTIPLY' undeclared (first use in this function)
../include/frei0r_cairo.h:77: error: (Each undeclared identifier is reported only once
../include/frei0r_cairo.h:77: error: for each function it appears in.)
../include/frei0r_cairo.h:81: error: 'CAIRO_OPERATOR_SCREEN' undeclared (first use in this function)
../include/frei0r_cairo.h:85: error: 'CAIRO_OPERATOR_OVERLAY' undeclared (first use in this function)
../include/frei0r_cairo.h:89: error: 'CAIRO_OPERATOR_DARKEN' undeclared (first use in this function)
../include/frei0r_cairo.h:93: error: 'CAIRO_OPERATOR_LIGHTEN' undeclared (first use in this function)
../include/frei0r_cairo.h:97: error: 'CAIRO_OPERATOR_COLOR_DODGE' undeclared (first use in this function)
../include/frei0r_cairo.h:101: error: 'CAIRO_OPERATOR_COLOR_BURN' undeclared (first use in this function)
../include/frei0r_cairo.h:105: error: 'CAIRO_OPERATOR_HARD_LIGHT' undeclared (first use in this function)
../include/frei0r_cairo.h:109: error: 'CAIRO_OPERATOR_SOFT_LIGHT' undeclared (first use in this function)
../include/frei0r_cairo.h:113: error: 'CAIRO_OPERATOR_DIFFERENCE' undeclared (first use in this function)
../include/frei0r_cairo.h:117: error: 'CAIRO_OPERATOR_EXCLUSION' undeclared (first use in this function)
../include/frei0r_cairo.h:121: error: 'CAIRO_OPERATOR_HSL_HUE' undeclared (first use in this function)
../include/frei0r_cairo.h:125: error: 'CAIRO_OPERATOR_HSL_SATURATION' undeclared (first use in this function)
../include/frei0r_cairo.h:129: error: 'CAIRO_OPERATOR_HSL_COLOR' undeclared (first use in this function)
../include/frei0r_cairo.h:133: error: 'CAIRO_OPERATOR_HSL_LUMINOSITY' undeclared (first use in this function)
make[1]: *** [cairogradient_la-cairogradient.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -MT cairoimagegrid_la-cairoimagegrid.lo -MD -MP -MF .deps/cairoimagegrid_la-cairoimagegrid.Tpo -c filter/cairoimagegrid/cairoimagegrid.c -fPIC -DPIC -o .libs/cairoimagegrid_la-cairoimagegrid.o
mv -f .deps/value.Tpo .deps/value.Plo
In file included from filter/cairoimagegrid/cairoimagegrid.c:27:
../include/frei0r_cairo.h: In function 'frei0r_cairo_set_operator':
../include/frei0r_cairo.h:63: warning: implicit declaration of function 'strcmp'
../include/frei0r_cairo.h:77: error: 'CAIRO_OPERATOR_MULTIPLY' undeclared (first use in this function)
../include/frei0r_cairo.h:77: error: (Each undeclared identifier is reported only once
../include/frei0r_cairo.h:77: error: for each function it appears in.)
../include/frei0r_cairo.h:81: error: 'CAIRO_OPERATOR_SCREEN' undeclared (first use in this function)
../include/frei0r_cairo.h:85: error: 'CAIRO_OPERATOR_OVERLAY' undeclared (first use in this function)
../include/frei0r_cairo.h:89: error: 'CAIRO_OPERATOR_DARKEN' undeclared (first use in this function)
../include/frei0r_cairo.h:93: error: 'CAIRO_OPERATOR_LIGHTEN' undeclared (first use in this function)
../include/frei0r_cairo.h:97: error: 'CAIRO_OPERATOR_COLOR_DODGE' undeclared (first use in this function)
../include/frei0r_cairo.h:101: error: 'CAIRO_OPERATOR_COLOR_BURN' undeclared (first use in this function)
../include/frei0r_cairo.h:105: error: 'CAIRO_OPERATOR_HARD_LIGHT' undeclared (first use in this function)
../include/frei0r_cairo.h:109: error: 'CAIRO_OPERATOR_SOFT_LIGHT' undeclared (first use in this function)
../include/frei0r_cairo.h:113: error: 'CAIRO_OPERATOR_DIFFERENCE' undeclared (first use in this function)
../include/frei0r_cairo.h:117: error: 'CAIRO_OPERATOR_EXCLUSION' undeclared (first use in this function)
../include/frei0r_cairo.h:121: error: 'CAIRO_OPERATOR_HSL_HUE' undeclared (first use in this function)
../include/frei0r_cairo.h:125: error: 'CAIRO_OPERATOR_HSL_SATURATION' undeclared (first use in this function)
../include/frei0r_cairo.h:129: error: 'CAIRO_OPERATOR_HSL_COLOR' undeclared (first use in this function)
../include/frei0r_cairo.h:133: error: 'CAIRO_OPERATOR_HSL_LUMINOSITY' undeclared (first use in this function)
mv -f .deps/timeout.Tpo .deps/timeout.Plo
make[1]: *** [cairoimagegrid_la-cairoimagegrid.lo] Error 1
mv -f .deps/twolay0r.Tpo .deps/twolay0r.Plo
mv -f .deps/vignette.Tpo .deps/vignette.Plo
mv -f .deps/xfade0r.Tpo .deps/xfade0r.Plo
mv -f .deps/vectorscope_la-vectorscope.Tpo .deps/vectorscope_la-vectorscope.Plo
mv -f .deps/rgbparade_la-rgbparade.Tpo .deps/rgbparade_la-rgbparade.Plo
make[1]: Leaving directory `/home/durden/kdenlive_2013_01_29/src/frei0r/src'
make: *** [all-recursive] Error 1
ERROR: Unable to build frei0r
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build frei0r

i'm trying to add some cairo relatives package, no success until now....

By the way, is there any way to have lastest version (stable) of Kdenlive on debian without using the build script ? Which surely use constant development code.

Last working build i did with the script is 2012_11_23. No troubles with this version.

Best.

Pages