参见stackoverflow http://stackoverflow.com/questions/11470217/compile-opencv-2-4-2-for-debian-lenny 需要更新一下cmake编译器为新版本即可成功编译