Subject: | fails to build with opencv 2.2.0 |
cpanm (App::cpanminus) 1.1005 on perl 5.012002 built for
darwin-thread-multi-2level
Work directory is /var/root/.cpanm/work/1292439180.64015
You have make /usr/bin/make
You have LWP 5.837
You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2
You have /usr/bin/unzip
Searching Image::ObjectDetect on cpanmetadb ...
--> Working on Image::ObjectDetect
Fetching
http://search.cpan.org/CPAN/authors/id/J/JI/JIRO/Image-ObjectDetect-0.11.tar.gz
-> OK
Unpacking Image-ObjectDetect-0.11.tar.gz
Entering Image-ObjectDetect-0.11
Configuring Image-ObjectDetect-0.11
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Image::ObjectDetect
-> OK
Finding PREREQ from Makefile ...
Checking if you have Test::More 0.32 ... Yes (0.96)
Building and testing Image-ObjectDetect-0.11
cp lib/Image/ObjectDetect.pm blib/lib/Image/ObjectDetect.pm
cp lib/Image/ObjectDetect.xs blib/lib/Image/ObjectDetect.xs
/opt/local/bin/perl /opt/local/lib/perl5/5.12.2/ExtUtils/xsubpp
-typemap /opt/local/lib/perl5/5.12.2/ExtUtils/typemap ObjectDetect.xs >
ObjectDetect.xsc && mv ObjectDetect.xsc ObjectDetect.c
/usr/bin/gcc-4.2 -c -I/opt/local/include/opencv -I/opt/local/include
-Isrc -I/opt/local/include/opencv -I/opt/local/include -O3
-DVERSION=\"0.11\" -DXS_VERSION=\"0.11\"
"-I/opt/local/lib/perl5/5.12.2/darwin-thread-multi-2level/CORE"
ObjectDetect.c
ObjectDetect.xs: In function 'XS_Image__ObjectDetect_xs_detect':
ObjectDetect.xs:57: error: too few arguments to function
'cvHaarDetectObjects'
make: *** [ObjectDetect.o] Error 1