you are aware that fedora 15 is dead and unsupported
it went End Of Life on "2012-06-26"
June of 2012
Current fedora is only supporting fedora 17 and 18
and support for 17 ends this July
for fedora 18 opencv is in the base repo
yum install opencv
from any of the ( not many ) still up old repos it is
you will have to FIRST
read the read me and install EVERY needed NEWER version of software
-- fedora 15 is a bit old ---
Fedora does not use the "/usr/local" folder
( it is mostly used by debian OS's -- mostly)
you need to ether make that folder and add it to the system path
or use the fedora default " /usr"
OpenCV-2.4.4a.tar.bz2 2013-03-08 74.6 MB
yum install gtk-devel python-devel numpy ffmpeg ffmpeg-devel
install the rpmfusion repo for libav and libav-devel
make a "build folder NOT IN THE SOURCE FOLDER !!!!!!!! "
cmake will yell and scream at you
but in the same folder that the source folder is in
and use /usr as the install folder