To finish I used ‘c’ to create settings and ‘g’ to generate setup files. Now ‘make’ and ‘make install’ did their job (it took 10 minutes to compile). In ‘~/bin’ I saw ‘opencv_createsamples’ which shows that openCV built ok.

Finally I copied the build directory’s lib/cv.so to ‘~/lib/’ and then in python2.5 I tried ‘import cv’ and it worked. In the build directory’s ‘~/bin’ I ran ‘./cxcoretest’ and all tests passed.